3

Is there easy to use online tool to encode ABI parameters to pass verification on etherscan?

3 Answers 3

3

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
  • 1
    Doesn’t works with tuple/struct arguments… Commented Oct 25, 2021 at 21:56
0

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

6
  • 1
    Doesn’t works with tuple/struct arguments… Commented Oct 25, 2021 at 21:56
  • Not presently, I am open to PRs to add the functionality
    – Adibas03
    Commented Oct 27, 2021 at 12:39
  • 1
    I 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
    – zfogg
    Commented Dec 27, 2021 at 21:47
  • 1
    @zfogg but you didn t upvote my question. Commented Dec 29, 2021 at 9:43
0

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

enter image description here

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.

enter image description here

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.