XrplCSharp

A pure C# implementation for interacting with the XRP Ledger. This library simplifies complex XRP Ledger operations including serialization, transaction signing, wallet management, and network communication.

Packages

Xrpl.AddressCodec

Functions for encoding and decoding XRP Ledger addresses and seeds.

  • XrplAddressCodec - Main address encoding/decoding class
  • XrplCodec - Seed and key encoding utilities
  • B58 - Base58 encoding implementation

Xrpl.BinaryCodec

Functions for encoding objects into the XRP Ledger's canonical binary format and decoding them.

  • XrplBinaryCodec - Main binary codec class
  • Types - Serializable type implementations
  • Binary - Binary parsing and serialization

Xrpl.Keypairs

Low-level functions for creating and using cryptographic keys with the XRP Ledger.

  • XrplKeypairs - Key generation and signing
  • Ed25519 - ED25519 algorithm implementation
  • K256 - SECP256K1 algorithm implementation

Xrpl.Client

WebSocket client for communicating with XRP Ledger nodes.

  • XrplClient - Main client class
  • Connection - Connection management
  • Models - Request/Response models

Quick Start

using Xrpl.Client;

// Create and connect client
var client = new XrplClient("wss://s.altnet.rippletest.net:51233");
await client.Connect();

// Get account info
var response = await client.Request(new AccountInfoRequest 
{ 
    Account = "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh" 
});

// Disconnect when done
await client.Disconnect();

Documentation

  • Connection Guide (EN) - How to configure and manage connections
  • Connection Guide (RU) - Руководство по подключению
  • Error Classifier - How to normalize exceptions and XRPL error responses with XrplErrorClassifier
  • API Reference - Full API documentation
  • Edit this page
In this article
Back to top Generated by DocFX