AzeroIdResolver 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package AzeroIdResolver --version 1.0.1                
NuGet\Install-Package AzeroIdResolver -Version 1.0.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="AzeroIdResolver" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AzeroIdResolver --version 1.0.1                
#r "nuget: AzeroIdResolver, 1.0.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 AzeroIdResolver as a Cake Addin
#addin nuget:?package=AzeroIdResolver&version=1.0.1

// Install AzeroIdResolver as a Cake Tool
#tool nuget:?package=AzeroIdResolver&version=1.0.1                

azero-id.resolver.net

A resolver for AZERO.ID for C# language.

This is a programming tool meant for developers. It significantly simplifies the integration of AZERO.ID into a c# based projects.

Installation

Nuget package: https://www.nuget.org/packages/AzeroIdResolver/

dotnet add package AzeroIdResolver

Supported Networks

  • Aleph Zero Testnet
  • Aleph Zero Mainnet

Methods

  • GetPrimaryNameForAddress
  • GetNamesForAddress
  • GetTld
  • GetAddressForName
  • GetRegistrationPeriodForName
  • ReserveName
  • ReserveNameAndSetAsPrimary
  • TransferName
  • GetControlledNamesForAddress
  • GetControllerAddressForName
  • GetRecordForName
  • SetRecordForName

All of these methods are also well in-line documented: <img width="974" alt="Screenshot 2023-09-26 at 16 44 47" src="https://github.com/RostislavLitovkin/azero-id.resolver.net/assets/77352013/83189d9e-989d-4b78-bf38-5ad0bfa30c66">

Motivation

This tool simplifies the use of AZERO.ID in c# based applications. Without this tool, developers would have to learn how ink! smart contracts work and how to query the state within the contract, which is described here. It is very time consuming and it takes douzens of hours to fully implement.

Thanks to this Nuget package, it can be implemented and used in literally minutes.

To get the AZERO.ID Primary name, all you need to do is this:

using AzeroIdResolver;

Console.WriteLine(await AzeroId.GetPrimaryNameForAddress("5EU6EyEq6RhqYed1gCYyQRVttdy6FC9yAtUUGzPe3gfpFX8y"));
// returns: "rosta"

Polkadot C# community is growing thanks to Ajuna Network and their Substrate.NetApi. C# is mostly popular for it's games, thanks to the popular game engines like Unity, Godot and CryEngine.

Team

Rostislav Litovkin
  • Alumnus at Polkadot Blockchain Academy 2023 in Berkeley
  • Experienced .net MAUI developer, e.g.:
  • Frontend developer at Calamar explorer
  • Successful student at Polkadot DevCamp #2
  • Successful student at Solana Summer School
  • Polkadot Global Series 2023 (Europe) - second place with PlutoWallet
  • Polkadot Global Series 2023 (APEC) - second place with Uniquery.Net
  • Audience choice prize at EthPrague 2023 with HackerPackerDao

Thanks to my experience with other packages, like Uniquery.Net, I think I will be perfect fit for this project.

Techstack used

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-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. 
Compatible target framework(s)
Included target framework(s) (in package)
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
1.0.2 291 11/4/2023
1.0.1 117 10/28/2023
1.0.0 123 9/26/2023