🧙‍♂️
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

Was this helpful?

  1. Network
  2. Network setup

Connecting to a public network with local RPC node

Instructions on how to setup local RPC node that connects to a public network

PreviousLocal development networkNextPredeployed smart contracts

Last updated 5 months ago

Was this helpful?

Except from connecting to local development network, we can also run a local RPC node connecting to public networks.

npx @acala-network/eth-rpc-adapter@latest \
  --endpoint <node-endpoint-ws-url> \
  --subql <subquery-url>

Node endpoints and subquery urls can be found in .

For example to connect to acala mainnet:

npx @acala-network/eth-rpc-adapter@latest \
  --endpoint wss://acala-rpc.aca-api.network \
  --subql https://subql-query-acala.aca-api.network

Also checkout the help command for more details

npx @acala-network/eth-rpc-adapter@latest --help

If you wish to learn more about the RPC adapter, you can find more info in the .

🌐
network configuration
RPC adapter documentation