Reorder front end to collect smart contract address first
Currently, the tool only validates ERC-721 contracts. We will expand the scope of the project, so the UI should also be compatible with doing multiple test suites.
New web page format follows:
Smart Contract Validator
This validator tests blockchain smart contracts for known vulnerabilities and conformance to published standards, including ERC-721 Non-Fungible token standards.
INPUT A VALID CONTRACT ADDRESS:
[ INPUT: ADDRESS ]
SELECT A NETWORK:
[ DROP DOWN: 🔳 Ethereum MAINNET 🔲 Ethereum ROPSTEN 🔲 Ethereum RINKEBY 🔲 Wanchain MAINNET (coming soon) ]
[ BUTTON: START VALIDATOR ]
AFTER CLICKING START VALIDATOR...
A smart contract exists at address, it is XXXX bytes.
The contract supports the following known interfaces (testing with ERC-165):
[ A bunch of labels. Supported interfaces are lit up and show first. Other interfaces are dim and shown after ]
Choose test suites to perform:
- [ ] ERC-721 Non-fungible token
- [ ] ERC-20 Token (COMING SOON)
- [ ] ERC-777 Token (COMING SOON)
- [ ] Known Solidity bugs (COMING SOON)
- [ ] Make your own test case (COMING SOON)
[ BUTTON: VALIDATE ]
AFTER CLICKING VALIDATE...
Same output as current