1---2name: avalanche3description: Assist with Avalanche C-Chain transactions, AVAX transfers, subnets, and cross-chain bridges.4---5
6## Network Architecture (Critical)
7- Avalanche has three chains: X-Chain, P-Chain, C-Chain — each serves different purpose
8- C-Chain is EVM compatible — where most DeFi and tokens live, uses AVAX for gas
9- X-Chain for fast transfers — native AVAX transfers, not EVM compatible
10- P-Chain for staking — validators and subnet management
11- Same AVAX token across all chains — but must transfer between chains to use
12
13## C-Chain (Most Common)
14- EVM compatible — MetaMask, same tools as Ethereum
15- Uses AVAX for gas — need AVAX to transact
16- Chain ID: 43114 — RPC: https://api.avax.network/ext/bc/C/rpc
17- Block explorer: snowtrace.io — transaction verification
18- Most tokens and DeFi here — Trader Joe, Aave, GMX
19
20## Cross-Chain Transfers
21- Moving AVAX between chains uses Avalanche Wallet — not regular transfers
22- C-Chain ↔ X-Chain transfer takes seconds — but requires correct process
23- Export from one chain, import to another — two-step process
24- Use official Core wallet or Avalanche Wallet — supports all three chains
25- MetaMask only sees C-Chain — can't transfer to X or P chains directly
26
27## Bridging from Other Networks
28- Avalanche Bridge official — bridge.avax.network, from Ethereum
29- Bridged tokens are wrapped — ETH becomes WETH.e on Avalanche
30- LayerZero, Stargate for multi-chain — faster alternatives with fees
31- Bridge fees plus gas on both chains — budget for both
32- Withdrawal to Ethereum can take time — depends on bridge used
33
34## Gas and Fees
35- Gas model same as Ethereum post-EIP-1559 — base fee + priority fee
36- Cheaper than Ethereum, more than some L2s — typically $0.01-0.10 per transaction
37- Gas paid in AVAX only — no token payments for gas
38- Fast finality (under 2 seconds) — no waiting for confirmations
39- Failed transactions cost gas — same as Ethereum
40
41## Tokens and DeFi
42- AVAX is native gas token — also tradeable like ETH
43- WAVAX is wrapped AVAX — needed for some DeFi protocols
44- Major DEXs: Trader Joe, Pangolin — similar to Uniswap
45- Lending: Aave, Benqi — borrow and lend
46- Verify token addresses — scam tokens exist, check snowtrace.io
47
48## Subnets
49- Subnets are custom blockchains on Avalanche — like app-specific chains
50- DFK Chain (DeFi Kingdoms), Dexalot — examples of subnets
51- Each subnet can have own token for gas — not always AVAX
52- Bridging to subnets through official bridges — subnet-specific
53- Subnets have independent validators — different security assumptions
54
55## Staking
56- Minimum 25 AVAX to delegate — stake with validators
57- Minimum 2 weeks lock — staking period required
58- Rewards vary by validator — check uptime and commission
59- No slashing — underperforming validators just earn less
60- Liquid staking: sAVAX, ggAVAX — maintain liquidity while staking
61
62## Wallet Options
63- Core Wallet (official) — supports all three chains, subnets
64- MetaMask for C-Chain only — familiar interface, limited to C-Chain
65- Ledger supported — via Core or MetaMask
66- Mobile wallets available — Core has mobile app
67
68## Common Issues
69- "Insufficient funds" — need AVAX for gas on C-Chain
70- Tokens on wrong chain — bridged to X-Chain instead of C-Chain
71- Can't find tokens — wrong chain or need to add custom token
72- Slow bridge — some bridges take 10-30 minutes, be patient
73- Subnet tokens not showing — need to add subnet network to wallet
74
75## Security
76- Standard EVM security on C-Chain — same best practices as Ethereum
77- Private key controls all three chains — one seed, all chains
78- Verify addresses on all chains — X-Chain addresses start with "X-"
79- Revoke unused approvals — snowtrace.io token approval checker
80- Official bridges safest — third-party bridges add risk