🧙‍♂️
Acala EVM+ Documentation
Acala WikiAcalaSwapHoma Liquid Staking
  • Getting started
  • 💡General
    • About Acala EVM+
    • Security considerations of developing in Acala EVM+
  • 🌐Network
    • Network configuration
    • Network setup
      • Local development network
      • Connecting to a public network with local RPC node
    • Predeployed smart contracts
      • Details
    • ACA token
    • Gas parameters
  • 🛠️Tooling
    • Tooling
    • Faucet
    • RPC adapter
    • Chain explorer
    • MetaMask
      • Connect to the network
      • Simple transactions
    • EVM playground
      • Deploy smart contracts
      • Interacting with smart contracts
    • Remix IDE
      • Deploying a smart contract
      • Interacting with the deployed smart contracts
  • 🎓Examples
    • Examples
  • ✨Special features
    • Special features
    • Using polkadot wallet to interact with EVM+
    • Batch EVM transactions
  • 💻Applications
    • Acala Multichain Asset Router
  • 🔎Miscellaneous
    • FAQs
    • Common errors
    • ETHDenver
    • Request support
    • Feedback or suggestions?
Powered by GitBook
On this page
  • Starting the stack
  • The local development network services

Was this helpful?

  1. Network
  2. Network setup

Local development network

Instructions on how to run a full local development network

PreviousNetwork setupNextConnecting to a public network with local RPC node

Last updated 5 months ago

Was this helpful?

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 , 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.

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:

  • An ETH JSON-RPC service:

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 .

A local mandala node:

*A subquery service:

Local network substrate chain explorer:

You can now setup and interact with your local setup, or try to deploy or interact with a smart contract.

🌐
docker compose file
subquery docs
ws://localhost:9944
http://localhost:3001
http://localhost:8545
ws://localhost:8545
Polkadot.js App
Metamask on localhost