Coded with GPT-4 and asked it to do PSBT with BDK in Rust. Its not perfect. But I ask it to fix things I see incorrect and it understood context and keep digging more into the BDK doc for solutions on its own. Mind is blown.
For example at first it called a method that didn’t exist. I told it that and it fixed it. Then I asked it I want the input amount and output amount to be different since it’s ‘partial’. It done that by just looping through UTXOs in the wallet until it reaches the desired input amount.
I asked if there’s something in the BDK that helps with coin selection. And it found the CoinSelection trait and updated the code to use ‘BranchAndBound’
I still haven’t tried to run it yet. But even if I treat this a pseudo code it’d still be amazing
n3xB | Global Bitcoin Exchange Protocol on Nostr
nobu@n3xb.io
npub1w27w...cuc8
P2P #Bitcoin exchanges should share a single global & open order-book deeper than Coinbase, hosted on Nostr. Follow & DM me to make it happen
Zaps is an attack on LN decentralization. Should not have rolled it out wide before non-custodial solution is ready


X (formerly Twitter)
carman 🟠 (@benthecarman) on X
Ran some analytics on zaps on nostr, it's quite terrible...
~95% of users have their lightning address set to a custodial wallet
~91% of all zaps...
Gradually, then Suddenly.
I’m afraid we haven’t done enough to be ready for the suddenly part.
There is no good way to buy #Bitcoin in a No-KYC non-custodial manner. And few are working on solving this. Annoying as there’s no goto recommendation to a friend that asked me about buying Bitcoin. Its infuriating
If #Bitcoin hits $100k within the next 90 days. Money is the last thing on my mind. Whatever GTFO plan you got, its time to set it into motion then.
The biggest problem to Bitcoin is plebs getting rich too fast, but doesn’t get any less susceptible to $5 wrench attacks