Test your parachain with Chachacha relay network

Let’s get started…

Quick Setup of Remote Cloud Instance

  1. Signup or login to Digital Ocean.
  2. Click create Droplet.
  3. Enter the name of your project.
  4. Choose an Ubuntu x64 20.04 (LTS) server, select the basic plan, and then the Premium Intel $12/mo service, will do the trick.
  • Open a terminal on your local machine and enter:
ssh root@<insert public ip>
  • Then enter your passphrase you made above, and you should be good connected to your remote server.

Download Docker

$ sudo apt-get update$ sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg \
lsb-release
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg$ echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
 $ sudo apt-get update
$ sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo docker run hello-world

Clone chachacha

git clone -b chachacha https://github.com/centrifuge/polkadot.git
$ cd polkadot 
$ git checkout chachacha

Run the Docker compose file

  • Make sure you are in the polkadot directory.
  • Now let’s run the Docker commands:
$ apt  install docker-compose$ docker-compose -f docker/docker-compose-chachacha.yml up -d
curl http://127.0.0.1:9933 \-H “Content-Type:application/json;charset=utf-8” \-d ‘{ “jsonrpc”:”2.0", “id”:1, “method”:”author_rotateKeys” }

Create a Cha account and get funded

Create para_id

Set the session keys in Chachacha

--

--

--

Decentralising the web. Stewarding new paradigms. Engineering and product.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Setup Oracle Instant Client with Apache and PHP 7 on Ubuntu Server 17.04

Contributing Experience At LetsGrowMore Summer Of Code 2021

Asterisk (*) is More Than Just Multiplication

Cloud SQL is Managed MySQL on GCP

Core Cloud Concepts: Part 3 — Trust in the Cloud

Arduino Block Based Coding: Learn Arduino without writing a single Line of Code

Inside The Inner Hexagon: Component Tests

Code Smell 16 — Ripple Effect

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
Ramsey (Decentration)

Ramsey (Decentration)

Decentralising the web. Stewarding new paradigms. Engineering and product.

More from Medium

Weekly report — — 11.29.2021 -12.05.2021

Shiden ecosystem overview — Standard Protocol, tofuNFT and JPYC.

January Recap — Level Up!

Drop3 Community testing closed