Skip to content

paritytech/project-mythical

Repository files navigation

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.