The Radix Rust SDK (radixdlt-rust-sdk) is a set of Rust libraries for working with the Radix ledger from outside it: verifying wallet logins, deriving addresses, storing keys, signing and submitting transactions, and talking to the Radix Wallet. Luis Alberto Reoyo Bolaños (GitHub genkipool) writes and maintains it.

Background

Radix's off-ledger toolkit, the code that runs in a dApp's backend or client rather than on the network, ships from Radix as TypeScript packages such as @radixdlt/rola and the Radix dApp Toolkit. The Rust SDK reimplements those pieces so that server, desktop and embedded programs can derive addresses, verify signatures, manage keys and reach a wallet without a JavaScript runtime. It verifies ROLA (Radix Off-Ledger Authentication, in which a wallet signs a challenge to prove it controls an account or persona) natively in Rust.

Crates

The repository holds twelve crates. Three of them, radixdlt-connect-webrtc, radixdlt-connect-iroh and radixdlt-connector-mcp, are separate Cargo workspaces, because the webrtc library and the Radix Engine dependency tree that the Gateway crate pulls in cannot be resolved together. The connect-iroh manifest records the collision: the engine pins regex to exactly 1.9.3, while webrtc requires 1.9.5 or newer. A developer therefore picks a transport by crate rather than by feature flag.

  • radixdlt-sdk – umbrella crate for the main workspace, re-exporting the others behind feature flags: address, rola (the default), keystore, gateway, connect-types, gate and full. It does not re-export the transports.
  • radixdlt-rola – ROLA verification, a drop-in for @radixdlt/rola.
  • radixdlt-gate – short-lived credentials issued against a wallet signature and bound to a key the requester holds.
  • radixdlt-address – derives an account's address from its public key.
  • radixdlt-keystore – encrypted Ed25519 keystore using scrypt and AES-256-GCM.
  • radixdlt-gateway-tx – Gateway client with local transaction signing.
  • radixdlt-connect-types – the Radix Connect wallet-interaction schema shared by the transports, with no heavy dependencies of its own.
  • radixdlt-connect-auto – pairs with the Radix Wallet over iroh and WebRTC with one QR code, and sends each request over whichever transport is ready first.
  • radixdlt-connect-webrtc – Radix Connect over WebRTC to the mobile wallet, including TURN over TCP/TLS for networks that block UDP. It was called radixdlt-connect, which remains as a re-export under the old name.
  • radixdlt-connect-iroh – Radix Connect over iroh, a peer-to-peer networking library built on QUIC, both to the mobile wallet from a server and between two programs using the SDK.
  • radixdlt-connector-mcp – a local MCP server that lets AI agents pair a wallet and request signatures.
  • radixdlt-i18n – system-locale detection with English and Spanish text.

Availability and Installation

None of the crates is on crates.io, Rust's package registry. On 25 November 2026 its API returned crate does not exist for radixdlt-sdk, radixdlt-rola, radixdlt-gate, radixdlt-connect-auto, radixdlt-connect-iroh, radixdlt-connector-mcp and radixdlt-i18n. The radixdlt-sdk = "0.1" quick start in the README, and the crates.io and docs.rs badges above it, describe a state the project plans; until then the crates are used as Git or path dependencies.

The repository's PUBLISHING.md says the crates are ready to publish, with metadata and READMEs complete, tests passing and a clean cargo publish --dry-run for radixdlt-i18n, and gives the order to publish them in. PUBLISHING.md flags that the radixdlt-* names belong to Radix's brand: crates.io hands out names first come, first served, but Radix "could object or request a transfer, and the names may look official".

The MCP connector can be installed today. It builds a binary named radix-connector-mcp, installed with cargo install --git https://github.com/genkipool/radixdlt-rust-sdk radixdlt-connector-mcp or with the prebuilt-binary scripts for Linux, macOS and Windows, and radix-connector-mcp update replaces it with a newer release. It carries the project's only release train: 28 tags, from connector-v0.1.0 on 5 July 2026 to connector-v0.9.9 on 3 November 2026, the date of the latest commit.

Persona Data and Login

A persona is an identity kept in the Radix Wallet apart from its accounts, which a dApp can ask to log in with or to share data such as a name or email. On 19 September 2026 a commit let a dApp ask for the person's email alongside their name in one request, which the person approves in the wallet. The author writes that neither field decides access: the credential is the ROLA signature, and the name and email only label an audit log. A second commit that day made both fields opt-in, because the wallet will not let a person approve a request for data without supplying it, so asking by default turns a login into a form. connector-v0.3.2 gave the MCP server's account-proof tool a request_email option, off by default.

A commit on 27 September added an authorized login. A name returned by a one-time data request is text someone typed and does not identify the persona, so it cannot decide who signed. login_request asks the wallet for loginWithChallenge: the persona's identity key signs the same challenge the accounts sign, and extract_login returns the identity address with a proof, typed persona, that a ROLA verifier accepts unchanged. Typed as an account proof, the same proof would be checked against an account address that no identity key matches, and a valid signature would be rejected. The login asks for no persona data: the author reports, from testing on a phone, that a one-time data request the persona cannot fill closes the wallet instead of returning an empty answer. The login shipped in connector-v0.4.0 on 3 October 2026.

Radix Connect over iroh

The radixdlt-connect-iroh crate speaks two protocols over iroh. One is Radix Connect over iroh v1, which the Radix mobile wallet speaks, so a server can reach the wallet with no browser in between. The other, specified in the crate's PROTOCOL.md, runs between two programs that both use the SDK, such as a server and a desktop signer, so a ROLA login or a transaction signature can run entirely in Rust with no phone involved. The rest of this section describes that SDK-to-SDK protocol, version 1.

Transport and Framing

Peers connect as iroh 1.x endpoints over QUIC with TLS 1.3 and negotiate the ALPN identifier radixdlt-connect-iroh/1; ALPN is the label a TLS handshake uses to agree which protocol runs over the connection. Each message travels on its own bidirectional stream: a 4-byte big-endian length, the JSON body, then a one-byte status from the receiver saying it took the message, refused it as too large, or could not read it. Messages are capped at 8 MiB by default, and a message that has started must arrive within 60 seconds. Version 0 ran the whole connection over one stream with no confirmations; it is no longer spoken, and its different ALPN makes a v0 peer fail at the handshake.

Roles

The dApp dials, sends the request first and verifies the response, natively in the case of a ROLA proof. The Wallet, the signer, accepts the connection, holds the Ed25519 keys and answers a request only if its Approver approves it; by default nothing is approved. A request envelope carries an interactionId (a UUID v4), metadata (version, network ID, dApp definition address, origin) and an items object naming the interaction; the response echoes the interactionId as success or as failure with an error code.

Interaction Flows

The protocol carries the same three interactions as Radix Connect:

  • Account proof (ROLA) – the dApp sends a 32-byte challenge; the Wallet signs a message built from the challenge, the dApp definition and the origin; the dApp checks the returned proofs with radixdlt-rola, independently of the transport.
  • Transaction – the dApp sends a manifest; the Wallet compiles it, builds and notarizes the transaction, submits it to the Gateway and polls its status for up to 80 seconds. It answers with the intent hash on success, and a failure names the intent hash too, including a failure meaning the outcome is not yet known.
  • Pre-authorization – the dApp sends a subintent manifest, a part of a transaction that someone else completes and submits, with an expiry in seconds; the Wallet signs the subintent for a window of epochs (about five minutes each) and returns the signed partial transaction without submitting it.

Pairing, Identity and Admission

A Wallet shares a locator: a full ticket(), listing every address the endpoint knows, for the same host or a LAN; or an id_ticket() or the bare endpoint ID, for peers that look the address up. The crate has no mDNS discovery. An endpoint's identity is ephemeral, a fresh key each run, or fixed, where a 32-byte seed gives a stable EndpointId. The specification advises a seed used only for the endpoint rather than a Radix account key, because the EndpointId is public and would link the account to the machine. Relay::Disabled keeps connections direct; Relay::Enabled uses the public relays of n0, the company that develops iroh, and address lookup to reach peers behind NAT. By default any peer may connect; allow_only or admit restrict who may, checked on the authenticated EndpointId right after the handshake.

Security Properties

QUIC with TLS 1.3 gives the channel confidentiality and integrity, and dialling an EndpointId reaches that key's holder or fails. The dApp definition and origin in a request are claims; only the peer's EndpointId is authenticated, so the specification warns against exposing a Wallet with a permissive Approver to unknown peers. ROLA proofs are verified by the dApp against the challenge, dApp definition, origin and network ID, independently of the transport. Relays forward end-to-end encrypted packets.

AI-Agent Integration

radixdlt-connector-mcp is a local Model Context Protocol (MCP) server. MCP is the standard by which an AI agent calls external tools, and this server gives an agent tools to pair a Radix Wallet and ask it to sign; the phone approves each request and the private key never leaves it. Since connector-v0.7.0 on 31 October 2026 it pairs through radixdlt-connect-auto, so one QR code works with any Radix Wallet.