Skip to content

aptos-labs/aptos-go-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Reference Go Report Card GitHub go.mod Go version GitHub Tag

aptos-go-sdk

An SDK for the Aptos blockchain in Go. The SDK is currently in Beta.

Getting started

Add go to your go.mod file

go get -u  github.com/aptos-labs/aptos-go-sdk

Where can I see examples?

Take a look at examples/ for some examples of how to write clients.

Where can I learn more?

You can read more about the Go SDK documentation on aptos.dev

Feature support

  • BCS encoding and decoding
  • Structured API parsing
  • Ed25519 Signer support
  • Secp256k1 Signer support
  • On-chain and off-chain multi-sig support
  • Sponsored transaction and Multi-agent support
  • Fungible Asset support
  • Indexer support with limited queries
  • Transaction submission and waiting
  • External signer support e.g. HSMs or external services
  • Move Package publishing support
  • Move script support

TODO

  • Transaction Simulation
  • MultiEd25519 support
  • Predetermined Indexer queries for Fungible Assets and Digital Assets
  • Automated sequence number management for parallel transaction submission

Examples

  • Transaction signing
  • Fungible asset usage
  • External and alternative signing methods
  • On-chain multi-sig
  • Performance differences between transaction submission methods
  • Move package publishing support

TODO

  • Multi-agent example
  • Script Example
  • Sponsored transaction example
  • Off-chain multi-sig example
  • Digital assets / NFTs example
  • Transaction parsing example (by blocks)

Other TODO

  • Ensure blocks fetch all transactions associated
  • More testing around API parsing
  • TypeTag string parsing
  • Add examples into the documentation