Closed CheapyFresh closed 1 year ago
Hello, please how can i adapt kihiru engine for an ERC20. I just need to unstake and send an ERC20. it is ok for the abi , but i j ust wondering how to modify this line since it is an ERC20:
tokenIds.forEach(async tokenId => { batchTransaction.push({ ...await this._KahiruNFTContract.populateTransaction.transferFrom(this._sender, this._recipient, tokenId), chainId: 1, gasLimit: 70000 }) });
Sorry i didnt noticed that other engine like SOS or Gas already do it. Resolved for me!
Hello, please how can i adapt kihiru engine for an ERC20. I just need to unstake and send an ERC20. it is ok for the abi , but i j ust wondering how to modify this line since it is an ERC20:
tokenIds.forEach(async tokenId => { batchTransaction.push({ ...await this._KahiruNFTContract.populateTransaction.transferFrom(this._sender, this._recipient, tokenId), chainId: 1, gasLimit: 70000 }) });