iotaledger / wasp

Node for IOTA Smart Contracts
Apache License 2.0
296 stars 147 forks source link

Command to verify magic contracts with explorer #2088

Open fijter opened 1 year ago

fijter commented 1 year ago

The current magic contracts are not verified with the explorer (this is a manual/api action), it would be nice to do so if there is a explorer so you can directly see the functionality in the explorer and interact with them (see https://explorer.evm.testnet.shimmer.network/api-docs, look for verify). In order to do this we need to send some requests with the right info to the API of an explorer. This could be a wasp-cli task that takes an API URL and that will call them all in a row. The verification arguments need to be exactly matching in order for the verification to succeed including exact solidity compiler version etc. so we might want to keep track of that info somewhere when the chain is deployed.

fijter commented 1 year ago

Explorer does not like magic contracts