Is it possible to only upload a contracts ABI without including the source code? If so, how?
Curious if Etherscan can still be used to interact with the smart contract, but not make the source code visible.
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityDiscovered this. Etherscan recommends it for debugging purposes, but it's possible.
innocentFunction()
. So since Etherscan cannot vouch for you not trying to misrepresent your function’s behaviour with an innocent name, it doesn’t let you publish the ABI in the first place.
No. 😞 To verify your contract you need the exact bytecode. That can only be deduced from the source code and the input parameters used to deploy the contract