Is there easy to use online tool to encode ABI parameters to pass verification on etherscan?
3 Answers
Yes, you can use this tool: https://abi.hashex.org. It can automatically parse constructor parameters from ABI or you can add them manually. After you enter parameter values, ABI-encoded parameters string would be automatically generated, so you just copy and paste it in etherscan.io constructor parameters input.
-
1
This is coming late,
but to whoever it will help:
https://adibas03.github.io/online-ethereum-abi-encoder-decoder/#/
Disclaimer: This is a tool I designed almost 2 years ago
-
1
-
-
1I m stuck on ethereum.stackexchange.com/q/112277 as a result. Commented Oct 27, 2021 at 18:38
-
i am also stuck, like @user2284570. we should send pull requests to fix this– zfoggCommented Dec 27, 2021 at 21:47
-
1
This Solidity ABI Encoder allows for the encoding of data and enables the execution of read and write operations on a smart contract, even if the contract has not yet been verified on Etherscan.
Step 1: Paste a Contract or Interface ABI
Step 2: Enter the Contract Name
Enter a contract name so that you can remember it when you use this tool again in the future.
Step 3 (Optional)
Enter the contract address if it was already deployed on a blockchain.
Step 4 (Optional)
You have the option to either save the settings to your browser's local storage or download them to your computer (to avoid copying and pasting ABIs on a different browser or computer).
Step 5
Select a function and enter argument values. Now, copy the result which is your encoded data.
Step 6
In addition, it is possible to perform read and write operations directly through a web3 provider such as Metamask or Coinbase wallet, which is particularly useful for contracts that have not been verified on Etherscan. By entering the correct ABI, it is possible to interact with your smart contracts in the same way as Etherscan.