-
Notifications
You must be signed in to change notification settings - Fork 0
Home
WoompaLoompa edited this page Jul 23, 2026
·
5 revisions
Accept Bitcoin Lightning payments in your Vendure store via the CLINK protocol — Nostr-native static payment codes.
- CLINK Protocol: Nostr-native payment codes (noffer format)
- BTC Price Oracle: Real-time conversion via CoinGecko, Kraken, or custom providers
- Per-Channel Config: Separate Nostr keys and relays per channel
- HTTP Webhook Fallback: For wallets without Nostr support
- Storefront Component: React component with relay info display
npm install vendure-plugin-bitcoin-lightning-via-clinkimport { ClinkPlugin } from 'vendure-plugin-bitcoin-lightning-via-clink';
export const config = {
plugins: [
ClinkPlugin.init({
relays: ['wss://relay.damus.io'],
webhookSecret: 'your-secure-random-hex',
oracle: {
provider: 'coingecko',
cacheTtlMs: 60000,
fallbackProviders: ['kraken'],
},
}),
],
};Note:
webhookSecretis required when using the HTTP webhook fallback. Generate with:openssl rand -hex 32