AzeroIdResolver 1.0.1
See the version list below for details.
dotnet add package AzeroIdResolver --version 1.0.1
NuGet\Install-Package AzeroIdResolver -Version 1.0.1
<PackageReference Include="AzeroIdResolver" Version="1.0.1" />
paket add AzeroIdResolver --version 1.0.1
#r "nuget: AzeroIdResolver, 1.0.1"
// 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.:
- Galaxy Logic Game (successful game for watches and mobiles, 50k+ downloads)
- 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
- C# programming language
- Substrate.NetApi
Product | Versions 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. |
-
net7.0
- GraphQL.Client (>= 6.0.1)
- GraphQL.Client.Serializer.Newtonsoft (>= 6.0.1)
- Substrate.NET.API (>= 0.9.9)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.