Use the ink! programming language to build smart contracts that run on a Substrate-based blockchain
-
Update your Rust environment and install contract. Here!
-
Go to one of smart contracts packages and build it:
cd erc20
cargo contract build --release
- We need start a node. I used my pallet-collectibles crate. To start the node use:
cargo build --release
# and then
./target/release/node-template --dev
- Open Contracts UI and follow guide to see how to deploy smart contract.
Developed along with Substrate tutorial
- Should get something similar