Same as the Polkadot full node requirements.
{% embed url="https://github.com/AcalaNetwork/Acala/releases/latest" %} Shows the latest release version of Acala, Karura & Mandala {% endembed %}
- Clone the repo: https://github.com/AcalaNetwork/Acala
- Checkout tag here: https://github.com/AcalaNetwork/Acala/tags
- Install dependencies
- Build Acala:
cargo build --release --features with-acala-runtime
- Run
./target/release acala --chain=acala
- Image:
acala/acala-node:latest
oracala/acala-node:[version number]
docker run acala/acala-node:latest --chain=acala
- CLI is mostly the same as any Substrate-based chain such as Kusama and Polkadot
- Because there are two node services are running,
--
is used to split the CLI. Arguments before--
are passed to the parachain full-node service and arguments after--
is passed to the Relay Chain full-node service.- For example
--chain=parachain.json --ws-port=9944 -- --chain=relaychain.json --ws-port=9945
means-
The parachain service is using
parachain.json
as the chain spec and the web socket RPC port is 9944 -
The Relay Chain service is using
relaychain.json
as the chain spec and the web socketRPC port is 9945
-
- For example
- It is recommended to explicitly specify the ports for both services to avoid confusion
- For example
--listen-addr=/ip4/0.0.0.0/tcp/30333 --listen-addr=/ip4/0.0.0.0/tcp/30334/ws -- --listen-addr=/ip4/0.0.0.0/tcp/30335 --listen-addr=/ip4/0.0.0.0/tcp/30336/ws
- For example
- It is recommended to add
--execution=wasm
for parachain service to avoid syncing issues.
--base-path=/acala/data
--chain=acala
--name=rpc-1
--pruning=archive
--ws-external
--rpc-external
--rpc-cors=all
--ws-port=9944
--rpc-port=9933
--ws-max-connections=2000
--execution=wasm
--
--chain=polkadot