Skip to content
/ inking Public

Playing around with the ink! Smart Contract implementation for Substrate

Notifications You must be signed in to change notification settings

pmuens/inking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inking

Playing around with the ink! Smart Contract implementation for Substrate.

Useful commands

# Install the Canvas Substrate node
cargo +nightly-2020-10-06 install canvas-node --git https://github.com/paritytech/canvas-node.git --tag v0.1.0 --force

# Install the ink! CLI
cargo +nightly-2020-10-06 install cargo-contract --force

# Running tests
cargo +nightly-2020-10-06 test

# Formatting files
cargo +nightly-2020-10-06 fmt

# Create a new ink! project
cargo +nightly-2020-10-06 contract new <name>

# Clean build
cargo +nightly-2020-10-06 clean

# Build the contract
cargo +nightly-2020-10-06 contract build

# Generate contract metadata (the contract ABI)
cargo +nightly-2020-10-06 contract generate-metadata

# Starting a canvas Substrate node
~/.cargo/bin/canvas --dev --tmp

Releases

No releases published

Packages

No packages published

Languages