Logo
RPC Assistant

What is the Acala Network and how do I connect to it?

摘要

The Acala Network is a decentralized finance (DeFi) hub built on Polkadot, offering cross-chain liquidity, liquid staking, and an EVM-compatible smart contract platform. This guide covers Acala's architecture, how to connect via RPC endpoints, and key considerations for developers building on Acala.

Acala Network decision checklist

Before integrating with the Acala Network, evaluate the following criteria to ensure your infrastructure aligns with your project's needs.

CriterionWhat to checkWhy it matters
Network typeMainnet or testnet (e.g., Acala Mandala)Testnet is essential for development; mainnet for production.
RPC endpoint reliabilityUptime, rate limits, and latencyUnreliable endpoints cause transaction failures and poor user experience.
EVM compatibilitySolidity support, precompilesAcala's EVM+ allows Ethereum tooling; verify compatibility with your contracts.
Data archival depthFull, archive, or pruned nodeArchive nodes are needed for historical queries; full nodes suffice for most dApps.
Provider reputationDocumentation, support, SLAsA responsive provider reduces downtime and troubleshooting effort.
Pricing modelPay-as-you-go, subscription, or dedicated nodeMatch cost structure to your traffic patterns and budget.

What is the Acala Network?

Acala Network is a decentralized finance (DeFi) platform built on Polkadot. It functions as a parachain, meaning it leverages Polkadot's shared security and interoperability while maintaining its own execution environment. Acala provides a suite of DeFi primitives including a liquid staking protocol (Homa), a decentralized exchange (DEX), and a cross-chain stablecoin system (Honzon). It is EVM-compatible, allowing developers to deploy Solidity smart contracts with minimal changes.

Key components:

  • ACA token: The native utility and governance token.
  • aUSD (now AUSD): A decentralized, multi-collateral stablecoin.
  • LDOT: Liquid staked DOT, representing staked DOT plus staking rewards.
  • Euphrates: A unified liquid staking platform.
  • EVM+: An enhanced Ethereum Virtual Machine with Substrate-native features.

Acala Network architecture

Acala is built using the Substrate framework, which provides flexibility and modularity. It connects to the Polkadot Relay Chain via a parachain slot. The network uses collators to produce blocks and relay them to Polkadot validators for finalization. This design gives Acala high throughput, low fees, and the ability to customize its runtime.

EVM+ and Substrate dual environment

Acala supports both Substrate-native pallets and Ethereum-compatible smart contracts. Developers can write contracts in Solidity and deploy them via MetaMask or Hardhat, while also accessing Substrate-specific features like on-chain governance and custom pallets.

How to connect to the Acala Network

To interact with Acala, you need an RPC endpoint. Below are examples of connecting using common tools.

Using curl

curl -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' \
  https://acala-rpc.publicnode.com

Using ethers.js

const { ethers } = require("ethers");

const provider = new ethers.providers.JsonRpcProvider(
  "https://acala-rpc.publicnode.com"
);

provider.getBlockNumber().then(console.log);

Using web3.py

from web3 import Web3

w3 = Web3(Web3.HTTPProvider("https://acala-rpc.publicnode.com"))
print(w3.eth.block_number)

Choosing an RPC provider for Acala

When selecting an RPC provider, consider the following factors:

  • Reliability: Look for providers with transparent uptime statistics and redundant infrastructure.
  • Rate limits: Ensure the plan matches your request volume. Free tiers often have strict limits.
  • Geographic distribution: Low-latency endpoints improve user experience for global audiences.
  • Support: Access to technical support can be critical during development and incidents.

OnFinality offers RPC endpoints for Acala mainnet and testnet, with flexible pricing options suitable for projects of all sizes. For high-traffic applications, a dedicated node provides isolated resources and consistent performance.

Common pitfalls and troubleshooting

1. Incorrect chain ID

Acala's chain ID is 787. Using the wrong chain ID in MetaMask or other wallets will cause transaction failures.

2. Insufficient gas for EVM transactions

Acala uses a gas model similar to Ethereum. Ensure your account has enough ACA to cover gas costs. You can estimate gas using eth_estimateGas.

3. Block finality delays

Acala blocks are finalized after being included in a Polkadot relay chain block. This may take a few seconds longer than Ethereum. Use eth_getTransactionReceipt to confirm finality.

4. Rate limiting on public endpoints

Public RPC endpoints often have rate limits. For production dApps, consider a private endpoint or dedicated node to avoid throttling.

Key Takeaways

  • Acala Network is a DeFi parachain on Polkadot with EVM compatibility.
  • It offers liquid staking, a DEX, and a stablecoin protocol.
  • Developers can connect using standard Ethereum tools via Acala's EVM+.
  • Choosing a reliable RPC provider is crucial for dApp performance.
  • OnFinality provides Acala RPC endpoints and dedicated node solutions.

Frequently Asked Questions

What is the Acala Network RPC URL?

The public RPC URL for Acala mainnet is https://acala-rpc.publicnode.com. For testnet (Mandala), use https://acala-mandala-rpc.publicnode.com.

Is Acala EVM-compatible?

Yes, Acala supports the Ethereum Virtual Machine (EVM+) with additional Substrate features. You can deploy Solidity contracts with minor adjustments.

How do I get ACA tokens for testnet?

Use the Acala faucet available on their official website or community channels. Testnet tokens have no real value.

Can I run my own Acala node?

Yes, you can run a full node using Substrate. However, for production dApps, using a managed RPC provider like OnFinality saves operational overhead.

What is the difference between Acala and Karura?

Karura is the sister network of Acala on Kusama, serving as a canary network for experimental features. Acala is the mainnet on Polkadot.

Next steps

  • Explore the Acala documentation for detailed integration guides.
  • Test your dApp on Acala Mandala testnet using a reliable RPC endpoint.
  • Compare RPC providers on OnFinality's network page to find the best fit for your project.
  • Consider a dedicated node for high-throughput applications requiring consistent performance.
RPC 知识库

相关 RPC 内容

Ethereum Rpc

对于Web3应用,最佳的以太坊RPC API是什么?

最佳的以太坊RPC API为Web3应用提供可靠的主网和测试网访问、可预测的延迟、明确的请求限制、必要时支持归档或追踪,以及面向生产流量的专用基础设施升级路径。 以太坊应用通常需要的不仅仅是免费的公共端点。钱包、DeFi工具、NFT产品、分析平台和索引器在上线前应比较RPC提供商的正常运行时间、方法...

Blockchain Infrastructure

What is node infrastructure and how do you evaluate it for Web3 projects?

Node infrastructure refers to the hardware, software, and network components that run blockchain nodes to support decentralized applications. This gui...

Network Rpc

Polkadot Asset Hub 迁移:开发者中继链过渡指南

# Polkadot Asset Hub 迁移:开发者中继链过渡指南 Polkadot Asset Hub 迁移于 2025 年 11 月 4 日执行,将核心面向用户的功能——余额、质押、治理——从中继链迁移到 Asset Hub 系统平行链。这一架构转变减少了中继链的膨胀,实现了更快的升级,并为 ...

Rpc Provider Selection

Starknet RPC: Endpoints, Providers, and Best Practices

Starknet is a ZK-rollup on Ethereum that uses STARK proofs for scalability. To interact with Starknet, you need an RPC endpoint. This guide covers pub...

Rpc Provider Selection

如何为Web3使用选择最佳的以太坊RPC API

# 如何为Web3使用选择最佳的以太坊RPC API 为Web3使用选择最佳的以太坊RPC API意味着将基础设施与你的具体工作负载相匹配。钱包需要可靠的交易提交和余额读取,DeFi仪表盘需要一致的合约调用,而索引器可能需要归档数据或追踪支持。免费的公共端点适用于测试,但通常缺乏生产环境所需的速率限...

Rpc Provider Selection

Web3 应用的最佳以太坊 RPC 是什么?

# Web3 应用的最佳以太坊 RPC 是什么? 选择 Web3 应用的最佳以太坊 RPC 取决于您的具体需求:延迟、吞吐量、MEV 保护、存档数据访问和预算。没有适用于所有用例的单一“最佳”提供商。对于生产级 dApp,像 OnFinality 这样的托管 RPC 服务提供专用节点、高可用性和多链...

永远不用担心基础设施

OnFinality 消除了 DevOps 的繁重工作,让您能够更聪明、更快地构建。

开始