bark to create a mainnet wallet, fund it over Lightning, and make your first payments on Second’s mainnet Ark server.
Create your wallet
Verify Bark is installed
To ensure that
bark is installed, run bark --version. Follow the installation instructions if you need to.Add funds to your wallet
The quickest way to fund your wallet is to send bitcoin from any Lightning wallet.Pay the invoice
Pay the invoice from your preferred Lightning wallet, and the sats will arrive in your Ark wallet instantly.
Make a Lightning payment
Get a BOLT11 invoice
Using a separate Lightning wallet, generate a BOLT11 invoice, or ask a friend or colleague to generate one.
Make an Ark payment
If you have a friend or colleague on the same Ark server, you can also make an Ark payment.Send some sats
<ark-address> with their Ark address and <amount> with the number of sats to send.Refresh your VTXOs
Your VTXOs have a limited lifetime and must be periodically refreshed in a round. Unlike our signet server, which runs a round every 30 seconds for testing, the mainnet server runs rounds much less frequently, so a refresh may take longer to confirm.Getting your money out, aka off-boarding
You can offboard your funds back to a regular on-chain UTXO. This is the cheapest and fastest way to leave Ark.Start building
Now that you have a feel for how fast payments are across both Lightning and Ark, you’re ready to start building. There are two integration paths depending on your use case:Bark SDK
For mobile and desktop apps where users hold their own keys.
Barkd
For exchanges, e-commerce, and services where you manage bitcoin.
Connection details
Either path connects to Second’s mainnet infrastructure using these endpoints:| Setting | Value |
|---|---|
| Ark server | ark.second.tech |
| Esplora | https://mempool.second.tech/api |
bark CLI uses the Ark server’s default chain source, so you only need to pass --ark. Point the SDK, barkd, or your own node at the Esplora endpoint when you configure a chain source explicitly.