treebsOG
Anticipating a scenario like this is why I created this thread:
https://xen.pub/forum/d/14-request-video-tutorials-for-interacting-with-contracts-via-etherscanio
Imagine it's time to claim a XENFT. You go to xen.network, but it 404s. Or there's some server side error. Or you see something similar to that screenshot that prevents you from claiming. You contact the team on TG, Twitter, Discord, email. 24 hours pass with no solution. The website is fixed several hours later, but you have lost 1% of your mint at no fault of your own.
Due to how common and encouraged it is to use dApps through websites, I don't expect that many people know that you can interact directly with the smart contract by connecting your wallet to web3 on etherscan. For example, the XENFT contract is here https://etherscan.io/token/0x0a252663dbcc0b073063d6420a40319e438cfa59#writeContract
I haven't tried this myself, but if I had to guess, you'd first have to call approve
(0x095ea7b3) (https://etherscan.io/token/0x0a252663dbcc0b073063d6420a40319e438cfa59#writeContract#F2) and after that callClaimMintReward
(0xdf0030ef): https://etherscan.io/token/0x0a252663dbcc0b073063d6420a40319e438cfa59#writeContract#F7
I imagine there are functions that can be called on the DBXENFT and Xenon contracts. For DBXENFT, the contracts I see are
- https://etherscan.io/address/0x22c3f74d4aa7c7e11a7637d589026aa85c7af88a#writeContract
- https://etherscan.io/address/0xa06735da049041eb523ccf0b8c3fb9d36216c646#writeContract
It's very confusing to figure out which contract to use. Only the first one has an approve
function, but the second one is where most of the activity is. Both of them have a function named mintDBXENFT
. This is where I hope the community can contribute by creating tutorials on which functions to call and in what order to complete various tasks.
As for Xenon, I haven't redeemed any XENFTs yet using it, so I don't know what the contract address is (is there one? Raz said it interacts with traditional backend services so maybe not). A contract address is not available anywhere on app.xenon.tools or on the Starfish Technologies twitter. Apparently it is active on Mumbai testnet, but you can't even mint XENFTs on Mumbai. Someone please correct me if I'm wrong. I suppose one could mint a XENFT on a cheaper network to try to test the contract themselves, but everyone should really be able to test it on Mumbai, that's what testnets are for.
I honestly don't know why this isn't talked about more. A community that embraces first principles should not be relying on a single point of failure.