How to deploy and test contracts
To test our contracts locally you can follow these simple steps:
- Build contract:
cargo contract build --release --features "contract"
- Run local substrate node:
substrate-contracts-node
- Deploy your contract using contracts-ui: https://contracts-ui.substrate.io/
- Make sure to select "Local Node" in the upper left corner
The easiest way to call contract functions is to use the same contracts-ui
wep app.
For more detailed tutorial to get you onboarded on ink! development look here: https://use.ink/getting-started/setup