Xrpl.AddressCodec
11.26.0
dotnet add package Xrpl.AddressCodec --version 11.26.0
NuGet\Install-Package Xrpl.AddressCodec -Version 11.26.0
<PackageReference Include="Xrpl.AddressCodec" Version="11.26.0" />
<PackageVersion Include="Xrpl.AddressCodec" Version="11.26.0" />
<PackageReference Include="Xrpl.AddressCodec" />
paket add Xrpl.AddressCodec --version 11.26.0
#r "nuget: Xrpl.AddressCodec, 11.26.0"
#:package Xrpl.AddressCodec@11.26.0
#addin nuget:?package=Xrpl.AddressCodec&version=11.26.0
#tool nuget:?package=Xrpl.AddressCodec&version=11.26.0
Xrpl.AddressCodec
Encode, decode, and validate XRP Ledger base58 values in C#: classic addresses, X-addresses, seeds, and public keys.
This is a base package of the Xrpl SDK, which already depends on it. Install it on its own when you only need address handling. It targets .NET Standard 2.0.
dotnet add package Xrpl.AddressCodec
Work with classic addresses
XrplCodec validates a classic address and converts it to and from its 20-byte account ID:
using Xrpl.AddressCodec;
string address = "rEqtEHKbinqm18wQSQGstmqg9SFpUELasT";
bool isValid = XrplCodec.IsValidClassicAddress(address);
// true
byte[] accountId = XrplCodec.DecodeAccountID(address);
string sameAddress = XrplCodec.EncodeAccountID(accountId);
// rEqtEHKbinqm18wQSQGstmqg9SFpUELasT
XrplCodec also encodes and decodes seeds (EncodeSeed, DecodeSeed), account public keys (EncodeAccountPublic, DecodeAccountPublic), and node public keys (EncodeNodePublic, DecodeNodePublic).
Work with X-addresses
An X-address packs a classic address, an optional destination tag, and a network flag into one string. XrplAddressCodec converts in both directions. Pass false for isTest on Mainnet:
using Xrpl.AddressCodec;
string xAddress = XrplAddressCodec.ClassicAddressToXAddress("rEqtEHKbinqm18wQSQGstmqg9SFpUELasT", 12345, false);
// XVHvsC9LTkrK3bqJTsVFvjSAM7GGjBNBYNan5dcMZHubXQn
XrplAddressCodec.CodecAddress decoded = XrplAddressCodec.XAddressToClassicAddress(xAddress);
// decoded.ClassicAddress: rEqtEHKbinqm18wQSQGstmqg9SFpUELasT
// decoded.Tag: 12345
// decoded.Test: False
More information
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Chaos.NaCl.Standard (>= 1.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Portable.BouncyCastle (>= 1.9.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Xrpl.AddressCodec:
| Package | Downloads |
|---|---|
|
Xrpl.BinaryCodec
A C# library to interact with the XRP Ledger (XRPL) blockchain |
|
|
Xrpl.Keypairs
A C# library to interact with the XRP Ledger (XRPL) blockchain |
|
|
XrplCSharp
A C# library to interact with the XRP Ledger (XRPL) blockchain |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.26.0 | 81 | 11/10/2026 |
| 11.25.1 | 440 | 11/6/2026 |
| 11.25.0 | 63 | 11/6/2026 |
| 11.20.0 | 900 | 10/25/2026 |
| 10.9.0 | 9,732 | 7/17/2026 |
| 10.3.0 | 7,011 | 5/7/2026 |
| 10.0.0 | 9,338 | 2/12/2026 |
| 9.0.1-beta | 633 | 12/16/2025 |
| 9.0.0-beta | 4,002 | 5/24/2025 |