ParaState Testnet Node Setup Guideline

  • CPU: 2.0 GHz x86–64 CPU
  • Memory: 8GB RAM
  • Disk: 500GB High-Speed Storage (SSD)
apt update 
apt install -y \
software-properties-common \
wget \
cmake \
ninja-build \
curl \
git \
libboost-all-dev \
llvm-dev \
liblld-10-dev \
clang

# Install nodejs
curl -sL https://deb.nodesource.com/setup_14.x | bash
apt install -y nodejs

# Install yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
apt update && apt install -y yarn

# Install rust
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
rustup update nightly && rustup update stable
rustup target add wasm32-unknown-unknown --toolchain nightly
# Install subkey tool
curl https://getsubstrate.io -sSf | bash -s -- --fast
cargo install --force subkey --git https://github.com/paritytech/substrate --version 2.0.1 --locked

# Generate a mnemonic and see the sr25519 key and address
subkey generate --scheme sr25519

# Use the same mnemonic to see ed25519 key and address
subkey inspect --scheme ed25519 "<Your Mnemonic>"
tmux new -s state
git clone https://github.com/ParaState/frontier.git
cd frontier
cargo run --release --bin frontier-template-node -- \
--execution=Native \
--base-path ./data \
--chain ./specs/2021-04-22-spec-raw.json \
--port 30333 \
--rpc-port 9933 \
--ws-port 9944 \
--validator \
--telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
--name '<Your Node Name>' \
--bootnodes /ip4/13.67.57.72/tcp/30333/p2p/12D3KooWNwpkJk3f4fUEc9cjSzLC5xE3opf25pjt7izfNGc1v5Tu
  • keytype: aura
  • suri: <Your Mnemonic>
  • publicKey: <Your Raw sr25519 Key>
  • keytype: gran
  • suri: <Your Mnemonic>
  • publicKey: <Your Raw ed25519 Key>

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store