Image for post
Image for post

Become a Plasm Network validator

Maarten Henskens
Oct 18, 2020 · 6 min read

Run a free node for Plasm Network! Help us build a strong network!

Plasm Network is a scalable and interoperable infrastructure for Web3.0. Since Plasm Network is built with Parity’s Substrate framework, it can be a future Polkadot Parachain that also acts as a scalable smart contract platform. The Polkadot Relaychain, by design, does not support smart contracts. This allows Plasm the opportunity to fill in this gap. Scalability is obviously one of the most crucial demands DApp developers have. Ideally, the developers can build whatever applications on Plasm Network without having to consider its scalability.

Currently, Plasm has 2 networks, Dusty Network, and Plasm Network. Dusty is the canary R&D chain like Kusama. The stable validators on Dusty can be the first validators on Plasm mainnet. Plasm is looking for 100 validators on the Plasm Network.

Index:

Support?
Discord: https://discord.gg/Z3nC9U4
Telegram: https://t.me/Fiexer

Setup VPS server

Use my referral link and you will get $100 FREE credits. With this, you can run your node for free for 60 days!

Image for post
Image for post
Image for post
Image for post

Confirm your email address | Add a payment method | Congrats you now have $100 credits.

1/ Click on ‘Create’ and choose ‘Droplets’ or ‘Cluster
I’m having success with running a basic Droplet but know that a node needs more power and stability once it’s a validator. So you better have a good server configurated. I’m running a node on a dedicated CPU server and one on Kubernetes.

2/ Let’s configure the server:

- Choose an image: Ubuntu or Debian
- Choose a plan: Basic / Dedicated CPU / Cluster
- Take a server you think suits Plasm's needs. If you need guidance, contact me.
- Choose a datacenter region
- Typ in a password
- Choose a hostname
- Deploy your Droplet/Cluster

Image for post
Image for post

3/ Click on ‘Droplets’, open your node and start your console

Setup your node

Image for post
Image for post

NOTE: for safety reasons, it’s better to run your node, not as a root user. Create a new user before continue to the next steps.

sudo adduser USERNAME

3/ The easiest way to install a Plasm node is to download the binaries. You can find them here: https://github.com/staketechnologies/Plasm/releases. Use this command:

wget https://github.com/staketechnologies/Plasm/releases/download/v1.7.0-dusty/plasm-node-ubuntu-1.7.0-x86_64.tar.xz

4/ Extract the file:

tar -xf plasm-node-ubuntu-1.7.0-x86_64.tar.xz

5/ Sync your node. Yes, it’s that simple :-). Typ in the place of YOURNAME, how you would like to call your node.

./plasm-node --validator --name YOURNAME --rpc-cors all

Check on https://telemetry.polkadot.io/#/Dusty to see if your node is fully synced. Wait until it’s fully synced.

This was the easy part. Grabbing a validator seat requires a certain Linux background, please be familiar with the nodes and computer knowledge before participating. It is not recommended for novice computer users.

Connect to Plasm Network UI

While your node is running it’s easier to open a second connection with PuTTy. Just download and install PuTTy:
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

1/ Open PuTTY
2/ Typ in the field of ‘Host Name’ the IP of your server on Digital Ocean, you will find this in your Droplets page.
3/ The terminal will open and you can log in with your username and password.

Image for post
Image for post

4/ You now have to call for your ‘Session Key’, use the following command to get your key:

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

The server will answer with a long key, copy the long string of numbers and letters 0x9917….b85a

Image for post
Image for post

Set up an account

1/ Go to Plasm Network UI and create an account. Make sure you are connected to 'Dusty' testnet. You can change from network in the top left menu.

Image for post
Image for post

2/ On the left you can now ‘Add account

Image for post
Image for post

3/ A form pops-up. Choose a name and password. The most important part of this form is your mnemonic seed! Write this down, take a screenshot, … just don’t lose it.
4/ Click on ‘Next’ and ‘Save’. Store your *.json file somewhere on your computer, cloud, … In case you lose your mnemonic seed you can always restore your account with this file.
5/ Locate your wallet address, click on your wallet name. Double click on your address and copy it to your clipboard. This is needed for us to send you some PLD’s.
6/ Copy the long key you copied in the following field. Click on ‘Developer’ — ‘Extrinsics’ — ‘Session’ — ‘setKeys(keys, proof)’, and paste the result in the keys field, in the proof field enter 0x00.

Image for post
Image for post

Don’t forget to ‘Submit Transaction’ after you paste the key.

Congrats! That’s it!

How to upgrade your node

latest stable version: v1.7.0

This part of the tutorial is for users who are running a node on Digital Ocean. It’s kind of similar on other VPS servers. Try to understand my workflow and I’m sure you will figure it out on your server. If you need help you can also join Discord for support.

1/ Open PuTTY
2/ Typ in the field of ‘Host Name’ the IP of your server on Digital Ocean, you will find this in your Droplets page.
3/ The terminal will open and you can log in with your username and password.
4/ Download the latest binary.

wget https://github.com/staketechnologies/Plasm/releases/download/v1.7.0-dusty/plasm-node-ubuntu-1.7.0-x86_64.tar.xz

5/ Extract the file:

tar -xf plasm-node-ubuntu-1.7.0-x86_64.tar.xz

5/ Now login on to your Digital Ocean account and open your console. You should see your node running. If you don’t see your node running, it’s possible you used the ‘nohup’ or ‘screen’ command for your node.

Now just stop your node, press:

Ctrl + X

Your node will stop running and now you just need to restart the node with the command you used earlier:

./plasm-node --validator --name YOURNAME --rpc-cors all

Your node will start again with the latest version. Check on https://telemetry.polkadot.io/#/Dusty to see if your node is back running and synced. Wait until it’s fully synced.

If you have any questions, please feel free to contact us on Discord.

Plasm Network

Website | Twitter | Telegram | Discord | GitHub | Lockdrop

For further information, follow us on Twitter and Telegram.

Plasm Network

Plasm Network is a scalable smart contract platform on Polkadot.

Maarten Henskens

Written by

Belgian #9000 — Web3.0

Plasm Network

Plasm Network is a scalable and multi-virtual machine smart contract platform on Polkadot supporting cutting edge layer2.

Maarten Henskens

Written by

Belgian #9000 — Web3.0

Plasm Network

Plasm Network is a scalable and multi-virtual machine smart contract platform on Polkadot supporting cutting edge layer2.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

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