Skip to content

Instantly share code, notes, and snippets.

View spartucus's full-sized avatar
🦊

Bob Niu spartucus

🦊
  • web3 world
  • X @niubob
View GitHub Profile
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore16
Contributor # 94
Hash: 0273dbbf 919f45bb 9f5d8124 55a9c108
cdbe5a00 6a11fdbe 9bf0abb3 f80a03f2
05ab58e8 cfbcbef4 fbca2634 b266bd0f
44233f31 3166c028 904cc018 92e46f7a
@spartucus
spartucus / no_std-guide.md
Created July 11, 2023 02:56 — forked from tdelabro/no_std-guide.md
How to easely port a crate to `no_std`?

What is Rust's standard library?

One of the Rust programming language promises is "zero-cost abstraction". Therefore the language itself is pretty conservative about what it incorporates. Types that are basics in other languages, such as string, or features, such as async, cannot be part of the language itself because they are costly abstractions. The user may not need them at all, or he may prefer other alternative implementations. To make those types and functions available nonetheless, they are available as part of the Rust standard library, known as std. Part of this library, known as the prelude is imported by default in each .rs file so you don't have to repeat yourself too much.

Why would you want a no_std version of your crate?

Most of the time having this standard library available is not a problem because you run your code on a pretty standard environment: your own computer or a Linux server somewhere in the cloud. However, somet

@spartucus
spartucus / anon-aadhaar-v2-trusted-setup-ceremony_attestation.log
Created June 12, 2024 02:53
Attestation for Anon Aadhaar V2 Trusted Setup Ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm spartucus-6071887 and I have contributed to the Anon Aadhaar V2 Trusted Setup Ceremony.
The following are my contribution signatures:
Circuit # 1 (aadhaarverifier)
Contributor # 54
Contribution Hash:
569b868a ac3d53d1 9221240c 11de92c2
0679a76e c162b1c6 fc8a836a 0bd7a0cb
bba8e67c 4238d869 4187fff8 e7be332b
33b389e6 3eb8abe5 838272ca 6ba3788f