Repository Public
1# QYVORA — chains23One section per chain: network identifiers, derivation, address format, fee model, indexers and their limits, what is4and is not supported. Every statement is read from the code named next to it; the register of what was verified is5[STATUS.md](STATUS.md). No transaction has been broadcast by this application on any of these chains so far.67Common to all of them:89- One BIP-39 recovery phrase. Registry of networks: `ChainRegistry` (`Sources/QyvoraWallet/Chains.swift`); the10 identifiers below are `ChainID` raw values and never change between versions.11- Test networks by default. Main networks need an internal build and the user's opt-in, and then per-transaction12 limits apply (`MainnetPolicy`, `Sources/QyvoraCore/Networks.swift`); `ChainRegistry.previewLimits(for:)` gives the13 sentences shown to the user.14- Every endpoint is public, keyless and replaceable in the settings (defaults: `EndpointConfiguration.default` and15 `EVMEndpointDefaults` in `Sources/QyvoraNetworking/HTTP.swift`, `SolanaEndpoints.default`, `TronEndpoints.default`).16 An endpoint must prove which chain it serves before its data is used (genesis or identity block, EIP-155 chain id).17- No signature scheme of any of these networks resists a large quantum computer.1819## Bitcoin2021| | |22|---|---|23| Networks | `bitcoin`, `bitcoin-signet` (default test network), `bitcoin-testnet` |24| Derivation | BIP-84, `m/84'/0'/0'` (main), `m/84'/1'/0'` (test); receive `…/0/i`, change `…/1/i` |25| Addresses | native SegWit P2WPKH, Bech32 (`bc1q…`, `tb1q…`); a new address for every payment |26| Signatures | secp256k1 ECDSA (BIP-143 digest). Schnorr (BIP-340) is implemented in the engine and not used for spending |27| Fees | fee rate (sat/vB) × virtual size; slow / normal / fast from the indexer's estimates, or a custom rate; coin control |28| Indexers | Esplora: mempool.space and blockstream.info |29| Cold signing | yes, PSBT (BIP-174) |30| Unaudited mainnet limits | 0.002 BTC per transaction; fee at most 20 000 sat and 200 sat/vB |3132More: [BITCOIN.md](BITCOIN.md).3334## Litecoin3536| | |37|---|---|38| Networks | `litecoin`, `litecoin-testnet` |39| Derivation | BIP-84, `m/84'/2'/0'` (main), `m/84'/1'/0'` (test) |40| Addresses | native SegWit, Bech32 (`ltc1q…`, `tltc1q…`) |41| Signatures | secp256k1 ECDSA, BIP-143 digest |42| Fees | fee rate × virtual size, three tiers or custom, coin control |43| Indexers | main: Blockbook (zelcore, atomicwallet) and Bitcore; test: Bitcore |44| Cold signing | no |45| Unaudited mainnet limits | 150 USD per transaction, with fresh prices from two sources that agree; fee at most 0.001 LTC and 200 litoshi/vB |4647## Dogecoin4849| | |50|---|---|51| Networks | `dogecoin`, `dogecoin-testnet` |52| Derivation | BIP-44, `m/44'/3'/0'` (main), `m/44'/1'/0'` (test) |53| Addresses | legacy P2PKH, Base58Check (`D…`); Dogecoin has no SegWit |54| Signatures | secp256k1 ECDSA, legacy digest: it does not commit to the amounts, so the wallet reads the previous transactions of the coins it spends before signing |55| Fees | fee rate × size (minimum 1 DOGE per kB), three tiers or custom, coin control |56| Indexers | main: Blockbook (zelcore) and Bitcore. **Test network: none** in the built-in endpoints; its balance and history cannot be read |57| Cold signing | no |58| Unaudited mainnet limits | 150 USD per transaction, with fresh prices from two sources that agree; fee at most 5 DOGE and 1 DOGE/kB |5960## Bitcoin Cash6162| | |63|---|---|64| Networks | `bitcoin-cash`, `bitcoin-cash-testnet` (testnet4) |65| Derivation | BIP-44, `m/44'/145'/0'` (main), `m/44'/1'/0'` (test) |66| Addresses | CashAddr P2PKH with its prefix (`bitcoincash:q…`, `bchtest:q…`); a CashAddr without prefix is refused, the legacy form is accepted on input with a note |67| Signatures | secp256k1 ECDSA, BIP-143 digest with fork id |68| Fees | fee rate × size, three tiers or custom, coin control; no replace-by-fee |69| Indexers | main: Blockbook (zelcore) and Bitcore; test: Bitcore. Bitcoin Cash shares Bitcoin's genesis block: an endpoint is identified by a block after the fork |70| Cold signing | no |71| Unaudited mainnet limits | 150 USD per transaction, with fresh prices from two sources that agree; fee at most 0.0005 BCH and 20 sat/byte |7273For the three coins above the last synchronization is kept between launches (`UTXOCoinSyncRecord`,74`Sources/QyvoraWallet/WalletService+UTXOCoins.swift`) and shown as the previous session's until a new one completes;75each synchronization reads every address again (no incremental reuse). Exposed outputs can be swept to a fresh76address with `prepareSweepOfExposed(chain:)`, signed on the device.7778## EVM networks7980One account for all of them: `m/44'/60'/0'/0/0`, secp256k1 ECDSA, EIP-55 address. Only EIP-1559 (type 2)81transactions are signed; the chain id is inside the signed payload. Fee: slow / normal / fast priority fee by the82rules of each network (`EVMFeeRules`); `feeQuote(chain:asset:)` gives an estimate before a recipient exists, the83review of `prepareSend` states the real expected and maximum fee. ERC-20 tokens: built-in list, custom tokens read on84chain, tokens found by the indexer kept apart until accepted. Cold signing: yes (the unsigned 0x02 payload). Open85token approvals are found in the history and can be revoked on the network they are on.8687| Chain | Identifiers | Chain id (main / test) | Coin | History source shipped |88|---|---|---|---|---|89| Ethereum | `ethereum`, `ethereum-sepolia` | 1 / 11155111 | ETH | both (Blockscout) |90| Base | `base`, `base-sepolia` | 8453 / 84532 | ETH | Sepolia only |91| Arbitrum | `arbitrum`, `arbitrum-sepolia` | 42161 / 421614 | ETH | none |92| Optimism | `optimism`, `optimism-sepolia` | 10 / 11155420 | ETH | both |93| Polygon | `polygon`, `polygon-amoy` | 137 / 80002 | POL | none |94| BNB Smart Chain | `bsc`, `bsc-testnet` | 56 / 97 | BNB | none |95| Avalanche C-Chain | `avalanche`, `avalanche-fuji` | 43114 / 43113 | AVAX | both (Routescan, Etherscan dialect) |9697Where no history source ships, balances and payments work; history, token discovery and approvals are not available98and the wallet says so. Base and OP Mainnet (OP Stack) add an L1 data fee, quoted by the network's GasPriceOracle and99included in the fee shown; a cold device cannot verify it. On Arbitrum the gas of a plain transfer is estimated by the100node (it carries the L1 component). Unaudited mainnet limits: a native value ceiling and a fee ceiling per network101(`MainnetPolicy.nativeValueCeiling(for:)`, `feeCeiling(for:)`: 0.05 ETH and 0.01 ETH of fee on Ethereum), 150 USD per102token transfer (a dollar-pegged token counts for at least 0.90 USD; any other needs fresh prices from two sources that agree), approvals only to revoke.103104More: [ETHEREUM.md](ETHEREUM.md).105106## Solana107108| | |109|---|---|110| Networks | `solana` (mainnet-beta), `solana-devnet` (default test network), `solana-testnet` |111| Derivation | SLIP-0010 Ed25519, `m/44'/501'/0'/0'` |112| Address | the Ed25519 public key itself, base58. No checksum: a mistyped character usually gives another valid address |113| Signatures | Ed25519 (RFC 8032), written from scratch (`Sources/QyvoraEd25519`) |114| Fees | 5 000 lamports per signature plus a priority fee (compute-unit price × units reserved); slow / normal / fast from recent prioritization fees, or a custom price |115| Endpoints | JSON-RPC of each cluster; history from the same RPC (the 20 most recent signatures) |116| Tokens | SPL Token and Token-2022 (transfers with extensions the wallet does not handle are refused); the sender pays the rent of a recipient's new token account, shown apart from the fee |117| Validity | a transaction is tied to a recent blockhash: about a minute (`SendReview.expiresAt`) |118| Cold signing | reviewed offline (`qyvtx1` envelope); while the build is unaudited, signed only by a device that is online, which first checks that the blockhash is not a main-network one (QYV-APP-040) |119| Unaudited mainnet limits | 150 USD of SOL per transaction, with fresh prices from two sources that agree; priority fee at most 0.01 SOL; a new token account at most 0.01 SOL |120121Every payment is simulated by the node before the user is asked anything. A memo can be attached.122123## TRON124125| | |126|---|---|127| Networks | `tron`, `tron-nile` (default test network), `tron-shasta` |128| Derivation | BIP-32 secp256k1, `m/44'/195'/0'/0/0` |129| Address | Base58Check, 34 characters starting with `T` |130| Signatures | secp256k1 ECDSA over the SHA-256 of the transaction's raw data (protobuf encoded by the wallet itself) |131| Fees | no tiers. Bandwidth for the bytes and, for a token, energy; what the account lacks is paid by burning TRX; a first payment to an unused address pays its activation. `feeQuote` gives a resource estimate |132| Endpoints | full nodes (TronGrid, PublicNode, nileex.io) and the TronGrid history index |133| Tokens | TRC-20; the outcome of a transfer is read from its receipt, never from the return value |134| Validity | two minutes; thirty when prepared for cold signing |135| Cold signing | reviewed offline (`qyvtx1` envelope); while the build is unaudited, signed only by a device that is online, which first checks that the reference block is not a main-network one (QYV-APP-040) |136| Unaudited mainnet limits | 150 USD of TRX per transaction, with fresh prices from two sources that agree; fee limit and worst-case fee at most 100 TRX |137138**TRON broadcast has never been exercised against a real node**; every TRON review says so. Whether the account ever139sent a transaction is measured from the history, from one extra question to the index for a long history140(`only_from=true`), and from the bandwidth or energy the account consumed.141