fix LNC attachment and docs (#1639)

This commit is contained in:
Riccardo Balbo 2024-11-23 01:03:02 +01:00 committed by GitHub
parent 83341d5b7d
commit a7ea380476
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -7,12 +7,12 @@ This can be done one of two ways:
We only need permissions for the uri `/lnrpc.Lightning/SendPaymentSync`
```bash
$ sndev stacker_litcli accounts create --balance <budget>
$ sndev cli litd accounts create --balance <budget>
```
Grab the `account.id` from the output and use it here:
```bash
$ sndev stacker_litcli sessions add --type custom --label <your label> --account_id <account_id> --uri /lnrpc.Lightning/SendPaymentSync
$ sndev cli litd sessions add --type custom --label <your label> --account_id <account_id> --uri /lnrpc.Lightning/SendPaymentSync
```
Grab the `pairing_secret_mnemonic` from the output and that's your pairing phrase.

View File

@ -95,7 +95,7 @@ async function getLNC (credentials = {}) {
}
return window.lnc
}
const { default: { default: LNC } } = await import('@lightninglabs/lnc-web')
const { default: LNC } = await import('@lightninglabs/lnc-web')
window.lnc = new LNC({
credentialStore: new LncCredentialStore({
...credentials,