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
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
A₿del fgu's avatar
Abdel 1 year ago
Verifiable computation for Nostr Data Vending Machines. Nostr DVMs are the future: - free market - censorship resistant - standardised What if we could bring ZKPs to make the computations of DVMs provable ? Here you, with Askeladd : - NIP-90 compliant. - Uses STWO prover to generate Circle STARK proofs. - In-browser proof verification using Web assembly STWO verifier. For the user it's very simple: - Submit the job via a web page signing a Nostr message (with any NIP-07 compatible extension) - Get the result and verify the proof in the browser directly Try it yourself:
A₿del fgu's avatar
Abdel 1 year ago
Bonus side effect of building this POC: I was able to catch and report a bug in the Nostr Rust SDK. Shout ouf to the maintainers who fixed it few hours later. I may be the one who implemented the first NIP-90 compatible DVM in Rust 😜 View quoted note → image