Khala parachain repo.
cargo build --profile production
cargo build --profile testnet
- Build
cargo build --release
- Prepare binaries
You can get latest Polkadot Linux release from https://github.com/paritytech/polkadot/releases
For macOS, you have to build from source
cp <path-to-polkadot> ./polkadot-launch/bin/
cp ./target/release/khala ./polkadot-launch/bin/
- Start a local test net
cd polkadot-launch
yarn
yarn start ./thala_dev.config.json
- (Optional) Inject session key.
Only required for
*_local.config.json
Please make sure to use the correct session key json file.
cd scripts/js
yarn
KEY_FILE=session_key.json.example node insert_session_key.js