ABCT Pro · self-hosted setup

Set up Pro in four steps

Pro connects to your own ABCT server, running on hardware you control. You create the accounts and API keys — the app never shares access with anyone else. Make your selections below and every command block updates to match.

Using Lite right now? Lite works entirely on your device — nothing here is required for it. When you're ready for wallets + exchanges + DeFi tracking, work top to bottom, then finish in the app: Settings → Mode → Pro → "My server is ready".

1 Pick the chains you want to track

Only the providers your selections need appear below. Everything unselected stays keyless — Bitcoin, XRP, Tron and most chains need no account at all.

Your .env keys

Create each free account, paste the key into .env (step 2 creates the file). Copy the block with the button — comments included.

Where each key comes from

2 Pick where the server runs

Any Docker-capable machine works: an old laptop, a NAS, a Raspberry Pi 4+, or a small VPS. The server is read-only — it can never move funds.

  1. Install Docker Desktop (Windows/macOS) or Docker Engine (Linux).
  2. Run the commands, then edit .env with the keys from step 1:
git clone https://github.com/Tarrant64/abct.git
cd abct
cp .env.example .env
nano .env        # paste your keys (or any editor)

cd abct-docker
docker compose up -d
# Dashboard: http://localhost:8080
  1. Open the Unraid terminal (web UI → >_ icon).
  2. The helper script clones, builds and starts the stack:
git clone https://github.com/Tarrant64/abct.git ~/abct-src
cd ~/abct-src
cp .env.example .env
nano .env        # paste your keys

cd abct-docker
./deploy_from_git.sh   # pulls, builds, starts; re-run after edits

Re-run deploy_from_git.sh whenever you change .env or want an update.

  1. SSH into the server (any 1 GB+ VPS with Docker works).
  2. Same commands as a local machine — the dashboard listens on port 8080:
ssh you@your-vps
git clone https://github.com/Tarrant64/abct.git
cd abct
cp .env.example .env
nano .env

cd abct-docker
docker compose up -d

Do not open port 8080 to the internet — use step 3 to expose the dashboard safely.

3 Decide how your phone reaches the server

Three safe options. All of them keep the dashboard closed to the open internet.

An outbound-only tunnel: no open ports, a Cloudflare login wall in front of the dashboard, and per-device service tokens the app can use. Free plan is enough.

  1. Add your domain to Cloudflare (free): dash.cloudflare.com → Add a site. If your domain is already on Cloudflare, skip.
  2. Create the tunnel: Zero Trust → Networks → Tunnels → Create a tunnel → Cloudflared. Name it abct.
  3. Install the connector on the server with the command Cloudflare shows (a single cloudflared service install <token> line — copy it from the dashboard).Alternative: ABCT also has a built-in tunnel — dashboard → Settings → Cloudflare Tunnel → paste the same token. It survives container rebuilds automatically.
  4. Public hostname: in the tunnel's Public Hostname tab addabct.yourdomain.com → service http://<server-ip>:8080.
  5. Put Access in front: Zero Trust → Access → Applications → Add a self-hosted app → domain abct.yourdomain.com. Policy: Email → your own email (One-time PIN). Now the browser dashboard asks for a code only you receive.
  6. Service token for the app: Zero Trust → Access → Service Auth → Service Tokens → Create. Keep the Client ID and Client Secret — the app asks for them in step 4 (the secret is shown once).
  7. Test: open https://abct.yourdomain.com in a browser, enter your email code, and the dashboard appears.

Your phone joins your home network from anywhere through a VPN you own. No third-party proxy in the path, and the dashboard never touches the internet at all.

  1. Install Tailscale (free, tailscale.com) on the server and on your phone, and sign both into the same account. Prefer plain WireGuard? Any self-hosted wg server works the same way — note its address.
  2. Find the server's VPN address: in the Tailscale admin console it looks like 100.x.y.z.
  3. That's the whole setup. In the app (step 4) create a Local profile withhttp://100.x.y.z:8080 — the app allows plain http only for local/VPN hosts.
# On the server (Linux): install + join
curl -fsSL https://tailscale.com/install.sh | sh
tailscale up
tailscale ip -4    # prints the 100.x.y.z address for the app profile

Trade-off vs the tunnel: the VPN must be connected on the phone before data loads; in exchange, nothing is exposed through any provider's edge.

Simplest option: the app works when your phone is on the same Wi-Fi as the server. Nothing is ever reachable from outside your home.

  1. Note the server's LAN IP (e.g. 192.168.1.50).
  2. In the app (step 4) create a Local profile with http://192.168.1.50:8080.

Tip: give the server a static DHCP reservation in your router so the address never changes.

4 Connect the app

  1. In ABCT: Settings → Mode → Pro. If you haven't set up a server yet, tap"My server is ready" in the prompt — the app takes you straight to profile setup.
  2. Profiles → + and fill in:
    • Name: anything ("Home server").
    • Base URL: https://abct.yourdomain.com (Tunnel) or http://<server-ip>:8080 (VPN / LAN, type Local).
    • Type: Cloudflare (Tunnel) or Local (VPN / home network).
    • Cloudflare Access service token (Tunnel only): the Client ID + Client Secret from step 3.6.
  3. Save → the app connects, asks for sign-in if your server has authentication enabled, and your portfolio loads.
  4. Optional: switch to Lite later and use Settings → Clone current data — Lite keeps a snapshot on-device, so both modes can live side by side.

Security rules of thumb

  • Every API key is read-only — never grant withdrawal or trading permissions anywhere.
  • Never port-forward the dashboard directly to the internet. Use a tunnel or a VPN (step 3).
  • Keys are encrypted at rest by the server; the app keeps its Access tokens in the iOS Keychain.
  • The server can only read balances. It cannot move funds.

If something doesn't connect

  • "Not signed in" / session expired — normal after inactivity; tap Sign in.
  • Tunnel profile fails — check the service token Client ID/Secret, and that the Access application's policy allows service tokens.
  • Local profile fails — VPN connected? Server IP right? curl http://<ip>:8080 from a machine on the same network answers first.
  • Prices missing — add a CoinGecko key (free) in .env or in Settings → API keys.