Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Unigox C# SDK

Minimal ASP.NET / C# helper for:

  • POST /api/v1/partner/orders/{order_id}/authorize-crypto-transfer

This SDK is intentionally simple:

  • one file
  • one public class
  • one public method: AuthorizeCryptoTransferAsync

Dependencies

Add these packages to your ASP.NET project:

dotnet add package Nethereum.Signer
dotnet add package Nethereum.ABI

File

  • PartnerAuthorizeCryptoTransferSdk.cs

Usage

using System.Net.Http;
using Unigox.PartnerSdk;

var httpClient = new HttpClient();
var sdk = new PartnerAuthorizeCryptoTransferSdk(httpClient, "https://api-staging.unigox.com");

var result = await sdk.AuthorizeCryptoTransferAsync(
    apiKey: "your_api_key",
    orderId: "your_order_id",
    privateKey: "your_private_key",
    cancellationToken: cancellationToken
);

Notes

  • The private key never leaves your server.
  • The SDK fetches transfer authorization parameters from the API, signs the EIP-712 payload locally, and submits the signed request.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages