paritytech / project-mythical

Mythos parachain node.
The Unlicense
5 stars 0 forks source link

Mythos Parachain Node

πŸ”° Description

Parachain node for the Mythos Games blockchain platform.

πŸ¦€ Setup

First, complete the basic Rust setup instructions.

πŸ”§ Build

Clone the parachain repository:

git clone https://github.com/paritytech/project-mythical

Use the following command to build the node without launching it:

cargo build --release

Or containerize with

docker build -t mythos-node --file ./docker/Dockerfile .

πŸ•ΈοΈ Run a local network

You will have to use Zombienet (available for Linux and MacOS) for spinning up a testnet, if you haven't setup zombienet yet, please refer to the zombienet-setup guide.

To start a Development Network run:

./zombienet.sh testnet # Starts a development network as specified in zombienet-config/testnet.toml

The script will take care of fetching the corresponding binaries for the relay chain.

To start the Mainnet Network run:

./zombienet.sh mainnet # Starts a development network as specified in zombienet-config/mainnet.toml

Currently this script will fail to start since the chain type needed to start the network was recently included in zombienet with the following PR and will be included on the next zombienet release.

In case the script fails to fetch the relay chain runtimes they can also be built from source using:

./zombienet.sh build

Notes regarding Polkadot.js and Ethereum accounts

On Polkadot.js, when bootstraping the local network with zombienet, the normal accounts are not derived from a seed. Instead, there is a known set of private/public keypairs that are used instead.

In normal circumstances when interacting with the GUI it is not necessary to control these private keys when submitting extrinsics to the chain, but if you are interacting via script then they are needed.