CryptoWallet docs
v3.0.0
Get help
● Start · How the parts talk

Architecture
three parts, one contract.

What runs where, and which part ever sees a key.

Non-custodialKeys stay on the phone

01The picture

Android appkeys stay here api (Cloud Function)/v1/* · holds your keys 0x · CoinGeckoRPC node · AI provider Firestoreconfig · content · stats Operator consoleNode 26 · /admin Public nodesswap checks in the app

Solid lines are the normal flow. The app talks to the API over HTTPS; the API reads your settings from Firestore and calls the third parties with your keys. The console writes the settings with the Firebase Admin SDK. The app also reads 0x's on-chain registry through public endpoints that are pinned in the app, to verify swaps (see Security).

02What the backend never sees

A recovery phrase, a private key, a signature, a balance, a transaction history or an address book. The few calls that carry an address (a swap quote, a claim proof lookup) forward it to the service that needs it and do not store or log it. The only device data stored is an anonymous Firebase id, and an FCM token if you add push to the app. The complete table is in docs/CONTRACT.md, section 0.

03Components

PieceRuntimeNotes
AppAndroid 8.0+ (API 26)Kotlin, Compose, web3j for key derivation and hashing
apiCloud Functions 2nd gen, nodejs24, 512 MiB, 60 sPublic invoker; checks Firebase ID tokens itself for the two account endpoints
sendCampaignsScheduled every 5 minutesThe only sender of push campaigns
ConsoleNode.js 26 LTSOwn data in data/admin.sqlite or Postgres