stacker.news/wallets/lnc/index.js

43 lines
1.1 KiB
JavaScript
Raw Normal View History

2024-07-16 23:21:30 +00:00
import bip39Words from '@/lib/bip39-words'
2024-07-16 05:54:27 +00:00
export const name = 'lnc'
export const fields = [
{
name: 'pairingPhrase',
label: 'pairing phrase',
type: 'password',
2024-07-16 23:21:30 +00:00
help: 'We only need permissions for the uri `/lnrpc.Lightning/SendPaymentSync`\n\nCreate a budgeted account with narrow permissions:\n\n```$ litcli accounts create --balance <budget>```\n\n```$ litcli sessions add --type custom --label <your label> --account_id <account_id> --uri /lnrpc.Lightning/SendPaymentSync```\n\nGrab the `pairing_secret_mnemonic` from the output and paste it here.',
validate: {
words: bip39Words,
min: 2,
max: 10
2024-07-18 23:56:49 +00:00
},
editable: false
2024-07-16 05:54:27 +00:00
},
{
2024-07-18 23:56:49 +00:00
name: 'localKey',
type: 'text',
optional: true,
hidden: true
},
{
name: 'remoteKey',
type: 'text',
optional: true,
hidden: true
},
{
name: 'serverHost',
type: 'text',
optional: true,
hidden: true
2024-07-16 05:54:27 +00:00
}
]
export const card = {
title: 'LNC',
subtitle: 'use Lightning Node Connect for LND payments',
2024-07-18 23:56:49 +00:00
badges: ['send only', 'non-custodial', 'budgetable']
2024-07-16 05:54:27 +00:00
}