New answers tagged

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 ...
user avatar
  • 29.6k
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 ...
user avatar
  • 436
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)); ...
user avatar
  • 775

Top 50 recent answers are included