Developer docs

Build on AERE, EVM-compatible Layer 1, chain ID 2800, 1-second blocks, QBFT consensus.

Quick reference

Public RPC
https://rpc.aere.network copy
WebSocket
wss://wss.aere.network copy
Chain ID
2800 (0xAF0)
Native token
AERE (18 decimals)
Indexer API

Add to MetaMask

Click the button below or visit aere.network/addnetwork:

Public RPC: rate limits

The public RPC at rpc.aere.network is open and rate-limited per IP.

EndpointAuthPer-second limitPer-day limit
rpc.aere.networknone100unlimited

SDK quickstart

JavaScript / TypeScript (@aere/sdk)

// not yet on public npm, install from GitHub: npm install github:aerenetwork/aere-sdk ethers
import { AereClient } from "@aere/sdk";

const aere = new AereClient({ rpc: "https://rpc.aere.network" });

// Read state
const portfolio = await aere.getPortfolio("0x0243A4f47D44b40b65D33f20329dE20D00c6f3C3");
console.log(portfolio);

// Watch incoming transfers
aere.watchTransfersTo(myAddr, (event) => {
  console.log("got", event.value, "AERE from", event.from);
});

Plain ethers v6

import { JsonRpcProvider, Contract, parseEther } from "ethers";

const provider = new JsonRpcProvider("https://rpc.aere.network");
const blockNum = await provider.getBlockNumber();

// Read an ERC-20 (WAERE)
const waere = new Contract(
  "0x7e84d7d66d5da4cfE46Da67CDEeB05B323e1f5e8",
  ["function totalSupply() view returns (uint256)"],
  provider
);
const sup = await waere.totalSupply();

Python (web3.py)

from web3 import Web3
w3 = Web3(Web3.HTTPProvider("https://rpc.aere.network"))
print("chain id:", w3.eth.chain_id)  # 2800
print("latest:", w3.eth.block_number)

Indexer REST API

Hosted at https://api.aere.network. CORS open. Read-only.

PathDescription
GET /api/statsLatest indexed block + total tx count
GET /api/blocksRecent blocks (limit/offset)
GET /api/block/:idBlock by number or hash + tx list
GET /api/transactionsRecent transactions
GET /api/tx/:hashSingle tx + receipt
GET /api/address/:addrRecent activity for address
GET /api/token/:addr/holdersERC-20 holders + balances
GET /api/token/:addr/transfersRecent Transfer events
GET /api/token/:addr/statsTotal transfer count
GET /api/mempoolPending-tx snapshot (last 5 min)
GET /api/mempool/streamServer-Sent Events feed of new pending tx

Contracts

Production contract addresses are bundled in @aere/sdk. The full list, with read methods, is on the dApp dashboard.

Source code

All AERE Network code is hosted at git.aere.network (self-hosted Gitea, GitHub mirror is rate-limited):