Skip to main content

WalletPress Architecture ๐ŸŸข

UI (Vue 3 / Nuxt) โ”€โ”€โ–ถ WalletPress API (:8001)
โ”‚
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ–ผ โ–ผ โ–ผ
Chain Adapters Postgres Price Feeds
(per family: (wallets, (CoinGecko,
EVM / SVM / labels, DexScreener,
UTXO / TVM) cached balances) 0x โ€” free tiers)

Adapter familiesโ€‹

FamilyChains (examples)Data source pattern
EVMEthereum, Base, Arbitrum, Optimism, +30 moreRPC eth_getBalance + token transfers via indexer API
SolanaMainnetRPC getBalance + SPL token accounts
UTXOBitcoin, Litecoin, DogecoinPublic explorer APIs
TVMTRONTrongrid API

Adding a chain = implementing one adapter interface + chain registry entry. See Chains for the full list.

Caching strategyโ€‹

Balances are cached with per-chain TTLs (fast chains 30 s, slow chains 120 s). Price feeds refresh on a 60 s sweep. Stale-while-revalidate keeps the UI instant.