Skip to content

fudgebucket27/TapperSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TapperSharp

C# Socket.io Client Wrapper around Benny's TAP Public Endpoints: https://github.com/BennyTheDev/trac-tap-public-endpoint

WIP. Expect breaking changes.

Install into your project

Via Nuget

NuGet\Install-Package TapperSharp -Version 0.0.1

Client usage

SocketIOOptions socketIOOptions = new SocketIOOptions()
{
ReconnectionAttempts = 3,
Reconnection = true,
ReconnectionDelay = 500,
 ReconnectionDelayMax = 500,
RandomizationFactor = 0
 };
var _tapperClient = new TapperClient("https://tap.trac.network", socketIOOptions); // Initialize client
await _tapperClient.ConnectAsync(); // Connect
var holders = await _tapperClient!.GetHoldersLengthAsync("tap"); // Example usage of get holders length of a token
await _tapperClient!.DisconnectAsync(); // Disconnect

Check the tests for usage of all methods.

About

C# Socket.io Client Wrapper around Benny's TAP Public Endpoints: https://github.com/BennyTheDev/trac-tap-public-endpoint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages