Sitelet https://github.com/EaveNetwork/eave
Skip to content

Repository files navigation

Eave Node and Parachain Runtimes

This repository holds the codebase for Eave Standalone network wind as well as it's Rococo Parachain steam.

Build & Run

Follow these steps to prepare a local Substrate development environment 🛠️

Setup

If necessary, refer to the setup instructions at the Substrate Developer Hub.

Build

Once the development environment is set up, build the node template. This command will build the Wasm and native code:

cargo build --release

Run

Local Testnet

Eave Standalone

  • make build - builds release version
  • make buildrun - builds and runs a local development version
  • make run - purges the develoopment chain and runs development version

Polkadot Local (polkadot-v0.9.2 branch):

# Build up Polkadot relay chain specification
cds
cd polkadot
cargo build --release --features=real-overseer
./target/release/polkadot build-spec --chain rococo-local --raw --disable-default-bootnode > rococo_local.json

# Start up Polkadot relay chain
cds
cd polkadot
./target/release/polkadot purge-chain --chain ./rococo_local.json -d cumulus_relay1
./target/release/polkadot --chain ./rococo_local.json -d cumulus_relay1 --validator --bob --port 50555

# Start the second relay chain node - in another session
cds
cd polkadot
./target/release/polkadot purge-chain --chain ./rococo_local.json -d cumulus_relay0
./target/release/polkadot --chain ./rococo_local.json -d cumulus_relay0 --validator --alice --port 50556

# Create the steam paracahain
cdss
cargo build --release --bin steam-collator
./target/release/steam-collator export-genesis-state --parachain-id 77 > ./node/steam/para-77-genesis
./target/release/steam-collator export-genesis-wasm > ./node/steam/para-77-wasm

# Start the collator node for the steam parachain Alioth
rm -rf local-alioth/
./target/release/steam-collator purge-chain --chain ./node/steam/chain_spec/local.json -d local-alioth
./target/release/steam-collator -d local-alioth --collator --name Alioth --ws-port 9946 --chain ./node/steam/chain_spec/local.json --parachain-id 77 -- --chain ../polkadot/rococo_local.json

# Start the collator node for the steam parachain Bibha
rm -rf local-bibha/
./target/release/steam-collator purge-chain --chain ./node/steam/chain_spec/local.json -d local-bibha
./target/release/steam-collator -d local-bibha --collator --name Bibha --ws-port 9947 --chain ./node/steam/chain_spec/local.json --parachain-id 77 -- --chain ../polkadot/rococo_local.json

About

Emerging Asset Value Engine

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages