Damus
ContextVM profile picture
ContextVM
@ContextVM
🔥 Great news! 🔥

We’ve just released the Rust SDK for CVM: https://github.com/ContextVM/rs-sdk

This is a big step forward for the ecosystem. Until now, the TypeScript SDK, our reference implementation, has been the only one available. With Rust, CVM now expands into native development, opening the door to new use cases, better performance, and future bindings for other languages.

The Rust SDK follows the same architectural principles as the TypeScript SDK. It builds on the underlying RMCP SDK for protocol compliance and adds a Nostr transport on top.

The 0.1.x release lands with the core spec in place and support for CEP‑4 Encryption, CEP‑6 Server Announcements, CEP‑19 Ephemeral Gift Wraps, and CEP‑35 Stateless Session Discovery and Capability Learning.

This release also sharpens the SDK strategy: TypeScript remains the reference implementation for web and desktop, while Rust becomes the foundation for native development and future FFI bindings. The repository already includes docs and examples, with skills, and more documentation coming soon to docs.contextvm.org.

It also ships with a strong test suite and interoperability coverage between the TypeScript and Rust SDKs, so it already feels robust.

That said, this is still a beta release, and we’ll keep testing and pushing it further. You can follow the current parity status between both SDKs here: https://github.com/ContextVM/rs-sdk/issues/64

🧑‍💻 Install it with `cargo add contextvm-sdk`.

Huge shout out to our students from Summer of Bitcoin, @Harsh who leaded the development of this release, and @Kushagra , also to @k0sh for putting together the very first version. We’re grateful for the community effort behind this 🫶

We hope this SDK unlocks a new wave of development across the CVM ecosystem. Now let’s keep building 🚀🚀

Repo docs: https://github.com/ContextVM/rs-sdk/tree/main/docs
Repo examples: https://github.com/ContextVM/rs-sdk/tree/main/examples
36❤️3🖤1
Max · 6w
Awesome work! I hope this gets some use
Mafrend · 6w
Could you compile it into Kotlin Multiplatform, like the Rust Nostr SDK library did - using the UniFFI? You would target all mobile devices then, and apps like Amerhist.