Skip to content

hgminerva/humidefi-node

Repository files navigation

Humidefi Node

Freshly hacked FRAME-based Substrate node. 🚀

Features:

  • Rewarded Proof-of-Authority (PoA)
  • Smart Contract

More information in my Blog.

Getting Started

Follow the steps below to get started with the Humidefi Node.

Setup

Use Ubuntu 22.04

$ git clone https://github.com/hgminerva/humidefi-node.git
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
$ source $HOME/.cargo/env
$ rustc --version
$ rustup default stable
$ rustup update
$ rustup update nightly
$ rustup target add wasm32-unknown-unknown --toolchain nightly
$ rustup show
$ rustup +nightly show

Build

$ cd  humidefi-node
$ cargo b -r

Run Node in Development Mode

$ ./substrate-dev-run.sh

Purge Node

If you are purging the bootnode (node01). Purge the database then the keystore.

$ ./target/release/node-template purge-chain --base-path /tmp/node01
$ rm -rf /tmp/node01/chains/local_testnet/keystore

Generate Aura (SR25519) and Grandpa (ED25519) keys

Make sure you install Subkey utility first.

$ subkey generate --scheme sr25519
$ subkey inspect --scheme ed25519 "<generated_secret_phrase>"

Releases

No releases published

Packages

No packages published