bark-go-example
Demo of the Bark Go bindings: spawn signet wallets and fire Ark payments between them, drawn as animated arcs on a 3D globe
Summary
| Latest Version | Unknown |
|---|---|
| License | Unknown |
| CI Status | Failing |
| Stars | 1 |
| Forks | 0 |
| Open Issues | 0 |
| Last Commit | 2026-11-21 |
| Downloads | 0 |
| Last Indexed | 2026-11-23 09:07 |
Installation
nimble install bark-go-example
choosenim install bark-go-example
git clone https://gitlab.com/ark-bitcoin/labs/bark-go-example
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| bark-go-example | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://gitlab.com/ark-bitcoin/labs/bark-go-example |
|---|---|
| Homepage | https://gitlab.com/ark-bitcoin/labs/bark-go-example |
| Registry Source | gitlab |
README

Getting started
Requirements
Run
docker-compose up --build
Open http://localhost:5173.
To stop the application, run the following command:
docker compose down
Demo
Create wallets, fund them, and send real Ark payments on bitcoin signet — visualized as animated arcs on a 3D globe.
There are two modes: Local & Online.
Local Mode
- Fund piggy bank
Click on the piggy bank icon on the top right, copy the address and fund that account.
You can use our signet faucet.
- Create participants
Click on the New participant button to spawn a new one. It will be automatically funded by the piggy bank and can start sending and receiving sats.
- Trigger transactions
Click on the Trigger transaction button to trigger a random transaction between two participants. An animated arc will appear on the 3D globe.
- See all participants
Click on the address book icon on the top right to open a sheet with the list of all participant wallets.
- List of transactions
Click on the zap icon on the top right to open a sheet with the history of all transactions.
Online Mode
Online mode lets multiple users connect to a deployed instance, each running their own wallet locally via a sidecar daemon.
- Run the sidecar
The sidecar is a small Go service that wraps the Bark FFI bindings and exposes your wallet over a local API.
cd sidecar && go run . --port 9090
- Fund your wallet
Open the piggy bank icon, copy the address shown, and fund it using the signet faucet.
- Enter a username
When you open the app, you'll be prompted to choose a username.
- Connect your wallet
Enter the sidecar URL (defaults to http://localhost:9090). The app validates the connection before proceeding.
- Send sats
Click Send sats, enter a recipient username and amount. The payment is executed by your local sidecar and an animated arc appears on the globe for all connected users.
- See online users & transactions
Use the address book icon to see who's online, and the zap icon to see your sent and received payments.
Lint & Format
We use ultracite and biome to lint and format the code on the frontend app.
cd frontend
pnpm check
pnpm fix
On the backend folder, run:
cd backend
go fmt
go vet
Tests
cd backend
go test -v ./...
Tests use mock wallets so no real signet transactions are made.
Deploy
Production uses multi-stage Docker builds with nginx as a reverse proxy.
docker compose -f docker-compose.prod.yml up -d --build
The app will be available on port 80. Online mode is enabled by default.
Stack
- Gin - Web framework for Go
- Bark Go Bindings - Go bindings for Bark
- Vite - Frontend tooling
- React - The library for web and native user interfaces
- Globe - 3D Globe
License
Released under the MIT license — see the LICENSE file for details.