Local development network
Instructions on how to run a full local development network
The local development network consists of following services:
Local Acala Fork
Eth Rpc Adapter
*Subquery Services
Postgres database
Subquery node
GraphQL engine
Starting the stack
You can download or copy + paste this docker compose file, and then
Once you see logs like this, the local development stack is ready.
This stack contains a local Acala fork, and an eth rpc adapter.
It does not contain a subquery services, since for local testing purpose, we usually do not need subquery services, and if you would like to setup a local subquery service, you can refer to the subquery docs.
In order to have a clean start after every shutdown of the node, run the following command after the node was shut down:
docker compose down -v
The local development network services
Once the local development network is up and running, the following services are available:
A local mandala node: ws://localhost:9944
*A subquery service: http://localhost:3001
An ETH JSON-RPC service:
Local network substrate chain explorer: Polkadot.js App
You can now setup Metamask on localhost and interact with your local setup, or try to deploy or interact with a smart contract.
Last updated