NewWe’re now live on mainnet

The simple way to add bitcoin payments to your app

Support fast, low-cost payments across Ark, Lightning, and on-chain through a single integration. No channel management and fully self-custodial.

import { Wallet, generateMnemonic } from "@secondts/bark-react-native"

const wallet = await Wallet.create(generateMnemonic(), config, dataDir, false)

// ⚡ Pay a Lightning invoice. No channels, no liquidity to manage.
await wallet.payLightningInvoice("lnbc1pvjluez...", undefined, true)

// Pay an Ark address. Instant and off-chain.
await wallet.sendArkoorPayment("ark1qqn8zq...", 25_000n)

const { spendableSats } = await wallet.balance()

One Rust core. Native bindings for every platform.

Available in

ImageArk + Lightning

Enable Ark and Lightning with one integration

ImageArk

A new approach to bitcoin scaling

Ark lets users share UTXOs and transact them off-chain, so payments are instant and cheap. Plus, it even simplifies sending payments over Lightning!

Easy onboarding

Easy onboarding

No fees or channel opening. Ark users can start receiving self-custodial bitcoin payments immediately after setting up their wallet.

More about onboarding
Fast, low-cost transactions

Fast, low-cost transactions

Settle payments almost instantly with minimal fees, giving users a seamless experience without the delays and costs of on-chain transactions.

More about transactions
Familiar bitcoin-like model

Familiar bitcoin-like model

Bitcoin-like addresses and a familiar interface that make for an effortless transition to layer two for developers and users alike.

More about Ark UX
Lightning

Enable Lightning payments, painlessly

Lightning is awesome. But if you’ve ever built a Lightning integration, you’ll know how brutal it can be. With Second, you can do Lightning without “doing Lightning”.

Developer docs

The fastest way to get started with your Ark + Lightning integration.

Explore the docs

Source on GitLab

Get familiar with bark, Second’s Ark wallet implementation. Woof!

View bark on GitLab
Enable Lightning payments
Channel management
Lightning

Never have to worry about channel management again

Second helps you skip the stress of channel management and payment routing. You only need to take care of the Ark integration and your users will get access to the Lightning Network. No Lightning expertise required.

No-node Lightning

Use Lightning without requiring a node on-device or at home.

Explore the docs

Infinite inbound

Begin receiving Lightning payments the second you install the app.

Explore the docs
Lightning

Seamless onboarding: No fees, no friction

With Ark, onboarding is as smooth as it gets. Your users can start sending Lightning payments instantly without the need to open a channel first. It’s the fastest way to get started, delivering a user experience that’s intuitive and hassle-free.

Seamless onboarding
FAQ

Answering your questions about the Ark protocol

Ark is the latest bitcoin tech, so it's normal to have some questions! If we've missed anything, let us know in the Second community.

ImageArk

How Second’s Ark implementation works

Transact with virtual transactions off-chain, with cryptographic assurances that you can broadcast your transaction on-chain even if your Ark isn’t available.

Client-server structure

Client-server structure

Instead of relying on a network of nodes, Ark users connect to an Ark server, where they can transact with other users of the Ark quickly and at low cost. Liquidity management is taken care of by the Ark, leaving you and your users to focus on more important things.

Virtual UTXOs

Virtual UTXOs

VTXOs are off-chain UTXOs that can be broadcast on the bitcoin blockchain at any time.

Round-based anchors

Round-based anchors

Shared UTXOs are written to the bitcoin blockchain periodically. Verify your Ark balance on-chain.

Offboarding to on-chain

Offboarding to on-chain

To move bitcoin back on-chain, make a payment to any on-chain address, and it’ll be broadcast in the Ark’s next round.

Ark-to-Lightning gateway

Ark-to-Lightning gateway

Pay Lightning invoices directly from an Ark balance, no channels, liquidity, or LSPs required. Handled atomically.

Learn more about how Ark works
Open source

We’re building the Ark protocol

All our contributions are open-source. If you’d like to run, test, or contribute to Second’s implementation of the Ark protocol, head to our code repository.

Stay ahead of the Ark

Be the first to hear about Second and Ark updates.