diff options
| author | Sam Samskies <[email protected]> | 2024-08-20 08:31:12 -0500 |
|---|---|---|
| committer | Sam Samskies <[email protected]> | 2024-08-20 08:31:12 -0500 |
| commit | 766864b4ce9622d878bbef328e34170aad5eee4d (patch) | |
| tree | cc715c34cbf3d13842c00b3b0e43d52ce18ecd69 /lib | |
| parent | 00f0cda6a4c1ace9eea435e0bcc40a6004d70fdf (diff) | |
| download | coinos-server-766864b4ce9622d878bbef328e34170aad5eee4d.tar.gz coinos-server-766864b4ce9622d878bbef328e34170aad5eee4d.zip | |
set nostrPubkey to coinos pubkey
https://github.com/nostr-protocol/nips/blob/master/57.md#appendix-c-lnurl-server-configuration
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/nostr.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/nostr.js b/lib/nostr.js index 09059542..28fde6aa 100644 --- a/lib/nostr.js +++ b/lib/nostr.js @@ -7,6 +7,7 @@ import { g, s, db } from "$lib/db"; import { fail, nada, wait } from "$lib/utils"; import { nip19 } from "nostr-tools"; +export const COINOS_PUBKEY = getPublicKey(nip19.decode(config.nostrKey).data); export let coinos; export let pool; |
