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.

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
  • MultiEd25519 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
  • Transaction Simulation
  • Automated sequence number management for parallel transaction submission

TODO

  • Predetermined Indexer queries for Fungible Assets and Digital Assets

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
  • Sponsored transaction example
  • Off-chain multi-sig example

TODO

  • Multi-agent example
  • Script 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

How to publish

  1. Update changelog with a pull request
  2. Create a new tag via e.g. v1.1.0 with the list of changes