Git Product home page Git Product logo

acurast-substrate's Introduction

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:

acurast-substrate's People

Contributors

godenzim avatar gitsimon avatar romarq avatar itmilos avatar pascuin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.