Machinalabs / remix-etherscan-plugin

Remix Etherscan Plugin
54 stars 68 forks source link

Add: support for multiple networks #60

Closed MonarthS closed 1 year ago

MonarthS commented 2 years ago

Added support for these explorers:

Mainnet:

  1. bscscan.com
  2. polygonscan.com
  3. ftmscan.com
  4. arbiscan.io
  5. snowtrace.io
  6. moonriver.moonscan.io
  7. moonbeam.moonscan.io
  8. bttcscan.com

Testnet:

  1. testnet.bscscan.com
  2. mumbai.polygonscan.com
  3. testnet.ftmscan.com
  4. testnet.arbiscan.io
  5. testnet.snowtrace.io
  6. moonbase.moonscan.io
  7. testnet.cronoscan.com
  8. testnet.bttcscan.com

closes #59, closes #19, closes #36

pasevin commented 2 years ago

Please merge this :)

deutschefi commented 1 year ago

Wen

lbcbcbc commented 1 year ago

Are there any problem? this pr is still open since last august (:

deutschefi commented 1 year ago

Someone with write access @EdsonAlcala

deutschefi commented 1 year ago

Some hack I'm using is,

  1. Use the current plugin,
  2. Open network tab in browser dev tools
  3. Apply for verify contract
  4. API request will fail
  5. Open the failed request (in red color)
  6. In request parameters, find the JSON encoded source code item and copy it
  7. Create new .json file with this contents
  8. Go to bscscan or elsewhere
  9. On verify contract page select 'JSON encoded input' option
  10. Upload the file created in step 7
  11. It'll verify all contracts neat and clean as solidity multi files
theref commented 1 year ago

Please merge this

MonarthS commented 1 year ago

Finally, they used my code https://github.com/ethereum/remix-project/commit/abde32bdd69b2817006acdd14c5224bc23a7b05d.

EdsonAlcala commented 1 year ago

hey sorry, for not replying on time ! Didn't get any notification, but happy to see that the remix team took the project.