Developers
Developer Portal
Integration notes, endpoints and resources for the building blocks ARCANE is made of.
What is here today
ARCANE does not ship a packaged SDK or hosted API. What exists is the application source: small, typed modules for networks, balances, swaps and directory data that you can read and reuse. Starknet is wired in through lib/starknet.ts: wallet-API connect, ERC-20 balances over RPC and AVNU swaps.
Integration guides
Connect a wallet
EIP-1193 and Solana wallet adapters, account switching, read-only mode.
Quote and route a swap
Request quotes from Jupiter and LI.FI, check impact, hand the transaction to the wallet.
Read ecosystem data
Protocols, TVL and yields from DeFiLlama; proposals from Snapshot.
Tutorials
Short step-by-step guides for common tasks.
Quickstart snippets
const [account] = await window.ethereum.request({ method: "eth_requestAccounts" });
await window.ethereum.request({
method: "wallet_switchEthereumChain",
params: [{ chainId: "0x2105" }], // Base
});Source modules
In this repository
lib/chains.ts
Network registry: RPCs, tokens, explorers
lib/portfolio.ts
Balance + price aggregation for EVM and Solana
lib/evm.ts · lib/solana.ts · lib/starknet.ts
Chain-specific signing helpers (no keys held)
lib/llama.ts · lib/snapshot.ts · lib/starkscan.ts
Directory, yield, governance and Starknet indexer clients
lib/vault.ts
WebCrypto note and file encryption
Ecosystem resources
Official documentation, external
Default RPC endpoints
Public and rate-limited. Override in Settings.
| Network | Chain ID | Endpoint |
|---|---|---|
| Ethereum | 1 | ethereum-rpc.publicnode.com |
| Base | 8453 | base-rpc.publicnode.com |
| Arbitrum | 42161 | arbitrum-one-rpc.publicnode.com |
| Optimism | 10 | optimism-rpc.publicnode.com |
| Polygon | 137 | polygon-bor-rpc.publicnode.com |
| BNB Chain | 56 | bsc-rpc.publicnode.com |
| Solana | - | solana-rpc.publicnode.com |
| Starknet | - | starknet-rpc.publicnode.com |