REST API client for AtomicHub NFT marketplace (AtomicAssets).
$ dotnet add package AtomicAssetsClientClient library for interacting with AtomicHub REST API in WAX network and EOS network (not tested yet).
net6.0Microsoft.Extensions.Http and Microsoft.Extensions.Logging.Abstractions)HttpClient (add Polly policies of your choice)dotnet add package AtomicAssetsClient
services.AddHttpClient();
services.Configure<AtomicClientOptions>(Configuration.GetSection("AtomicClientOptions"));
services.AddSingleton<IAtomicClient, AtomicClient>();
⚠ Important: register client as singletone for request limits to be handled correctly betweed different threads!
var templates = await atomicClient.GetTemplates(collectionName: "atomic").ConfigureAwait(false);
Check AdvancedReadme.md to know how to configure HttpClient, how to switch to EOS network, etc.