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
docker compose up
Once you see logs like this, the local development stack is ready.
--------------------------------------------
π SERVER STARTED π
--------------------------------------------
version : bodhi.js/eth-rpc-adapter/2.9.4
endpoint url : ws://node:9944
subquery url : undefined
server host : localhost
server port : 8545
max blockCache : 200
max batchSize : 50
max storageSize : 5000
cache capacity : 1000
safe mode : false
local mode : false
http only : false
verbose : true
--------------------------------------------
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.
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
Was this helpful?