Oddbean new post about | logout

Notes by alex0jsan | export

ā–² ā–¼
 Hello. I'm Alex. I should have introduced myself earlier, I guess.

I wish for a better world. I try to write code. I came across nostr and thought I can help. So here I am.

You can find my code here: https://codeberg.org/alex0jsan

Right now there's only one project in there, but I hope to have more in the future.

#introductions #devstr 
ā–² ā–¼
 Thank you. šŸ˜„  
ā–² ā–¼
 Thank you. Will do! šŸ˜ƒ  
ā–² ā–¼
 ReplyGuy for you down? Add wss://nostrelites.org and drink a beer. 
ā–² ā–¼
 What about new joiners? 
ā–² ā–¼
 I think I can help speed that up significantly.

I put together something that uses OpenCL on GPU, instead of CPU. I call it noclvag. I used it to find my npub, which took a few days. My npub's prefix is alex0jsan, which is 45 bits. It was searching at a few hundred million iterations per second.

You can find more details in this note: https://njump.me/nevent1qyt8wumn8ghj7ct4w35zumn0wd68yvfwvdhk6tcpr4mhxue69uhhyetvv9ujumt4w35ku7thv9kxcet59e3k7mf0qy88wumn8ghj7mn0wvhxcmmv9uq3zamnwvaz7tmwdaehgu3wwa5kuef0qyg8wumn8ghj7mn0wd68ytnddakj7qg4waehxw309aex2mrp0yhxgctdw4eju6t09uq35amnwvaz7tmzdaehgu3wd3jkxar4wf5kv7fwdejhgtcpr9mhxue69uhhyetvv9ujuumwdae8gtnnda3kjctv9uqzqd6mt9jq60s34za2zkmrshtv6srjsswjd2hk4f5q9act54qunge77nxq9p 
ā–² ā–¼
 Totally. Would love some feedback on this. Not my area of expertise.

The file mentioned in the announcement note is actually the source code. No binaries there.

I couldn't find a way to upload the source code to a git forge over Tor without KYC, email, etc. If you know a way, let me know. 
ā–² ā–¼
 Thanks! I'll take a look. 
ā–² ā–¼
 I managed to upload noclvag to a git forge. You can find it at https://codeberg.org/alex0jsan/noclvag

Please take a look and let me know what you think. 
 #asknostr

Can I sell my npub?? How could you sell your private key without compromising it? 
ā–² ā–¼
 Correct me if Iā€™m wrong, vanity npubs are riskier than random ones, correct?

In my head, if I ... 
ā–² ā–¼
 Any thought on the split-key method? Would it make it more or less secure?

It's described here: https://github.com/JeanLucPons/VanitySearch 
ā–² ā–¼
 Greetings, Nostr!

Announcing noclvag, Nostr OpenCL Vanity Address Generator.

It's something I put together that uses OpenCL on GPU, instead of CPU, to search for npubs with a specific prefix. I used it to find my npub (npub1alex0jsan...). Much faster than CPU, in my case.

It's rough and probably has a bunch of bugs, but it seems to work. It's based on vanitygen-plusplus.

It's AGPL3+ licensed. I didn't upload it anywhere else. Feel free to upload it somewhere easy to access. The link below should last for around 90 days. I would have uploaded it myself, but I'm not aware of git forges that work over Tor and without email, etc.

noclvag uses the the split-key method described in VanitySearch to allow the user to ask a 3rd party to search for an npub for them without compromising their final nsec. I think it would be great if support for this is built into nsec bunkers (like Amber), and maybe some mining services can be spun up to make vanity npubs accessible to users.

A word of caution. This is generally not my field of expertise. Consider the software experimental.

The source code is here: https://oshi.at/BrkV/noclvag-v0.1.tar.gz

SHA256SUM: 989a0ca86297b4137a95c28a40fdabc2d736d8e91ffc26f27cf6c12039407f32  noclvag-v0.1.tar.gz

Tagging a few people since I have no follows.
nostr:nprofile1qythwumn8ghj7anfw3hhytnwdaehgu339e3k7mf0qyghwumn8ghj7mn0wd68ytnhd9hx2tcppemhxue69uhkummn9ekx7mp0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qpqgcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqy25c2r  nostr:nprofile1qyg8wumn8ghj7mn0wd68ytnddakj7qg4waehxw309aex2mrp0yhxgctdw4eju6t09uqsuamnwvaz7tmwdaejumr0dshsqgr40yrkmxhlpfx0mma8ugz97fyxclja30rrhlrtg5uhyvlph07tryzg2fgv  nostr:nprofile1qy88wumn8ghj7mn0wvhxcmmv9uq32amnwvaz7tmjv4kxz7fwv3sk6atn9e5k7tcqyqalp33lewf5vdq847t6te0wvnags0gs0mu72kz8938tn24wlfze6cqlas7  nostr:nprofile1qyfhwumn8ghj7mmxve3ksctfdch8qatz9uq3vamnwvaz7tmsw4e8qmr9wfjkccte9e3k7mf0qyvhwumn8ghj7un9d3shjtnndehhyapwwdhkx6tpdshszxmhwden5te0wfjkccte9ehx7um5wfcxcetzwvhxxmmd9uq35amnwvaz7tms09exzmtfvshxv6tpw34xze3wvdhk6tcpzamhxue69uhhyetvv9ujumn0wd68ytnzv9hxgtcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszythwden5te0dehhxarj9emkjmn99uqsuamnwvaz7tmwdaejumr0dshsz8thwden5te0wfjkccte9ekh2arfdeuhwctvd3jhgtnrdakj7qpq8ams6ewn5aj2n3wt2qawzglx9mr4nzksxhvrdc4gzrecw7n5tvjq5nd6yu 
ā–² ā–¼
 Hello again, Nostr.

I managed to upload noclvag to a git forge. You can find it at https://codeberg.org/alex0jsan/noclvag

Please give it a try and let me know what you think.

nostr:nevent1qvzqqqqqqypzpmljvl9pm8uuhf6pajvct9j2p7c6ah5tq8ae4k0hpy8auve5f957qy88wumn8ghj7mn0wvhxcmmv9uq3zamnwvaz7tmwdaehgu3wwa5kuef0qqsrwk6evsxnuydgh2s4kcu96mx5qu5yr5n24a42dqp0wza9g8y6x0s4m0rn4 
ā–² ā–¼
 It was a bit difficult to upload the code to a git forge over tor, but I managed to do it a few days ago. You can find it at https://codeberg.org/alex0jsan/noclvag

Let me know what you think. 
ā–² ā–¼
 Yeah. alex0jsan stands for alex-ojisan, which means uncle alex. It's all deliberate.

On an older intel laptop with igpu, a 5 character prefix takes < 30 seconds using noclvag. I did several runs. Using rana, it took around 5 minutes for one run and around 30 minutes for another. 
 The vanity key I want takes 283 years to find in my M2 Max. So... I need ideas.  
ā–² ā–¼
 I think I can help.

I put together something that uses OpenCL on GPU, instead of CPU. I used it to find my npub. Much faster, in my case.

It's rough and probably has a bunch of bugs, but it seems to work. I call it noclvag, Nostr OpenCL Vanity Address Generator. It's based on vanitygen-plusplus.

It's AGPL3+ licensed. I didn't upload it anywhere else. Feel free to upload it somewhere easy to access. The link below should last for 90 days. I would have uploaded it myself, but I'm not aware of git forges that work over Tor and without email, etc.

The source code is here: https://oshi.at/BrkV/noclvag-v0.1.tar.gz

SHA256SUM: 989a0ca86297b4137a95c28a40fdabc2d736d8e91ffc26f27cf6c12039407f32  noclvag-v0.1.tar.gz