CardanoBech32 0.9.1

dotnet add package CardanoBech32 --version 0.9.1
NuGet\Install-Package CardanoBech32 -Version 0.9.1
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="CardanoBech32" Version="0.9.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CardanoBech32 --version 0.9.1
#r "nuget: CardanoBech32, 0.9.1"
#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 CardanoBech32 as a Cake Addin
#addin nuget:?package=CardanoBech32&version=0.9.1

// Install CardanoBech32 as a Cake Tool
#tool nuget:?package=CardanoBech32&version=0.9.1

CardanoBech32Wrapper based on bech32

What is it ?

The CardanoBech32Wrapper is a C# Library which can be used to encode or decode bech32 strings. This can be helpful if you want to see if multiple addresses belong to one stake key (e.g. wallet), even if they are not used yet on cardano.

Current Possibilities

  • Convert Bech32 format into Hex format
  • Convert Hex format into Bech32 format
  • Supported Cardano address types
    • Mainnet
      • addr1
      • pool1
      • stake1
    • Testnet
      • addr_test1
      • pool_test1
      • stake_test1
  • No dependencies except for this library
  • NetStandard 2.0

Nuget Package

We created a Nuget Package called CardanoBech32. You can find it here

Github Repository

Code can be found here. Do a PR if you miss something or contact us.

How to use

Check out our test cases to understand how to use it

Embedded into API

You can use these functionalities now also via our CutyMals Cardano API. Endpoint which provides the functionalities is /api/CardanoTools.

Mainnet Cardano API

Testnet Cardano API

Next Steps

  • Include converter of PolicyId+Assetname into Asset Fingerprintsfingerprint

Questions or problems ?

Contact us on Twitter or directly on Github.

Product 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. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CardanoBech32:

Package Downloads
Cosmcs

A C# client library for cosmos-sdk blockchains

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.9.1 17,402 12/27/2021
0.9.0 216 12/27/2021
0.8.0 216 12/27/2021
0.7.0 216 12/27/2021
0.6.0 233 12/23/2021
0.5.0 221 12/23/2021
0.4.0 265 12/18/2021
0.3.0 245 12/18/2021
0.2.0 251 12/18/2021
0.1.0 249 12/18/2021