diff --git a/resources/js/nostrZap.js b/resources/js/nostrZap.js index 14a10dc..859c665 100644 --- a/resources/js/nostrZap.js +++ b/resources/js/nostrZap.js @@ -25,7 +25,7 @@ export default (livewireComponent) => ({ const amount = amountToPay * 1000; console.log('event', event); - const zapEndpoint = 'https://getalby.com/lnurlp/portaleinundzwanzig/callback'; + const zapEndpoint = 'https://pay.einundzwanzig.space/BTC/UILNURL/pay/i/98eo2PNNWByxqMCFZR5nzW'; const zapEvent = nip57.makeZapRequest({ profile: sender, diff --git a/resources/views/pages/association/profile.blade.php b/resources/views/pages/association/profile.blade.php index ab7e142..4cfb070 100644 --- a/resources/views/pages/association/profile.blade.php +++ b/resources/views/pages/association/profile.blade.php @@ -149,24 +149,6 @@ $save = function ($type) { ]); }; -$createKind0 = function () { - $note = new NostrEvent(); - $note->setKind(0); - $note->setContent(''); - $note->setTags([ - ['display_name', 'Einundzwanzig Portal'], - ['lud16', 'portaleinundzwanzig@getalby.com'], - ['pubkey', 'daf83d92768b5d0005373f83e30d4203c0b747c170449e02fea611a0da125ee6'], - ]); - $signer = new Sign(); - $signer->signEvent($note, config('services.nostr')); - $eventMessage = new EventMessage($note); - $relayUrl = config('services.relay'); - $relay = new Relay($relayUrl); - $relay->setMessage($eventMessage); - $result = $relay->send(); -}; - $createPaymentEvent = function () { $note = new NostrEvent(); $note->setKind(32121);