Skip to content

gcp-development/dev-node-substrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dev-node-substrate

It's assumed that these software are installed and running:

This project was developed using the Intellij Community with the Rust plugin.


This repository is tracking Substrate's polkadot-v0.9.37 branch.

The dev-node-substrate is a simple Substrate blockchain which is configured to include the Substrate module for smart contract development using ink! v4.0.

Note: the consensus from aura & grandpa(GHOST-based Recursive ANcestor Deriving Prefix Agreement) was changed to manual-seal(sp_consensus/sc_consensus) where blocks are authored at every transaction.


ink! CLI version.

cargo contract --version

image

The directory will be assigned with a Rust toolchain with rustup override.

rustup show

image

Note:The nightly-2023-02-09 is set by the rust-toolchain.toml file.

Test the outer node.

cargo check -p node --release

Test the runtime node.

cargo check -p node-runtime --release

Build the Substrate Smart Contracts Node.

cargo build --release

Run the Substrate Smart Contracts Node.

./target/release/dev-node-substrate --dev

image


Interact with our Substrate Smart Contracts Node using the Contracts UI:

Contracts-UI

image

Polkadot/Substrate Portal

image

References:
ink!
Smart Contracts