Skip to content

Acurast/acurast-substrate

Repository files navigation

Acurast

🚧🚧🚧 The project is still a work in progress 🚧🚧🚧

Acurast Substrate is a Cumulus-based parachain. The Cumulus Parachain Template was used as the base for the node and runtime implementation.

To learn more about Acurast please visit the website and documentation.

Integrations

Pallets and crates relevant for third, party integrations.

Acurast Protocol

Acurast Protocol specific pallets.

Build for rococo

cargo build --release

# or

make build-release

Build for Kusama

cargo build --no-default-features --features "std" --release

# or

make build-kusama-release

Run

Using Zombienet

export PATH="$PATH:<absolute_path>/polkadot/target/release"
make start

Manual steps

First build the plain chain spec:

./target/release/acurast-node build-spec --disable-default-bootnode > acurast-local-parachain-plain.json

In acurast-local-parachain-plain.json set the parachain id to 2000 by:

  • changing the value of para_id at the root level
  • changing the value at genesis.runtime.parachainInfo.parachainId

Then create the raw version of the chain spec:

./target/release/acurast-node build-spec --chain acurast-local-parachain-plain.json --raw --disable-default-bootnode > acurast-local-parachain-2000-raw.json

Now run the node with the following command:

RUST_LOG=runtime=trace ./target/release/acurast-node --alice --collator --force-authoring --chain acurast-local-parachain-2000-raw.json --base-path /tmp/parachain/alice --rpc-port 8080 --port 40333 --ws-port 8844 --unsafe-rpc-external --unsafe-ws-external --rpc-cors all -- --execution wasm --chain ../polkadot/acurast-local-raw.json --port 30343 --ws-port 9977

The above command assumes that there is a rococo relay chain with the raw spec at ../polkadot/acurast-local-raw.json.

See substrate tutorials on how to setup the replay chain and connect a parachain to it:

About

Acurast's own Substrate chain.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages