How to run a polket node
Last updated
Last updated
The goal of Polket is to create more commercial application scenarios for NFTs and connect to the Polkadot/Kusama network in a parachain manner. Based on the Polket chain, we will develop a smart fitness-type Web3 application. We will name it ToEarnFun
.
Install and optionally and for a fully plug and play experience for setting up the development environment. To get all the correct dependencies activate direnv direnv allow
and lorri lorri shell
.
First, complete the basic Rust setup instructions.
Clone the latest source code from github.
If this error message appears when compiling the source code:
Rust WASM toolchain not installed, please install it!
This command will start the single-node development chain with persistent state:
Purge the development chain's state:
Start the development chain with detailed logging:
Then run the following command to start a single node development chain.
This command will firstly compile your code, and then start a local development network. You can also replace the default command (cargo build --release && ./target/release/polket-node --dev --ws-external
) by appending your own. A few useful ones are as follow.
Once the node template is running locally, you can connect it with Polkadot-JS Apps front-end to interact with your chain. connecting the Apps to your local node template.
If you want to see the multi-node consensus algorithm in action, refer to our .
First, install and .