Plasm node on Azure

Maarten Henskens
Nov 10, 2020 · 5 min read
Image for post
Image for post

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.


#1 Setup VPS server on Azure (Plasm Network is selected to be part of ‘Microsoft for Startups’. Plasm is using Azure for maintaining the Plasm Network.)
#2 Setup your node
#3 Get your session key
#4 Set up an account


Setup VPS server

This guide is built for the first selectors of Plasm validators on Azure. You need to be selected to use the Plasm account on Azure for building a stronger network. Join Discord to be part of the builder's community.

Don’t let this stop you from using Azure. Even if you are not selected, you can still join Azure and test for free for one month.

1/ Virtual machine
For running a node you need to build a ‘Virtual Machine’

Image for post
Image for post
Available services on Azure

Build your server and use the following recommendations:

vCPU: 2
RAM: 8 Gig
Disk space: between 50-100 Gig

For the users who are selected to join the Plasm Azure Validator Program , please follow the instructions made by Paddyson:

Setup your node

1/ Click on your ‘Virtual Machine’, go to ‘Networking’ in the setting category and make sure you have your SSH (port: 22) and HTTPS port (443) open.

2/ Now go to your ‘Overview’ and search for your ‘Public IP address’, you need to copy your IP for the next step.

Image for post
Image for post

3/ Connect to your server:
Connect via SSH — Open the client of your choice, e.g. PuTTY or other clients. I will use PuTTY in this tutorial.

Open PuTTY
- Typ in the field of ‘Host Name’ the IP of your server.
- The terminal will open and you can log in with your username and password.

Image for post
Image for post

4/ The easiest way to install a Plasm node is to download the binaries. You can find them here: Use this command in your terminal:


5/ Extract the file:

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

6/ Sync your node. Yes, it’s that simple :-). Typ in the place of YOURNAME, how you would like to call your node. I use ‘nohup’ in front of the command to run it in the background.

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

Check on to see if your node is fully synced. Wait until it’s fully synced. If you want to see what your node is doing in the background you can read out your nohup.out file with this command:

tail -f nohup.out

Get your session key

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

Last and final step. You are almost there :-).

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!

Plasm Network

Plasm Network is a scalable smart contract platform on Polkadot.

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