A₿del fgu's avatar
A₿del fgu
abdel@snort.social
npub1hr6v...2e29
If you want to change the world, don't protest. Write code!
A₿del fgu's avatar
Abdel 1 year ago
I was chatting with the Alby wallet team about their Lightning MCP server using Nostr Wallet Connect. Forked it to integrate Lightning <> Starknet atomic swaps via Atomiq Labs SDK. In the demo, I fired up Claude Code (also did it with Goose) and asked it to handle an end-to-end swap: "swap 311 sats to STRK". It executed perfectly, pulling from my Primal wallet via NWC connection string and performing the swap. Fully trustless (HTLC reverse submarine swap). Exciting times for building Bitcoin apps with AI. 🧡 #Bitcoin #BitcoinAI #ClaudeCode #Goose
A₿del fgu's avatar
Abdel 1 year ago
Built a proof of concept of Bitcoin vaults to showcase CTV & CSFS on Mutinynet signet. Basic vault: Funds locked to a P2TR output with a single leaf CTV script committing to a trigger tx template. Trigger moves to a conditional P2TR: IF branch requires CSV delay + hot key sig; ELSE is CTV to cold address (immediate, no sig). NUMS internal key forces script spends. Hybrid vault extends to two leaves: One for CTV path (same as basic). Second for CSFS: Verifies a Schnorr sig over a delegation message (e.g., "EMERGENCY_DELEGATION:AMOUNT=...:RECIPIENT=...:EXPIRY=...:VAULT=...") from treasurer key, allowing direct spend to recipient (escape hatch). Demo flow 1: Cold clawback via CTV. Fund vault P2TR. Broadcast trigger (satisfies CTV from vault). Then broadcast cold tx from trigger (ELSE branch, satisfies CTV to cold). No delay. Works as emergency response if trigger detected (e.g., hot key compromise). Demo flow 2: Delegation via CSFS. Treasurer signs message authorizing ops team to spend X sats to Y by Z block (though the amount and other dynamic transaction params are not enforced in the demo, would require OP_AMOUNT, might be possible forcing the spender to provide the transaction data in the witness, check the signature of the tx data with CSFS, and then introspect the transaction elements we want like the amount, but not sure the parsing / splitting of the transaction elements would be practical). Spend vault directly via CSFS leaf: Witness includes sig, message hash, treasurer pubkey, script, control. Bypasses CTV/timelock for authorized emergencies.
A₿del fgu's avatar
Abdel 1 year ago
Running Bitcoin ZK Knots, baby! We've successfully run a POC verifying a STARK proof of Bitcoin's mainnet block #1 inside a modified Bitcoin Knots client. The proof validates critical consensus rules: - Timestamp - Chain difficulty - Block difficulty - Proof of Work Here’s the technical flow: - A Cairo program defines the block header consensus rules & generates the execution trace: - The STWO prover generates the STARK proof from the trace: - A modified ProcessNewBlockHeaders function in Bitcoin Knots performs the proof verification: The main purpose of this POC was to test the integration of our Rust-based proving stack into the C++ codebase. The ultimate vision? To improve Initial Block Download (IBD) dramatically by allowing the entire chain's validity to be verified with a single recursive proof. Once Raito is fully equipped with recursive proving and strong performance, we'll be back to implement a full, real-world IBD with ZK verification enabled. Stay tuned! Follow our StarkWare Bitcoin Github for updates:
A₿del fgu's avatar
Abdel 1 year ago
Hey, any Bitcoiner in Prague tomorrow? I won’t be there but have few colleagues from StarkWare who will be there and would love to meet more Bitcoiners. If you wanna hang out with them and chat about Bitcoin in general and / or zero knowledge proofs let me know.
A₿del fgu's avatar
Abdel 1 year ago
Posting here for more visibility on Nostr. CTV + CSFS: a letter to the technical bitcoin community from 43 engineers Full text at ctv-csfs.com Let’s accelerate and improve Bitcoin as money and as a tool that people can use to take back their sovereignty. CTV and CSFS can improve significantly Lightning network and have many other benefits. Study them, discuss them, share your opinions, debate. Hyperbitcoinization intensifies. image
A₿del fgu's avatar
Abdel 1 year ago
Feeling cute, might find hash collisions later. We can do covenants today, we are just negotiating the price now. https://collidervm.org #Bitcoin #Covenant image
A₿del fgu's avatar
Abdel 1 year ago
Just run a node anon. And yeah you can choose whatever implementation you want. That’s good. Personally I prefer running Core and I don’t consider Knots being a production grade serious alternative on par with Core in terms of open source and software best practices (and there are obvious reasons for this to be the case, and it does not mean it could not change), but the choice is yours and it’s fine if you switch to Knots as a voice of protest. I think client diversity is a healthy debate to have at the end of the day, so maybe the filters drama was a good excuse to put it on the table I don’t know. I think there is a lot of bad faith arguments from some people pushing users to switch to Knots but that’s fine, Bitcoin is resilient and does not care about those drama. But yeah, just run a node, it really matters.
A₿del fgu's avatar
Abdel 1 year ago
Bitcoin decentralised mining: pools should trust the math, not the miner, and miners should gain privacy for their transaction selection which improves censorship resistance of the network. Stay tuned. Stratum V2 + STARK proofs 👀
A₿del fgu's avatar
Abdel 1 year ago
What can you do with Monero style ring signatures for Nostr ? You can build an Anonymous Voting platform using Nostr identities to vote. Thanks to the Back's Linkable Spontaneous Anonymous Group, you can detect double voting without leaking identities. Check Ringable demo 👇 A client-side anonymous voting platform using Nostr-compatible ring signatures. Ringable allows users to create proposals and vote anonymously as part of a predefined group (a "ring" of public keys). It leverages the cryptographic power of bLSAG ring signatures to ensure that while votes are verified as coming from a valid member of the ring, the specific voter's identity remains hidden. The cryptographic functions are powered by the Nostringer Rust library, compiled to WebAssembly (WASM) for use in the browser. Live demo: https://ringable.starknetonbitcoin.com Ringable rep: Nostringer:
A₿del fgu's avatar
Abdel 1 year ago
Introducing Nostringer - unlinkable ring signatures (SAG) for Nostr pubkeys. Instead of doing some Ghibli stuff I implemented a prototype of unlinkable ring signatures for Nostr. It's using Monero style Spontaneous Anonymous Group signatures (SAG). What does it enable ? Ring signatures allow multiple members of a group to sign a message without revealing which member actually signed it. I explored this after chatting with @Leo Wandersleb who wants to use this concept for WalletScrutiny. Basically his idea would be to let users write reviews as accredited wallet developers. Because of the competition between wallets it's better to not disclose who posted a review. It would be sufficient to know that it was posted from someone belonging to a group of accredited developers. Checkout the demo and repo in the links below. Live demo: https://nostringer.starknetonbitcoin.com Repo:
↑