Power-up your app with bitcoin payments

Embed wallets and instant payments into your apps with Alby Wallet API or NWC.

Subscribe to Alby Cloud or self-host Alby Hub and use bitcoin like never before.

Tools

Full bitcoin developer stack, designed with simplicity and effectiveness in mind

Use cases

Any programmatic payments you can think of. Sky is the limit.

Ecommerce

Accept payments with little operational effort from a global customer base

Rewards

Pay out rewards to your users in bitcoin, the hardest money on earth

Community

Leverage your node for your community and provide sub-wallets for easy onboarding

AI agents

Enable agents to engage in transactions with human users and other agents

Podcast hosting

Give your creators a chance to build up a new revenue stream and earn your fair split

Podcast app

Let your listeners connect a bitcoin wallet to support and interact with their favorite podcasters

Docs

Integrate bitcoin payments with just a few lines of code.

import { webln } from "@getalby/sdk";
const nwc = new webln.NWC({ nostrWalletConnectUrl });

// 🎤 Connect to the relay
await nwc.enable();

// ⚡ Send the payment
const response = await nwc.sendPayment(invoice);
import { webln } from "@getalby/sdk";
const nwc = new webln.NWC({ nostrWalletConnectUrl });

// 🎤 Connect to the relay
await nwc.enable();

// ⚡ Send the payment
const response = await nwc.sendPayment(invoice);
import { webln } from "@getalby/sdk";
const nwc = new webln.NWC({ nostrWalletConnectUrl });

// 🎤 Connect to the relay
await nwc.enable();

// ⚡ Send the payment
const response = await nwc.sendPayment(invoice);

NWC — Zero-custody bitcoin apps

Nostr Wallet Connect — self-custodial bitcoin apps

Let users connect their wallets to your apps. Send and receive payments, list balances, and manage flows without holding user funds.

NWC — Zero-custody bitcoin apps

Let users connect their wallets to your apps. Send and receive payments, list balances, and manage flows without holding user funds.

Alby API — programmatic payments

Use OAuth to let users connect accounts, send payments, read balances, or trigger webhooks.

Alby API — programmatic payments

Use OAuth to let users connect accounts, send payments, read balances, or trigger webhooks.

import { LN, USD } from "@getalby/sdk/lnclient";

const credentials = "nostr+walletconnect://...";

// pay a lightning invoice
await new LN(credentials).pay("lnbc...");

// or pay $1 USD to a lightning address
await new LN(credentials).pay("hello@getalby.com", USD(1));
import { LN, USD } from "@getalby/sdk/lnclient";

const credentials = "nostr+walletconnect://...";

// pay a lightning invoice
await new LN(credentials).pay("lnbc...");

// or pay $1 USD to a lightning address
await new LN(credentials).pay("hello@getalby.com", USD(1));
import { LN, USD } from "@getalby/sdk/lnclient";

const credentials = "nostr+walletconnect://...";

// pay a lightning invoice
await new LN(credentials).pay("lnbc...");

// or pay $1 USD to a lightning address
await new LN(credentials).pay("hello@getalby.com", USD(1));
function pay(invoice) {

        // 🔓 Request permissions
        await webln.enable();

        // ⚡ Send the payment
        await webln.sendPayment(invoice);
}
function pay(invoice) {

        // 🔓 Request permissions
        await webln.enable();

        // ⚡ Send the payment
        await webln.sendPayment(invoice);
}
function pay(invoice) {

        // 🔓 Request permissions
        await webln.enable();

        // ⚡ Send the payment
        await webln.sendPayment(invoice);
}

WebLN — build web apps with payments

Add bitcoin payments to web apps with just a few lines of JavaScript. Request payments, generate invoices, and integrate seamlessly.

WebLN — build web apps with payments

Add bitcoin payments to web apps with just a few lines of JavaScript. Request payments, generate invoices, and integrate seamlessly.

Get a wallet

Need a wallet for testing your app payments? Get Alby Hub

01

Create your own Alby Hub wallet

Create your Alby Hub wallet

Create an Alby Account (lightning address included) and set up Alby Hub, your own self-custodial wallet.

02

Top up your wallet

Deposit bitcoin from another wallet or from these exchanges.

03

Ready for testing!

Check out all the tools we offer to build your bitcoin-powered.