Files
nym/sdk/rust/nym-sdk
2026-04-29 10:28:03 +01:00
..
2026-04-29 10:28:02 +01:00
2026-04-24 16:07:49 +02:00
2026-04-17 09:23:55 +01:00
2026-04-29 10:28:03 +01:00

Nym Rust SDK

This repo contains several components:

  • mixnet: exposes Nym Client builders and methods. This is useful if you want to interact directly with the Client, or build transport abstractions.
  • tcp_proxy: exposes functionality to set up client/server instances that expose a localhost TcpSocket to read/write to like a 'normal' socket connection. tcp_proxy/bin/ contains standalone nym-proxy-client and nym-proxy-server binaries.
  • clientpool: a configurable pool of ephemeral Nym Clients which can be created as a background process and quickly grabbed.
  • stream_wrapper: made up of two parts: a TCP-Socket-like abstraction (mixnet_stream_wrapper.rs) for a Nym Client, and an abstraction built on top of this (mixnet_stream_wrapper_ipr) which allows for client-side integrations to send IP packets through Exit Gateways' IpPacketRouter, and use the Mixnet as a proxy. For an example of where this is used, see the smolmix crate.

Documentation can be found here.