Skip to main content
Most configuration settings for the Bark plugin are available on Bark > Settings. There are also a few Lightning-specific settings available on Lightning > Settings.

Bark settings

Screenshot of the Bark Settings page, with the payments, refresh, and Branta toggles, the auto-refresh threshold dropdown, the Automatic sweep section, and the Backup section

Accept Lightning & Ark payments

This toggle enables the Lightning and Ark payment methods at checkout. When turned off, your checkout falls back to your native BTCPay on-chain wallet, and to your own Lightning node if the store kept one. Your Bark balances and settings remain untouched, and you can still send and receive from the admin panel.

Refresh on receive

Off by default. When enabled, the plugin refreshes each VTXO you receive in the next available round, rather than waiting until it approaches expiry.
Refreshing on receive provides maximum security, but it significantly increases the cost of receiving payments over Bark. See the Ark receive and Lightning receive trust models, and Second’s pricing.

Verify send destinations with Branta

On by default. When enabled, the Send screen looks up each Lightning and Ark destination with Branta and names the platform it belongs to, as described in Confirm the recipient with Branta. When turned off, the Send screen shows no verification line.

Auto-refresh threshold

The plugin automatically refreshes any VTXO whose remaining lifetime drops below this threshold. The dropdown labels every option with its cost on your Ark server. The default is one day before expiry. Wider thresholds give a larger safety margin before expiry but can cost liquidity fees. See Second’s pricing for the fee tiers. With automatic sweeps on, the plugin can sweep VTXOs in your fee tier just before their refresh, instead of refreshing them. A wider threshold can also put the cheapest sweep fee tiers out of reach and pause your sweeps.
Wide thresholds can result in significant costs and drain an off-chain balance. The plugin caps the options at half a VTXO’s lifetime, 14 days on Second’s server, and rejects anything above it.

Automatic sweep

Off by default. Once you set it up, the plugin moves your Ark balance to an on-chain wallet each time enough of it reaches your fee tier. The section saves its own changes, separately from the Save button at the top of the page. See Sweep your balance on-chain automatically.

Backup

Select View Recovery Phrase to display the wallet’s 12 words. The field beneath shows the wallet data directory to include in a continuous backup. See Back up your wallet.

Danger Zone

Emergency exit all begins a process that reclaims your entire off-chain balance on-chain without the Ark server’s cooperation, as described in emergency exits. The button only appears while the wallet holds spendable VTXOs. To exit only some VTXOs, use the VTXOs page instead.
Use this only when the Ark server is unresponsive and you can no longer spend your VTXOs. To complete an exit, each VTXO requires multiple on-chain transactions, so fees can be significant. If the server is still responding, an offboard is faster and cheaper.
1

Check the cost estimate

The confirmation dialog shows the estimated on-chain fee at the current feerate. One part the plugin pays now from your Bark on-chain wallet to broadcast the exit transactions. The other part it deducts later when it claims the exited bitcoin. The actual cost depends on feerates while the exit completes.
2

Select Start emergency exit

The plugin starts broadcasting the exit transactions, and BTCPay notifies you when the exit completes or fails.
Before you can start, your Bark on-chain balance needs enough confirmed, spendable bitcoin to cover the broadcast part of the estimate. If it doesn’t, the plugin shows what is spendable and the minimum it needs, and sends you to Receive to top it up with an on-chain payment. Once started, the exit broadcasts its transactions in sequence, which takes time. You can follow progress on the VTXOs page. When the exit outputs unlock, the plugin claims them into the Bark on-chain balance automatically. Withdraw them with Send, using the on-chain source.

Ark server and chain source

You confirm these two endpoints at setup, and they can’t be changed afterwards:
  • Ark Server: Second runs two servers: https://ark.second.tech on mainnet (the default) and https://ark.signet.2nd.dev on signet, for test deployments. Second doesn’t run any other servers.
  • Chain Source: Any public endpoint exposing the Esplora HTTP API. Esplora and mempool instances both work, while servers that only speak the Electrum protocol, such as a bare electrs, don’t. The plugin checks that the endpoint serves the right network. The default is Second’s https://mempool.second.tech/api.
The plugin runs on mainnet unless your BTCPay Server sets the BARK_NETWORK environment variable to signet before you set up a store. On signet, the fields come pre-filled with Second’s signet server and chain source.

Lightning settings

A few Lightning-specific options live on the Lightning page: select Lightning in your store’s sidebar, then Settings beneath it. With Bark driving Lightning, the page shows Custom Node with bark as the node, and only part of that page applies.
If your store already had a Lightning node connected when you set up Bark, the plugin left it in place. Lightning payments keep going through that node rather than Bark. Every option on the Lightning page then applies to that node as usual. To switch Lightning to Bark:
  1. Select Change connection.
  2. Select Use custom node.
  3. Expand Bark - Ark Lightning.
  4. Copy the connection string shown into the field.
  5. Select Save.

Enabled

This toggle enables the Lightning payment method at checkout on its own. Turn it off to stop offering Lightning at checkout (checkout QR codes and payment links stop including Lightning invoices). Ark and on-chain payments are unaffected. This setting is connected to the Accept Lightning & Ark payments setting. Turning Accept Lightning & Ark payments off or on sets Enabled to match, unless your store kept its own Lightning node.

Display Lightning payment amounts in Satoshis

A checkout display preference: amounts show in sats instead of BTC. Works as usual with Bark.

Unify on-chain and lightning payment URL/QR code

This setting, combined with Checkout Appearance > Default payment method on checkout, defines how the checkout appears to your customers. When you turn on Accept Lightning & Ark payments, the plugin makes Ark the default. If Bark drives your store’s Lightning, the plugin also switches on the unified QR. Customers then get one QR code that Ark and Lightning wallet apps can pay. It also carries your store’s on-chain address when the store has an on-chain wallet.
This setting also appears on the Checkout Appearance page. It’s the same setting, so changing it on one page changes it on the other.
You’ll still see a separate Bitcoin tab whenever your store adds a network fee to an on-chain payment.

Settings that have no effect

Options tied to running your own Lightning node do nothing with Bark. The plugin requests invoices from the Ark server with only an amount and an expiry, so Description template of the lightning invoice and Add hop hints for private channels to the Lightning invoice are ignored.