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
Ready for Surfin Bitcoin starting today. image
A₿del fgu's avatar
Abdel 1 year ago
Kinda feel sad for those two folks I saw on the street, wearing guns and bulletproof vests, risking their lives to transport worthless FIAT money that central banks and governments can print out of thin air. If only there could be a way to transport unstoppable value simply with a cryptographic signature gossiped over a P2P network. #Bitcoin fixes this. Bitcoin is for peace. image
A₿del fgu's avatar
Abdel 1 year ago
何も知らずに一生壁の中で過ごすなんて嫌だ! I don’t want to spend my entire life inside these walls without knowing anything! image
A₿del fgu's avatar
Abdel 1 year ago
Summary of my fun week playing with Cashu, that I discovered recently. This week I did: - try and tested Cashu.me wallet and loved the UX from the user perspective (sending some sats to my Cashu wallet directly from my Nostr client was also very fun) - read the Cashu docs - implemented first step of BDHKE in Cairo and wrote an article about potentially ZKfying Cashu using STARK proofs - implemented the full BDHKE in Zig - contributed to Moksha Rust implementation to add criterion benchmarks - realised that my Zig implementation was 10x slower - moved to using the libsecp256k1 in C instead of Secp256k1 from the Zig std lib - managed to have better perf than the Rust version - contributed to CDK to add criterion benchmarks
A₿del fgu's avatar
Abdel 1 year ago
Managed to beat the Rust implementation with a Zig implementation ⚡️ Initially it was slower, but, moving to use the same libsec256k1 C implementation for operations on SECP256k1 curve, now the Zig version is slightly faster. 113 micro seconds for the End to End BDHKE! Zig is fast ⚡ View quoted note →
A₿del fgu's avatar
Abdel 1 year ago
Me today: write BDHKE scheme in Zig (https://github.com/AbdelStark/coconut). Benchmark it: Oh wow it's super fast, 1 millisecond for the end to end scheme. Find the Rust implementation (https://github.com/ngutech21/moksha) and benchmark it: it's about 10 times faster than my Zig implementation 😭 Gg Moksha folks! 🦀 is blazingly fast damn. I suspect there might be a gap in terms of performance between the Secp256k1 implementation of the Zig std lib and the C implementation (the secp256k1 crate being a Rust wrapper library for Pieter Wuille's libsecp256k1 in C). Zig benchmark: image Rut benchmark: image
A₿del fgu's avatar
Abdel 1 year ago
Yo #nostr fam, anyone going to Surfin Bitcoin this year ? I will be there and giving a talk about Scaling Bitcoin using STARKs. Bring back OP_CAT. image
A₿del fgu's avatar
Abdel 1 year ago
Implemented step 1 of the Blind Diffie-Hellmann Key Exchange (BDHKE) in Cairo. This scheme is used in Cashu (ecash protocol for #Bitcoin). Tested against the Nutshell reference implementation and got same results for blinding of secret messages. Would be cool to implement the other steps to have a version of Cashu protocol that is provable with STARK proofs. image
A₿del fgu's avatar
Abdel 1 year ago
Macro is horrible, risks of escalation of war, Asian Stock Markets crashing like never, capitulation from large funds. image Nayib Bukele knows it well, Printer is coming. That's why he was smart enough to bet the future of El Salvador on #Bitcoin, and history will prove him right. No doubt about this.
A₿del fgu's avatar
Abdel 1 year ago
#Nostr #FreedomOfSpeech Protocol image