Hi guys, looking for a way of getting a smart contract .sol from an ABI, any insight?

Apr 19, 2019, 11:34 AM
An abi is just an interface, you can't get the exact contract from it
It only defines what are the functions in the contract and how to call them with proper parameters
It doesn't contain the logic of the functions
Apr 19, 2019, 11:35 AM
Aha, but maybe its possible to get an interface contract
Apr 19, 2019, 11:37 AM
Well you can just read the abi manually, it shouldn't be a big task
But if you really wanna use some tool, use https://bia.is/tools/abi2solidity/
It comes really close to what you are expecting
Apr 19, 2019, 11:39 AM
Thnx!
Apr 19, 2019, 11:40 AM

© 2024 Draquery.com All rights reserved.