It is usually best to use the standalone version to start a new project. All bugs, suggestions, and feature requests should be made upstream in the Substrate repository.
unit: NATIVEX address prefix: 42 decimals: 18 chain type: substrate
Depending on your operating system and Rust version, there might be additional packages required to compile this template. Check the installation instructions for your platform for the most common dependencies. Alternatively, you can use one of the alternative installation options.
Use the following command to build the node without launching it:
make run-release
./target/release/nativex \
--base-path /tmp/node01 \
--chain ./customSpecRaw.json \
--port 30333 \
--rpc-port 9945 \
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0" \
--validator \
--rpc-methods Unsafe \
--name NativexNode01 \
--password-interactive
./target/release/nativex \
--base-path /tmp/node02 \
--chain ./customSpecRaw.json \
--port 30334 \
--rpc-port 9946 \
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0" \
--validator \
--rpc-methods Unsafe \
--name NativexNode02 \
--bootnodes /ip4/127.0.0.1/tcp/30333/p2p/{NativexNode01Id} \
--password-interactive
Development chains:
- Maintain state in a
tmp
folder while the node is running. - Use the Alice and Bob accounts as default validator authorities.
- Use the Alice account as the default
sudo
account. - Are preconfigured with a genesis state (
/node/service/chain_spec/development.rs
) that includes several prefunded development accounts.
After you start the node template locally, you can interact with it using the hosted version of the Polkadot/Substrate Portal front-end by connecting to the local node endpoint. A hosted version is also available on IPFS (redirect) here or IPNS (direct) here. You can also find the source code and instructions for hosting your own instance on the polkadot-js/apps repository.
If you want to see the multi-node consensus algorithm in action, see Simulate a network.