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:

  • window.webln (WebLN)

  • window.nostr (NIP-07)

  • window.liquid

  • window.webbtc (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

https://github.com/getAlby/lightning-browser-extension

Last updated 1 year ago

Was this helpful?

๐Ÿ“š