solidity tag

5 questions


1 answers
89 views
0
What role does the Solidity constructor play?

I can't tell the difference between test_1 and test_2. (If you create a function that calls testMessage, they both work the same way.) contract test_1 { US>//#string testMessage=Hello, world!;}contrac...

2 years ago

1 answers
92 views
0
I want to move the Solidity ERC20 token from one third party to another, but I get an error.

Me: AERC20 tokens:CoinERC20 tokens:FundDeployer for both tokens is the same account: Zcounterpart:BI want to move the same amount of Coin from Z to B when A burns the FundIf you send thank you from A ...

2 years ago

1 answers
97 views
0
How do I compile a two-class solidity in the same file in a py-solc-x using Smartcontract?

Until now, I used Remix or Truffle to deploy SmartContract.I decided to use py-solc-x because I wished I could deploy it on Python.I couldn't solve the problem, so I would like to ask for your help th...

2 years ago

2 answers
133 views
0
How can I return the mapped list when writing Ethereum Contract?

I am working on a very simple smart contract that can save the value and get it back as a list. The code is as below.contract lister { mapping(int => string) list; int id = 0; function getList() re...

2 years ago

1 answers
71 views
0
Questions about handling user files in Ethereum DApps.

I'm making Ethereum DApp now. DApp is made up of users who have relevant data, such as email, name, or profile picture. I want to store user information within IPFS like JSON object and use IPFS hash ...


© 2024 OneMinuteCode. All rights reserved.