Nerdbank.Zcash 0.1.635-beta-ge3703560a5

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 7.0
This is a prerelease version of Nerdbank.Zcash.
dotnet add package Nerdbank.Zcash --version 0.1.635-beta-ge3703560a5
NuGet\Install-Package Nerdbank.Zcash -Version 0.1.635-beta-ge3703560a5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nerdbank.Zcash" Version="0.1.635-beta-ge3703560a5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nerdbank.Zcash --version 0.1.635-beta-ge3703560a5
#r "nuget: Nerdbank.Zcash, 0.1.635-beta-ge3703560a5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Nerdbank.Zcash as a Cake Addin
#addin nuget:?package=Nerdbank.Zcash&version=0.1.635-beta-ge3703560a5&prerelease

// Install Nerdbank.Zcash as a Cake Tool
#tool nuget:?package=Nerdbank.Zcash&version=0.1.635-beta-ge3703560a5&prerelease

Nerdbank.Zcash

Features

  • Parse and construct Zcash addresses, including transparent, shielded and unified addresses.
  • Extract the receivers from unified addresses and others.

This project sponsored in part by the 🛡️ Zcash Foundation.

Online live demo

See this library running live via Blazor in your web browser.

Sample usage

using Nerdbank.Zcash;

// Parse addresses:
var transparent = ZcashAddress.Parse("t1a7w3qM23i4ajQcbX5wd6oH4zTY8Bry5vF");
var sapling = ZcashAddress.Parse("zs1znewe2leucm8gsd2ue24kvp3jjjwgrhmytmv0scenaf460kdj70r299a88r8n0pyvwz7c9skfmy");
var unified = ZcashAddress.Parse("u1vv2ws6xhs72faugmlrasyeq298l05rrj6wfw8hr3r29y3czev5qt4ugp7kylz6suu04363ze92dfg8ftxf3237js0x9p5r82fgy47xkjnw75tqaevhfh0rnua72hurt22v3w3f7h8yt6mxaa0wpeeh9jcm359ww3rl6fj5ylqqv54uuwrs8q4gys9r3cxdm3yslsh3rt6p7wznzhky7");

// Extract the receivers from unified addresses:
SaplingAddress? sapling = unified.Receivers.OfType<SaplingAddress>().FirstOrDefault();

// Construct unified addresses:
UnifiedAddress unified = UnifiedAddress.Create(new[]
{
	ZcashAddress.Parse("zs1znewe2leucm8gsd2ue24kvp3jjjwgrhmytmv0scenaf460kdj70r299a88r8n0pyvwz7c9skfmy"),
	ZcashAddress.Parse("t1a7w3qM23i4ajQcbX5wd6oH4zTY8Bry5vF"),
});
string myUnified = unified.ToString();
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.635-beta-ge3703560a5 82 8/1/2023
0.1.542-beta 69 4/26/2023