stacker.news/wallets/lnc/index.js

31 lines
969 B
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-16 05:54:27 +00:00
},
{
name: 'password',
label: 'password',
type: 'password',
hint: 'encrypts your pairing phrase when stored locally',
optional: true
}
]
export const card = {
title: 'LNC',
subtitle: 'use Lightning Node Connect for LND payments',
badges: ['send only', 'non-custodialish', 'budgetable']
}