CryptoWallet docs
v3.1.0
Get help
● Start · The full path

Installation
from zip to your own build.

The order that works: Firebase, console, token, then the app built against your backend.

About 2 hours the first time

01The order

  1. Check the example buildFollow Quick start so you know your tools work.
  2. Create the backendFirebase: project, Blaze plan, deploy. You get your API_BASE_URL.
  3. Run the console and create the ownerConsole.
  4. Set your token, networks and swapToken, chains and RPC, Swap fee.
  5. RebrandRebranding: application id, name, colours, icons.
  6. Build the app against your backendBelow.
  7. PublishRelease.

02Build the app against your backend

Windows

In PowerShell use .\gradlew.bat instead of ./gradlew, and keep each -P option in double quotes, for example "-PapiBaseUrl=https://...".

export JAVA_HOME="/Applications/Android Studio.app/Contents/jbr/Contents/Home"
cd app
./gradlew :app:assembleDebug \
  -PapiBaseUrl=https://<region>-<project-id>.cloudfunctions.net/api \
  -PfirebaseApiKey=<your Firebase web API key>
Gradle propertyMeaning
-PapiBaseUrlYour backend, the function URL or your own domain with a Hosting rewrite. Default in the source is a placeholder.
-PfirebaseApiKeyOptional override of the Firebase web API key. The console field App connection can supply it instead (the app reads it from /v1/config). The key is used only for anonymous sign-in.
-PexampleMode=trueThe demo variant with fictional data and no network. Never ship it.

Install the APK as in Quick start. On first start without a token set in the console, the home screen says the project has not set a token yet; it never shows a placeholder token.

03Run the project tests (optional)

cd app && ./gradlew :core:test :app:testDebugUnitTest :app:lint
cd ../firebase/functions && npm ci && npm run test:all   # test:all also runs the rules tests, which need Java 21+ and the Firebase CLI
cd ../../admin && npm ci && npm test

Use ; instead of && in older Windows PowerShell, or run each line on its own.