Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 800 Bytes

File metadata and controls

27 lines (16 loc) · 800 Bytes

Build the runtime with your new pallet

After you've copied all of the parts of the proof-of-existence pallet into the pallets/template/lib.rsfile, you are ready to compile and start the node.

To compile and start the updated Substrate node:

  1. Open a terminal shell.

  2. Change to the root directory for the node template.

  3. Compile the node template by running the following command:

    cargo build --release
  4. Start the node in development mode by running the following command:

    ./target/release/node-template --dev

    The --dev option starts the node using the predefined development chain specification. Using the --dev option ensures that you have a clean working state any time you stop and restart the node.

  5. Verify the node produces blocks.