After you've copied all of the parts of the proof-of-existence pallet into the pallets/template/lib.rs
file, you are ready to compile and start the node.
To compile and start the updated Substrate node:
-
Open a terminal shell.
-
Change to the root directory for the node template.
-
Compile the node template by running the following command:
cargo build --release
-
Start the node in development mode by running the following command:
./target/release/node-template --dev
The
--dev
option starts the node using the predefineddevelopment
chain specification. Using the--dev
option ensures that you have a clean working state any time you stop and restart the node. -
Verify the node produces blocks.