Exchange, custody and wallet-provider integration¶
PQWERAI is an EVM chain. Native tPQAI transfers are ordinary Ethereum-style transactions signed with secp256k1 and EIP-155, so an integration that already supports "another EVM chain" (Ethereum, BNB Chain, Ethereum Classic, Base…) needs configuration, not new code, with the differences listed on this page.
Testnet
This page describes public testnet 20778 (live since 27 November 2026). Testnet coins carry a "t": tPQAI has no value and must not be listed for trading. Mainnet parameters (chain id, genesis, endpoints) will be published separately.
Network identity¶
| Item | Value |
|---|---|
| Chain id / network id | 20778 (EIP-155 chain id; eth_chainId = 0x512a) |
| Genesis block hash | 0xe7c41635510f505a98776ca3a198730e0cc120cd10039069006be334f41f3db6 (genesis v3, Core a679d60a1) |
| Native coin | tPQAI (testnet ticker; the mainnet coin will be PQAI), 18 decimals (smallest unit "wei", as on Ethereum) |
| Wrapped coin (ERC-20) | tWPQAI 0xae14c8C74ff10F7fe43E7ADe4306E5257fdA02b4, deployed 27 November 2026 (no legacy wrapper on 20778), see standard contracts |
Public RPC (read + eth_sendRawTransaction) |
https://rpc-testnet.pqwerai.com (serves chain 20778 since 28 November 2026) |
| Explorer | https://explorer.pqwerai.com |
| Multicall3 | 0xcA11bde05977b3631167028862bE2a173976CA11 (deployed 27 November 2026) |
Always pin both the chain id and the genesis hash: a chain id alone does not identify a network.
Keys and addresses¶
- secp256k1 keys, Ethereum addresses (20 bytes,
0x+ hex), EIP-55 checksums. Any Ethereum key library, HSM or MPC engine that signs Ethereum transactions signs tPQAI transactions. - HD wallets: no PQWERAI-specific SLIP-44 coin type is registered. Use coin type 60 (
m/44'/60'/0'/0/n), as most EVM chains do; replay protection comes from the chain id, not the derivation path. - Post-quantum accounts (ML-DSA) exist only for the tQAI test token and are not used for native tPQAI.
Transactions and fees¶
| Item | PQWERAI 20778 |
|---|---|
| Accepted transaction types | 0x0 legacy (EIP-155), 0x1 access list (EIP-2930), 0x2 dynamic fee (EIP-1559) |
| Not accepted | 0x3 blob (EIP-4844), 0x4 set-code (EIP-7702) |
| Fee model | EIP-1559: the base fee is burned, the priority fee goes to the block producer |
| Base fee | starts at 1 gwei at genesis and follows EIP-1559; a native transfer costs 21,000 gas |
| Block gas limit | 15,000,000 |
| Block interval | target 3–7 s (network parameters); measure it on the live chain with the explorer |
Set maxFeePerGas to at least twice the current base fee plus your priority fee, as on Ethereum.
Confirmations and finality¶
PQWERAI combines proof-of-work blocks with BFT checkpoints signed by Smartnodes (validators).
- Credit deposits only at BFT finality: a block is final when
blockNumber ≤ g4_status.finalized_heightand its hash equals the canonical hash at that height. Nodes never reorganise below that checkpoint. See finality. - The
safeandfinalizedblock tags work on the public RPC only.rpc-testnet.pqwerai.comandrpc-testnet2.pqwerai.comresolve both to the verified Smartnode finalized checkpoint (CR-0094). Your own Core node returnsfinalized block not foundfor them, so an exchange node should keep usinglatestplusg4_status. - If validators are offline, PoW blocks continue but
finalized_heightstops. Pause deposit crediting rather than falling back to a confirmation count; alert whenlatest − finalized_heightgrows beyond your threshold.
Detecting deposits¶
| Deposit kind | How to detect |
|---|---|
| Native tPQAI sent by a normal account | Transaction to = deposit address, receipt status = 0x1, value from the transaction |
| tWPQAI and other ERC-20 tokens | Transfer(address,address,uint256) logs of the token contract, eth_getLogs (range limit 5,000 blocks per request) |
| Native tPQAI sent by a contract (internal transfer) | Not visible through RPC tracing yet: PQWERAI Core does not expose debug_trace* / trace_*. Reconcile with eth_getBalance at the block, or ask depositors to use tWPQAI or a direct transfer |
Rewards arrive without a transaction. Mining, Smartnode, founder, Quantum Reserve and IPFS-pool rewards are
credited by consensus at settlement blocks (every 32 blocks, block 32e + 1), with no transaction and no log. Never use
a deposit or hot-wallet address as a mining etherbase or validator payout address. If you must, reconcile balances by
eth_getBalance deltas rather than by summing transactions.
Running your own node¶
Run your own node for deposit and withdrawal processing. The public RPC is rate-limited and only for reads and transaction submission. Requirements:
- the
pqwerai-corebinary for the current release and the pinned GhostRider hash helper; - no hard-fork or rule flags: on chain 20778 every former fork rule (registry top-up, the stage-surround slashing
fix, EIP-6780, WASM locals metering, GhostShield v2 with payment-assurance claims from block 1, and the IPFS storage
reward from block 1) is bound in the genesis profile, so nodes pass none of them. Core
a679d60a1or later is required; older Cores refuse this genesis, and a conflicting rule flag is refused at start-up; -expect-genesis-hashset to the genesis hash above,-difficulty 64, and the bootnodes of the network bundle'sbootnodes.txt(five public nodes since the 2026-11-27 launch; a signed seed manifest for chain 20778 is not published yet).
Keep the RPC on loopback or behind your own authenticated proxy (see RPC exposure). Do not
enable -rpc.allow-unprotected-txs on a node that handles customer funds: it exists only so operators can submit the
keyless canonical deployments, and it would let replayable transactions in through your RPC.
Known differences from Ethereum (summary)¶
| Area | Difference | Status |
|---|---|---|
| Finality tags | public RPC: safe = finalized = Smartnode finalized checkpoint; own Core node: errors, use g4_status |
Public RPC done (CR-0094); Core planned |
| Tracing | no debug_trace* / trace_* namespace |
Planned (operator opt-in) |
| EVM version | up to Cancun's TSTORE/MCOPY; no blobs, no EIP-6780, nothing from Prague |
Upgrade planned |
| Explorer API | no Etherscan-compatible ?module=…&action=… API yet |
Planned |
| Rewards | credited without transactions at settlement blocks | By design |
Found a problem? Report a documentation issue · Build testnet-20778+83ff5b69f0