Building Chachacha: Rococo’s wilder Cousin

Miguel Hervas
Feb 25 · 2 min read

Chachacha is a Rococo based relay chain testnet configured and supported by Centrifuge

Centrifuge is excited to contribute this testing environment for Polkadot’s parachain ecosystem! We started building Chachacha to prepare Centrifuge Chain for Rococo, Polkadot’s Parachain testnet but have since heard feedback from several teams that this would be a useful tool to prepare for Rococo.

We hope that teams waiting to on-board onto Rococo will find Chachacha helpful to ease this process, and that teams which have already gone live on Rococo can use Chachacha as a support network to test future updates.

Purpose

The main purpose of Chachacha is to serve as a support network to ease and speed up the on-boarding of new parachains in Rococo.

It helps:

  • To get the parachains in the waiting list to a state that is ready to be added to Rococo for further performance and stability testing

Main Characteristics

  • Chachacha will be at par with the latest Rococo polkadot/cumulus/substrate version

How to include your parachain in Chachacha

Maintain at least two validators (full block authoring node) for Chachacha:

Treat this like a production grade Polkadot node — see Run a Validator (Polkadot)

Node Setup — use one of the options below

  1. Chachacha Bootnodes
/ip4/34.89.248.129/tcp/30333/p2p/12D3KooWD8CAZBgpeZiSVVbaj8mijR6mfgUsHNAmCKwsRoRnFod4/ip4/35.242.217.240/tcp/30333/p2p/12D3KooWBthdCz4JshkMb4GxJXVwrHPv9GpWAgfh2hAdkyXQDKyN

2. Build from source:

git clone https://github.com/centrifuge/polkadotcd polkadotgit checkout rococo-v1cargo build --release --features=approval-checking./target/release/polkadot --validator --chain rococo-chachacha --name <your_chachacha_validator_name> --bootnodes <bootnodes_addr_from_above>

3. Use Docker:

docker run -d centrifugeio/rococo:chachacha-v1 --validator --chain rococo-chachacha --name <your_chachacha_validator_name> --bootnodes <bootnodes_addr_from_above>

Check your node on the Chachacha Telemetry

Generate your Chachacha V1 ValidatorId Address

Follow Chachacha announcements for Chachacha V1 validator updates, which can require one of the following scenarios:

  1. Update client

Maintain at least one collator (full block authoring node) for your team’s parachain.

cd <root_cumulus_based_parachain_code>cargo build --release./target/release/<parachain_collator_name> --version./target/release/<parachain_collator_name> export-genesis-state --
parachain-id <your_registered_parachain_id> > genesis-state
./target/release/<parachain_collator_name> export-genesis-wasm > genesis-wasmwget -O rococo-chachacha.json https://storage.googleapis.com/centrifuge-artifact-releases/rococo-chachacha.json./target/release/<parachain_collator_name> --collator --parachain-id <your_registered_parachain_id> -- --execution wasm --chain rococo-chachacha.json
  1. Sign up through the Chachacha V1 Parachain Registration form

Until we update PolkadotJs types, please use the following ones:

{
"AccountInfo": "AccountInfoWithProviders",
"Address": "MultiAddress",
"FullIdentification": "()",
"LookupSource": "MultiAddress",
"Keys": "SessionKeys6"
}

Technical Questions? Head to our Element.

For more, jump on our Forum, join our newsletter, or join our telegram.

Centrifuge

Decentralized Asset Financing

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