Skip to main content

LNbits Funding Source

Since LNbits v0.12.9 Blink is available to be set as a funding source to serve the LNbits wallets and services.

How to Set Up

In the Super User Server Settings

  • get a Blink API key at dashboard.blink.sv. Find more details about the Dashboard and API keys here.

  • log in as the LNbits super user

  • open the Server settings

    LNbits super user
  • choose Blink from the dropdown menu under Funding Sources - Active Funding (Requires server restart)

  • paste your API key to the Key field

    LNbits Funding Sources
  • restart LNbits

In the Terminal

  • alternatively can edit the LNbits .env file directly if have access to the terminal on the server
    • set:
      LNBITS_BACKEND_WALLET_CLASS=BlinkWallet

      BLINK_API_ENDPOINT=https://api.blink.sv/graphql
      BLINK_WS_ENDPOINT=wss://ws.blink.sv/graphql
      BLINK_TOKEN=<YOUR_API_KEY_HERE>
    • restart LNbits to activate the new setting

Source Code

More Info