New answers tagged dapp-development
0
votes
How to sort off-chain
There are several possible approaches for making the data available to the backend:
Using events. Events are cheaper, but the contract cannot access the data to validate so you have to solve that ...
1
vote
How to mint NFT using ethers.js?
First, make sure that the contract address is right.
Next, try removing gasPrice, gasLimit and nonce from your transaction and let Metamask calculate those for you.
Just try to execute the transaction ...
0
votes
Accepted
How to implement a custom token in a seperate contract
First, you need to modify the constructor in Governance.sol
constructor(address nativeToken) {
_token = ERC20Basic(nativeToken);
contractBalance = _token.balanceOf(address(this));
...
Top 50 recent answers are included
Related Tags
dapp-development × 748dapps × 218
solidity × 177
web3js × 160
contract-development × 112
go-ethereum × 66
truffle × 57
metamask × 56
ethereum-wallet-dapp × 54
blockchain × 46
contract-design × 44
javascript × 38
dapp-design × 37
ether × 27
tokens × 26
contract-deployment × 25
react × 23
transactions × 20
events × 19
security × 18
wallets × 16
ethereumjs × 16
contract-debugging × 15
remix × 14
erc-20 × 14