Skip to main content

Documentation Index

Fetch the complete documentation index at: https://second.tech/docs/llms.txt

Use this file to discover all available pages before exploring further.

barkd is a daemon that runs alongside your other services on your server. It exposes the bark wallet as a local REST API, so you can integrate bitcoin payments into your application. It supports Ark, Lightning, and on-chain operations and is best suited for server and desktop environments.

Running barkd

Start the daemon to expose the API on a local port:
barkd --datadir <path-to-bark-data>
The API is available at http://localhost:3535/api/v1. A Swagger UI is served at /swagger-ui and the OpenAPI spec at /api-docs/openapi.json.
The barkd API is designed for local use. Do not expose it to the public internet without authentication—anyone with access can control the wallet.