Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.02 KB

File metadata and controls

30 lines (19 loc) · 1.02 KB

develop-smart-contracts

Use the ink! programming language to build smart contracts that run on a Substrate-based blockchain

Interact with smart contract

  1. Update your Rust environment and install contract. Here!

  2. Go to one of smart contracts packages and build it:

cd erc20
cargo contract build --release 
  1. 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
  1. Open Contracts UI and follow guide to see how to deploy smart contract.

Developed along with Substrate tutorial

  1. Should get something similar