Alby Developer Guide
User GuideDeveloper Portal
Alby Browser Extension APIs
Alby Browser Extension APIs
  • 📚Overview
  • window.webln
    • 👀See Webln.guide
  • window.liquid
    • enable
    • 🆕isEnabled
    • getAddress
    • signPset
    • 🆕on
    • 🆕off
  • window.nostr
    • getPublicKey
    • signEvent
    • nip04.encrypt
    • nip04.decrypt
    • signSchnorr
    • 🆕on
    • 🆕off
  • window.webbtc
    • enable
    • 🆕isEnabled
    • getAddress
    • signPsbt
    • 🆕on
    • 🆕off
  • window.alby
    • enable
    • 🆕isEnabled
    • ➕Adding accounts
Powered by GitBook
LogoLogo

Our content

  • Website
  • Blog
  • GitHub

Follow us

  • Nostr
  • Twitter / X
  • Youtube

Contact us

  • E-mail
  • Community Chat
  • Open Hours

Your bitcoin & nostr companion / from 🐝 with 🧡

On this page

Was this helpful?

Overview

The Alby Browser Extension acts as a provider of for open standards by injecting common window objects such as:

Last updated 1 year ago

Was this helpful?

  • window.webln ()

  • window.nostr ()

  • window.liquid

  • window.webbtc ()

The browser extension also injects a special window.alby object for alby-specific functionality such as programmatically requesting the creation of new Alby accounts.

If you want to support multiple wallets implementing the same window APIs you can offer users a wallet selection UI and then use the vendor-specific APIs via window.alby. (e.g. window.alby.webln.sendPayment).

Alby Browser Extension GitHub repo

📚
WebLN
NIP-07
WebBTC
https://github.com/getAlby/lightning-browser-extension