Campaign | Parami Dāna Testnet Node Running Tutorial (good for round 2)

Step 0: Overview

Nota Bene for returning users

wget https://github.com/parami-protocol/parami-blockchain/releases/download/3.1.2/parami-3.1.2-4.linux-amd64.tar.gz
tar xvf parami-3.1.2-4.linux-amd64.tar.gz
./parami --name COOL_NAME --validator --chain dana-v5.json --base-path ./node-data --unsafe-ws-external --rpc-cors all --unsafe-rpc-external --rpc-methods=Unsafe

Reference

Download node-running program at

github.com/parami-protocol/parami-blockchain/releases/

Command to run the node

./parami --name COOL_NAME --validator --chain dana-v5.json --base-path ./node-data --unsafe-ws-external --rpc-cors all --unsafe-rpc-external --rpc-methods=Unsafe

Use Apps

types json

github.com/parami-protocol/parami-blockchain/blob/main/parami-types.json

Command to get session key

curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc": "2.0", "method": "author_rotateKeys", "params":[]}' localhost:9933

Step 1: Preparation

Step 1.1: Download and install the browser

Step 1.2: Fill in the questionnaire, join the community, with something optional

Step 1.3: Set up a Polka Wallet account

Step 1.3.1: Install the browser plugin Polka and set up your own account

Step 1.3.2: Add Polkadot account

Step 2: Rent (without paying) a server

Step 2.1: Register and sign in to your Google account

Step 2.2: Go to Google Cloud Platform

Step 2.3: Create a new project, create a new instance

Step 3: Access the server and connect to Parami Dāna Testnet

Step 3.1: Run the cloud shell

Step 3.2: Create a new directory and enter the new directory

mkdir parami2
cd parami2
For returning users, do “parami2” instead of “parami”

Step 3.3: Download and unzip the node-running program

wget https://github.com/parami-protocol/parami-blockchain/releases/download/3.1.2/parami-3.1.2-4.linux-amd64.tar.gz

Step 3.4: Unzip the node-running program

tar xvf parami-3.1.2-4.linux-amd64.tar.gz

Step 3.5: Run the Parami node program

./parami --name COOL_NAME --validator --chain dana-v5.json --base-path ./node-data --unsafe-ws-external --rpc-cors all --unsafe-rpc-external --rpc-methods=Unsafe
./parami --name EthanDaddy --validator --chain dana-v5.json --base-path ./node-data --unsafe-ws-external --rpc-cors all --unsafe-rpc-external --rpc-methods=Unsafe

Step 3.6: Connect to Parami Dāna Testnet

Step 3.7: Resolving Errors

Step 3.8: View your node on Polkadot Telementry

Step 4: Make your node a finalizing node (validator)

Step 4.1: Request some initial funds

Step 4.2: Staking

Step 4.3: Set Session Key (I)

Step 4.4: Get session key

curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc": "2.0", "method": "author_rotateKeys", "params":[]}' localhost:9933
{“jsonrpc”: “2.0”, “result”:”0xe30575c62526a082617de8aadc5689e738aa0d96a180e3ce7441171fa1f91edae26e123a29d8538acc19fddba280fcf49cea62fc6749b31ac66e10301143883ddc046ca59e6e8028912755eac029152e148f17163fb110fd0b4c38748002ec303897174fd3b4ae8628dbe0e5a816faf21f69f7b294293a56a0d7a78f39eb4846", “id”:1}
0xe30575c62526a082617de8aadc5689e738aa0d96a180e3ce7441171fa1f91edae26e123a29d8538acc19fddba280fcf49cea62fc6749b31ac66e10301143883ddc046ca59e6e8028912755eac029152e148f17163fb110fd0b4c38748002ec303897174fd3b4ae8628dbe0e5a816faf21f69f7b294293a56a0d7a78f39eb4846

Step 4.5: Set Session Key (II)

Step 4.6: Go to the account actions and perform the authentication operation

Step 4.7: Go back to Overview and wait for the next era

Step 5: Join the community and stay in touch!

The Parami Team