I’m announching nymlib, a new Rust workspace designed to make it easier to build applications on top of the Nymmixnet.
nymlib brings together multiple foundational libraries under one roof. Each crate can be used independently or together, with nymlib serving as a unifying export layer. It currently includes:
nymsocket — high-level socket abstraction over nymsdk for easier Nym mixnet integration
crypto — secure key generation, encryption, decryption, signing, and verification (ECDSA, RSA, ECDHE)
serialize — flexible, compact serialization framework with conditional fields and hash support
serialize_derive — procedural macros for generating serialization/deserialization code
With nymlib, you can start building Rust applications that interact with the Nym mixnet more easily. For example, you can:
- Send and receive messages over the Nym network using
nymsocket - Manage keys, encrypt/decrypt data, and sign or verify messages with
crypto - Serialize and deserialize complex data structures efficiently with
serializeandserialize_derive - Combine these tools to create privacy-preserving apps, experiments, or prototypes on Nym
I should mention that I’m not an expert Rust programmer — these libraries started as tools I built locally for my own experimental projects. I decided to share them in case they might be useful to others.
From my side, I’ll keep working to improve nymlib and add new features over time. Pull requests, suggestions, or any kind of feedback are very welcome — I’d be grateful for any ideas that could help make it better.