This bounty is no longer available
Web3 DAO | Ethereum Foundation Logo

[playground]: Add `?bytecode` query parameter and open the popup automatically if there are parameters

Organization

Ethereum Foundation

Deadline

N/A

Status

ENDED


INSTRUCTIONS

Currently, the playground accepts address and chainId parameters e.g. https://playground.sourcify.dev/?address=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2&chainId=1

However, one still needs to press "Get Bytecode and Decode" to see the decoded bytecodes. The user should see the decoding directly when visiting the URL with valid address and chainId params.

Also, add the functionality to accept bytecode param to paste `the bytecode and decode.

If both address&chainId and bytecode exist as query parameters, an error message should be displayed.

  • [ ] Popup automatically
  • [ ] Add bytecode
  • [ ] Check bytecode with other query params
  • [ ] Add documentation to README