Skip to content

VYLTH/antgrid-sdk-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Antgrid Go SDK

Official Go SDK for Antgrid — managed key infrastructure for every chain.

Install

go get github.com/VYLTH/antgrid-sdk-go/antgrid

Usage

package main

import (
    "fmt"
    antgrid "github.com/VYLTH/antgrid-sdk-go/antgrid"
)

func main() {
    client := antgrid.NewClient("sk_live_...", "ss_live_...")

    wallet, _ := client.Wallets.Create(antgrid.CreateWalletParams{
        Chain: "ethereum",
        Label: "strategy-1",
    })

    fmt.Println(wallet.Address)
}

The default API base URL is https://api.antgrid.io/v1. Override with client.WithBaseURL(url) if needed.

License

MIT

About

Official Go SDK for Antgrid — managed wallet infrastructure

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages