stacker.news/wallets/lnbits/index.js

28 lines
528 B
JavaScript
Raw Normal View History

2024-07-16 05:54:27 +00:00
import { lnbitsSchema } from '@/lib/validate'
import { sendPayment, validate } from 'wallets/lnbits/client'
export const name = 'lnbits'
export const fields = [
{
name: 'url',
label: 'lnbits url',
type: 'text'
},
{
name: 'adminKey',
label: 'admin key',
type: 'password'
}
]
export const card = {
title: 'LNbits',
subtitle: 'use [LNbits](https://lnbits.com/) for payments',
badges: ['send only', 'non-custodialish']
}
export const schema = lnbitsSchema
export { sendPayment, validate }