Avatar
Dustin Dannenhauer
da18e9860040f3bf493876fc16b1a912ae5a6f6fa8d5159c3de2b8233a0d9851
DVM maximalist Building DVMDash - a monitoring and debugging tool for DVMs https://dvmdash.live Live DVM Stats here: https://stats.dvmdash.live Hacking on ezdvm - a python library for making DVMs https://github.com/dtdannen/ezdvm

It’s not decentralized because a couple people have a lot of bitcoin

Dam. Someone at Upwork read Daemon and started building Uma "We don't want to build agents that actually complete the tasks, but we are building this meta orchestration agent that figures out what human and agent talent is necessary in order to complete the tasks. Uma evaluates the work to be delivered to the client, orchestrates the interaction between humans and agents, and is able to learn from all the interactions that happen on the platform how to break jobs into tasks so that they get completed in a timely and effective manner."

GM. Today I was autocorrected from “eggs” to “gas” and it further increases my doubts of AI and iPhones. And yes, I did type eggs correctly the first time.

This is for nip-17 or MLS type messaging or using DVMs, not for public posting - for those use cases whitelisting npubs works great 😅

The castle is the (paid) relay

The only other solution I’ve found is sending micro ecash with every note which I talk about here naddr1qvzqqqr4gupzpkscaxrqqs8nhaynsahuz6c6jy4wtfhkl2x4zkwrmc4cyvaqmxz3qq2nq735d92hwj2wg3xrxdp5x44y7apexaxnvn96qwa

Replying to Avatar jb55

this spec i made didn't get a lot of attention, but i think its pretty cool:

https://github.com/nostr-protocol/nips/pull/1893

Private Note Storage is like giftwraps but:

- Not spammable, author keys are pseudonoymous and deterministic from your main key.

- Simpler wrapping. No seal is needed since the wrap key is deterministic. You just have the wrap and the internal rumor.

- Only for your own notes

- Zero public metadata tied to you. Giftwraps require a p tag of who is receiving the event. Since we are deterministically generating the private author key that is not tied to the master key, we can just query on that.

Further improvements not defined in this spec:

- HD keys (bech32) for creating private notes on new keys each time. No pubkey re-use for different private notes.

Imagine having an HD keypath that stores a specific type of private note. There would be zero identifiable information on the public note. no p tags, just a random looking pubkey associated with a specific HD key path.

I'm looking into this for storing private ai convos.

Does this only work with free public relays?

nostr:nprofile1qqs04xzt6ldm9qhs0ctw0t58kf4z57umjzmjg6jywu0seadwtqqc75sprfmhxue69uhhq7tjv9kkjepwve5kzar2v9nzucm0d5hszrthwden5te0vcmh5tnfduhszwn8d4 olas v2 with this?

Dude. Yes. Had to batch them basically. I was running on the low end of hardware, maybe just 1gb of ram, which is stupid expensive if you use the aura hosted version. Probably only worth it if you host Neo4j yourself on better hardware. I ended up doing a hybrid Postgres + Neo4j setup, so that I only needed to use Neo4j for queries that could benefit from the graph structure

Replying to Avatar david

Brainstorm currently uses #neo4j to track a graph with NostrUser nodes and follows, mutes, and reports as relationship types. This schema will gradually become more complex (add NostrRelay nodes, NostrEvent nodes, various other relationship types), and in its final form it will be a continuously-updating, personalized nostr knowledge graph that your WoT helps you to manage. Native graph databases with sophisticated query languages like cypher are designed for exactly this sort of thing.

I recently joined nostr:npub1healthsx3swcgtknff7zwpg8aj2q7h49zecul5rz490f6z2zp59qnfvp8p and we are putting the finishing touches on plans for a WoT Hackathon. We’re looking to support anything that’s open source that advances nostr towards a healthy ecosystem of personalized trust metrics that are calculated by service providers (which you can do yourself, or pay a third party) and then made available to clients. Graph database nostr relays will be very useful for this, and we’d love to see multiple implementations. So if you’re interested in contributing to one, consider doing it as part of the WoTathon. We’ll be thinking of how we can facilitate individuals with common interests finding each other to form teams for projects like this.

nostr:npub10mtatsat7ph6rsq0w8u8npt8d86x4jfr2nqjnvld2439q6f8ugqq0x27hf is also building a neo4j nostr relay and you should follow his work.

nostr:npub1mgvwnpsqgrem7jfcwm7pdvdfz2h95mm04r23t8pau2uzxwsdnpgs0gpdjc has used neo4j for DVMDash — Dustin are you still working with neo4j?

nostr:npub1057d3g2zw9w4ns8fq43yka3per9s2z9zmp4ryncgqqvv6e42tjrqnrxgd7 has worked with GUN, another graph database, and has expressed interest in making a GUN nostr relay.

Anyone else working on or interested in using graph databases within nostr?

#wotathon

So I ended up dropping Neo4j because DVMs should move to encrypted setups with NIP17 or NIP-EE, and I was using Neo4j for a global event debugger for DVM flows (which isn’t possible if everything’s encrypted).

But you can check out the representation I made and the code to insert and query Nostr data, could be helpful if you’re deciding how to structure Nostr data into graphs.

Email, calendar, doc editing, the entire office suite. Pay per use by sending micro sat ecash to relays with every note. All on Nostr. Super cheap. Paid relays. Permission-less. Private.

I believe it was an anthropic client error, changing the provider fixed it for me

A lot here to respond to, but briefly - nip 17 and nip ee require generating a random npub for every gift wrap event which is what the relay sees. There’s no re using them. By anonymous this is what I meant.

I think we need this kind of payment scheme if we want paid relays behind the more modern privacy capabilities. The thinking is that with the new era of privacy apps on Nostr, that would attract more users and incentivize paying. One could argue that it’s never been tried to have signal or simplex like privacy on Nostr paid by ecash before… and those are just the chat style apps

You’re not wrong at all small scale. But we’re still at the beginning. Heard someone recently suggest that Nostr wins in the long run because it’s the cockroach that refuses to die. And even projects like signal and simplex run into funding issues to run the relays. I really do think micro payments has been a missing technical component, we’ve never practically been able to stream tiny amounts of money privately.

For sure for this all to work Nostr needs to 100x in user count, if not more.

Well, until ecash I don’t think there’s anyway to have paid relays that can support anonymous npubs, and all the good privacy stuff requires that. So it’s free relays or bust without it. My hope is that it gets so cheap that $1 a year is all that’s needed for low usage folks.

I think protonmail is a good analogy. It offers alternatives to googles free options and cost money and there’s definitely a market for that. But lots of people still use Google.

The thing I didn’t mention is, AI is forcing publishers and content creators to re-think access. Cloudflare’s pay per crawl and companies like Tollbit are restructuring the web to be payment based, which could help lead the paradigm shift.

Replying to Avatar calle

Great article. I would even go so far that ecash is not only the best way to do this but possibly the only way that exists. There is no other privacy-preserving micro payment system that I'm aware of.

Even better, with the ecash channels that nostr:nprofile1qqsp9msr6ytgfgf9mkrmapuu9qvsg9d78ua3ajntfmt580t5llvgpesppemhxue69uhkummn9ekx7mp0qyghwumn8ghj7mn0wd68ytnvv9hxgtcpr4mhxue69uhkummnw3ezucnfw33k76twv4ezuum0vd5kzmp0efx0jg is pioneering, you'll be able to make 10,000 payments with just two ecash mint operations. It will basically be *instant* and with tiny microscopic fees, if the mint charges any (which it should). I don't think this is an exaggeration, ecash channels possibly have the best cost/benefit ratio of anything that has been innovated in Cashu so far.

Extremely simple, and incredibly powerful.

E-cash channels by nostr:nprofile1qqsp9msr6ytgfgf9mkrmapuu9qvsg9d78ua3ajntfmt580t5llvgpesppemhxue69uhkummn9ekx7mp0qyghwumn8ghj7mn0wd68ytnvv9hxgtcpr4mhxue69uhkummnw3ezucnfw33k76twv4ezuum0vd5kzmp0efx0jg:

nostr:nevent1qqsd30du20yxkp92ky6mfk7259h5zamjlzwl3w2hnqn2qpea9rru0vgpzpmhxue69uhkummnw3ezumt0d5hsygzsm98u9kzcp35zkpc62shck8335gqtq5yt4w26xwl0pp2a72qavvpsgqqqqqqse9cdgf

Article by nostr:nprofile1qqsd5x8fscqypualfyu8dlqkkx539tj6dah634g4ns779wpr8gxes5gpzemhxue69uhkyetkduhxummnw3erztnrdakj7qg7waehxw309ahx7um5wgkhqatz9emk2mrvdaexgetj9ehx2ap0qyghwumn8ghj7mn0wd68ytnhd9hx2tcxup29p:

nostr:naddr1qq2nq735d92hwj2wg3xrxdp5x44y7apexaxnvqg4waehxw309aex2mrp0yhxgctdw4eju6t09upzpkscaxrqqs8nhaynsahuz6c6jy4wtfhkl2x4zkwrmc4cyvaqmxz3qvzqqqr4gu8kv0vh

Thanks 🙏 I’d love to figure out how ecash channels could further improve this. Maybe that can help when the tokens are generated by the relay? In my performance tests, minting 10k tokens is much slower than swapping (spending) 10k tokens, so to do that instantly would be a boon. I assume the channels require maintaining an identity so that’s not an option when the user pays the relay if we want payment to be identity-agnostic. I need to read up more on the spillman channels

nostr:nprofile1qyxhwumn8ghj7mn0wvhxcmmvqyw8wumn8ghj7mn0wd68ytfsxyh8jcttd95x7mnwv5hxxmmdqqszpxr0hql8whvk6xyv5hya7yxwd4snur4hu4mg5rctz2ehekkzrvcsuxfmc your preview for articles while drafting doesn't render the same as when the article gets published. The published version doesn't show newlines so paragraphs run into each other, but when drafting an article, the side-bar preview does render the newlines.

publishing articles on Nostr so that they render properly is still absolutely terrible UX 🤦‍♂️

nostr:nprofile1qyxhwumn8ghj7mn0wvhxcmmvqyg8wumn8ghj7mn0wd68ytnhd9hx2qpqh0uj825jgcr9lzxyp37ehasuenq070707pj63je07n8mkcsg3u0q76le8e I've submitted a PR for the awesome-nostr github list (@`aljaz`) to add your relay extension enabling cashu payments per note to the nostr-rs-relay. As far as I can tell, you were the first to do this and show it's possible, and I wish I knew about your project earlier! If you don't like the description I used, feel free to comment on the PR or submit a replacement PR.

also, I can't get anthropic as a provider to work, either says connection error or doesn't show in the dropdown list. The default shakespeare/shakespeare doesn't work either. Using firefox.

are ya'll still using https://shakespeare.diy or did it move to something else? Goes to a weird blank page every time I try to submit a prompt - I even cleared the cookies+site data and everything...

nostr:nprofile1qydhwumn8ghj7emvv4shxmmwv96x7u3wv3jhvtmjv4kxz7gpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsqgqyv87tanzvxd6y8xfj66u0zynfendhejtn44a9pt3k9kcntfr5m57rmess

are ya'll still using https://shakespeare.diy or did it move to something else? Goes to a weird blank page every time I try to submit a prompt - I even cleared the cookies+site data and everything...

Do you have a favorite though? Genuinely want to know what else is out there. I just care about the tradeoffs and so far ecash seems to be the best at speed, privacy preservation, and infinite divisibility.

ecash transactions are speed of bandwidth fast and require NO FEES. Zero. None. This is actually insane.

do you have a favorite alternative to sub 1 sat payments?

is it ecash, eCash, Ecash, or ECash?

Will it work for long-form articles? Maybe I go buy an android phone just to use #amethyst

Is there any nostr client that would let me make edits to a long form article?

🤦‍♂️ The correct link in the "But what is a DVM" section is this article: https://primal.net/dustind/1751579151592

It’s a tough problem. I think about this a lot and it’s just all tradeoffs. What you described is worth pursuing, and if someone needs perfect privacy, they have to run the models themselves on their own hardware. TEE environments from AWS are getting better, and we might get some advances from FHE tech but that’s probably still years away and will be more expensive than the cheap models offered by big tech.

I bet there's a free relay broadcasting our notes so we can have this conversation 😂. Seriously though, some people think that companies will run relays to support their other products. We'll probably see relays specific to different types of apps. I still wonder if someone will figure out a clever way to do free-relays that are ad supported.

again, what am I supposed to be able to take away from this? other than you've had problems with other people's work. I know firsthand that lots of things on Nostr have been attempted and then paused, broken, or failed - it's a collection of thousands of experiments by curious devs trying to build the future. It sounds like there's some interesting details behind why you wrote your original post, and those details are what actually might help people move forward - hence my first comment asking for more

Also I couldn't modify the zap splits, it kept refreshing every few seconds and would erase any modifications I had like npubs I had added etc. It kept resetting to the default npubs and percentages. This was on Firefox FWIW. 🫂

@`Hablemos de Bitcoin ⚡️` the auto converting of links that contain a naddr to 'nostr:naddr1q....' is really causing me a headache when trying to link to this formstr. No clients render the form event kind (30168) well, so I'd rather link to the url 'https://formstr.app/f/naddr1qvzq...' rather than just include note:naddr... in the article. P.S. love you guys

nostr:nprofile1qyxhwumn8ghj7mn0wvhxcmmvqydhwumn8ghj7mn0wd68ytnzd96xxmmfdecxcetzwvhxgegqyz9lv2dn65v6p79g8yqn0fz9cr4j7hetf28dwy23m6ycq50gqph3xc9yvfs your api is eating my cashu tokens and then giving a 401 errors like {"detail":{"error":{"message":"Invalid or expired Cashu key: Token redemption failed","type":"invalid_request_error","code":"invalid_api_key"}}}%

nostr:nevent1qvzqqqqqqypzpkscaxrqqs8nhaynsahuz6c6jy4wtfhkl2x4zkwrmc4cyvaqmxz3qyt8wumn8ghj7cn9wehjumn0wd68yvfwvdhk6tcpremhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet59uqzqs3w0lvhcuqnddwrnnh05eh7zz6ff8eks9yh0frc2e0mc9drc9pzpsk3gc

is anyone using nostr:nprofile1qyxhwumn8ghj7mn0wvhxcmmvqydhwumn8ghj7mn0wd68ytnzd96xxmmfdecxcetzwvhxgegqyz9lv2dn65v6p79g8yqn0fz9cr4j7hetf28dwy23m6ycq50gqph3xc9yvfs Can't get it to work for me, tried both via api key and cashu token