Skip to content

Repository files navigation

RadixDLT Rust SDK

CI crates.io docs.rs license

English · Español

Native Rust building blocks for the Radix ledger — the off-ledger primitives that, until now, only existed in JavaScript/TypeScript. Build "log in with Radix" backends, transaction tools and wallet integrations in pure Rust.

Crates

Crate What it does
radixdlt-sdk Umbrella crate; re-exports the below behind feature flags
radixdlt-rola ROLA off-ledger authentication (drop-in for @radixdlt/rola)
radixdlt-address Virtual-account address derivation
radixdlt-keystore Encrypted Ed25519 keystore (scrypt + AES-256-GCM)
radixdlt-gateway-tx Gateway client + local transaction signing
radixdlt-connect Radix Connect over WebRTC (talks to the mobile wallet), including TURN over TCP/TLS for networks with no UDP
radixdlt-connect-iroh Radix Connect over Iroh/QUIC (pure-Rust SDK-to-SDK)
radixdlt-connector-mcp Local MCP server (binary): lets AI agents pair a wallet and sign transactions via radixdlt-connect
radixdlt-i18n System-locale detection + bilingual text helpers

Quick start

# Verify ROLA proofs (log in with Radix):
radixdlt-sdk = "0.1"            # default feature: rola

# Build and send transactions + manage keys:
radixdlt-sdk = { version = "0.1", features = ["full"] }

Design notes

  • Bilingual at runtime. All user-facing error text is localized to the system language (es* → Spanish, otherwise English) via radixdlt-i18n.
  • Two transports, by design. webrtc and the radix-engine tree (used by gateway) cannot be resolved in the same binary; neither can webrtc and iroh. So the transports are separate crates — pick the one your tool needs.
  • AI agents can sign. radixdlt-connector-mcp is a local MCP server (stdio) that pairs a Radix Wallet and gets transactions signed on the user's machine: the phone approves and the private key never leaves it. It installs from GitHub (cargo install --git … or the scripts in scripts/); see its README for the tools and setup.
  • Workspaces. radixdlt-connect, radixdlt-connect-iroh and radixdlt-connector-mcp are isolated workspaces (heavy WebRTC / QUIC dependency trees); the rest share the main workspace.

Author

Created and maintained by Luis Alberto Reoyo Bolaños (genkipool). Contributions are welcome — see CONTRIBUTING.md.

License

Licensed under either of MIT or Apache-2.0 at your option.

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages