Level: Advanced This is a larger code base of a useful tool, which requires solid understanding of Browsers WebAPI, especially DOM
This example application lists all Smart Contracts of an account, and allows detailed inspection
Run the index.html
in any static file server.
Using serve may be the easiest way:
npm i -g serve
cd ./web/vanilla/contracts-inspector
serve
- Open browser at given url, i.e.
http://localhost:5000
Additional Url parameters
- address: A burst address or account id
- testnet: If passed the testnet will be chosen, otherwise mainnet
``
- core/apiCompose
- core/api.account.getContractsByAccount
- core/ContractHelper
- util/convertAddressToNumericId
- crypto/hashSHA256