Avatar
Lyle Pratt
27f211f4542fd89d673cfad15b6d838cc5d525615aae8695ed1dcebc39b2dadb
Building vida.io.

looks like your LNAddress is broken (or not configured?). You can use your Vida one though, and it already works with zaps (NIP-57)! ericyakes@vida.page

https://void.cat/d/UobaSzvahdExCYQEKRcXAx.webp

it pulls in 1000 sat increments, decrements 10 sats from that per post. pulls another 1000 sats when local relay balance tracker depletes. you should see the 1000 sat pulls in your transaction logs.

How well supported is NIP-26 (Delegated Event Signing) across clients? Does Damus support it? I’d like for users to be able to allow Vida to sign certain events for them, but not sure if it’s too early for it to be useful if clients don’t support it.

10-4! Reading you loud and clear.

cool! Sounds like maybe for now we should just remove the Expires from our verification DMs.

Unrelated...we’re not sending actual npubs anywhere. Check my other response…nostream is barfing on the expiration value for some reason. hmmmm

Looks like its failing due to the expiration tag:

nostream | {

nostream | kind: 4,

nostream | pubkey: '42b3db1ca9f73ea861cca1f5a9f74dadf97b6ff539cdf722ccae16119907dfe6',

nostream | tags: [

nostream | [

nostream | 'p',

nostream | 'cb46e92f5753ca1b330c59e98c5d88e1bbb1f93d4c0af918e6581f3091499175'

nostream | ],

nostream | [ 'expiration', '1676471110' ]

nostream | ],

nostream | content: '8/yASQYBb4mgIy+qlFGOml/VQkSTiO/bKPy1/Zpat8D11Ca7tQKFVgDyBIIuuWLw?iv=dhm9ggFCaE/VhyGXCg8QNw==',

nostream | created_at: 1676470810,

nostream | id: '7d5789510b0f2f0bbc12861ee33233f213488e69e9b702e72cfebd8ec6e60ff2',

nostream | sig: '1b17a53df1c91edd448c596a528b00d5edef9ce3de2d82a2485e6d7affe18fb5d8387a8e2ca001bc59632654249a069a909c52db984c972377034b8cc67e85e8',

nostream | [Symbol(Context)]: {

nostream | remoteAddress: SocketAddress { address: '138.197.76.21', port: 0, family: 'ipv4', flowlabel: 0 }

nostream | },

nostream | [Symbol(Expiration)]: 1676471110

nostream | }

nostream | ] TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (1676471110)

nostream | at new NodeError (node:internal/errors:399:5)

nostream | at Function.from (node:buffer:334:9)

nostream | at toBuffer (/app/src/utils/transform.js:8:36)

nostream | at /app/node_modules/ramda/src/internal/_pipe.js:3:14

nostream | at /app/node_modules/ramda/src/internal/_arity.js:11:19

nostream | at _ifElse (/app/node_modules/ramda/src/ifElse.js:39:54)

nostream | at f1 (/app/node_modules/ramda/src/internal/_curry1.js:19:17)

nostream | at apply (/app/node_modules/ramda/src/apply.js:29:13)

nostream | at f2 (/app/node_modules/ramda/src/internal/_curry2.js:34:14)

nostream | at /app/node_modules/ramda/src/applySpec.js:81:14 {

nostream | code: 'ERR_INVALID_ARG_TYPE'

nostream | }

Sorry that’s my bad I just pasted it in there to try to provide a better example. We’re not actually sending with npub..

Pretty standard DM event. Maybe its the ā€œexpirationā€ tag that nostream doesn’t like?

```

let event = {

kind: 4,

pubkey: ā€œnpub1g2eak89f7ul2scwv5866na6d4huhkml488xlwgkv4ctprxg8mlnq0k8cz7ā€, // Vida’s Pub Key

tags: [

['p', targetPubKey]

["expiration", `${nostrHelper.datePlusFiveMinutes()}`]

],

content: ciphertext,

created_at: Math.floor(Date.now() / 1000),

}

```

Noticing this also is happening on our own Nostream based relay with a custom whitelist…hmmmm

It’s just not receiving/acknowledging the event. The connection works, but the DM event doesn’t register.

Yeah was just going to tag him. #[2] I paid to add Vida’s pub key to Eden, but for some reason it still prevents us from sending Validation DMs there. Any idea why?

It is are for NIP-05 verification (and other things in the future!).

OK, so it looks like some issue with the Eden relay. If I use another relay it works. The Eden oddly relay is not responding to connection requests (even tho Vida’s pub key is added). Not sure why…

Replying to Avatar farooq

hmmm. wonder if it’s a mobile app issue. try the mobile web? I will take a look at logs shortly!

yeah Sanderson just churns them out left and right like it’s nothing. meanwhile i’m just crossing my fingers i read the third one before i die with rothfuss