tokenfox
@tokenfox.eth
Tokenfox teaches: How to interact with unverified smart contracts using Etherscan š¦š§µ
1 reply
3 recasts
6 reactions
tokenfox
@tokenfox.eth
1/ Verified smart contracts are luckily common and easy to interact with in Etherscan. Both read and write methods from the contract are made easily available, with read ones being callable even without connecting a wallet
1 reply
0 recast
0 reaction
tokenfox
@tokenfox.eth
2/ But when contracts are unverified, oh no! We have no access to these convenient read/write calls! Of course the best course of action is to find a way to get the contract verified which would expose the methods. But unfortunately, thats not always possible!
1 reply
0 recast
0 reaction
tokenfox
@tokenfox.eth
3/ Here's where Etherscan comes to the rescue. If you login, you will find a section called "Contract Custom ABI", that allows you to configure any contract to use any custom ABI, just for you personally: https://etherscan.io/mycustomabi
1 reply
0 recast
0 reaction
tokenfox
@tokenfox.eth
4/ As an example, lets add a custom ABI to @opensea OPENSTORE tokens that are notoriously using an unverified contract - Click in Add - Paste in contract address - Add ABI JSON to those methods you want to be able to access (here 'balanceOf' and 'setApprovalForAll') - Save
1 reply
0 recast
0 reaction
tokenfox
@tokenfox.eth
5/ Once that is saved, navigate to etherscan page for that contract and TA-DAA! New tabs called "Read Custom" and "Write Custom" appear although the contract remains unverified!
1 reply
0 recast
0 reaction