Ink SmartContract Deploy - TrackingChains/TrackingChain GitHub Wiki
Ink SmartContract
Once the smart contract has been filled in via cargo, 3 files will be available.
- tracking_chain.contract (code + metadata)
- tracking_chain.wasm (the contract's code)
- tracking_chain.json (the contract's metadata)
For simplicity, deploy using https://contracts-ui.substrate.io/
At the top left select the desired chain (in our example Rococo). And click on "upload new contract"
Select the account that will deploy (tokens are needed for the transaction) and then select the file tracking_chain.contract
Click on Next to continue
Still on Next
Upload and instance
Sign the transaction to proceed with the deployment