Skip to content

Releases: icon-project/stacks-go-sdk

v0.5.0

26 Nov 02:27
5df9172
Compare
Choose a tag to compare

What's Changed

  • feat: implement post conditions & support smart contract clarity version by @bestmike007 in #36

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0

15 Nov 21:40
f75a452
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.2...v0.4.0

v0.3.2

10 Nov 02:50
ad98a9b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.1...v0.3.2

v0.3.1

05 Nov 06:01
7a09394
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.3.1

v0.3.0

04 Nov 21:49
e2a0f49
Compare
Choose a tag to compare

This release adds ABI and Type-1 transaction support.

What's Changed

Full Changelog: v0.2.0...v0.3.0

v0.2.0

12 Oct 06:51
659e286
Compare
Choose a tag to compare

This release adds support for the RPC Client API and Stacks Blockchain API.

What's Changed

Full Changelog: v0.1.0...v0.2.0

Stacks Go SDK v0.1.0 - Initial Release

10 Sep 11:48
faa4fa7
Compare
Choose a tag to compare

We're excited to announce the initial release of the unofficial Stacks Blockchain SDK for Go. This SDK enables Go developers to interact with the Stacks blockchain, allowing for token transfers and smart contract calls.

Features

  • Transaction creation and signing for:
    • STX token transfers (Type-0 transactions)
    • Contract calls (Type-2 transactions)
  • Support for standard authorization and single-signature spending conditions
  • Clarity value encoding and decoding
  • Stacks address handling and conversion
  • Network support for both Mainnet and Testnet
  • Transaction broadcasting
  • Fee estimation
  • Nonce management

Key Components

  • pkg/clarity: Implements Clarity types and values
  • pkg/crypto: Provides cryptographic functions for signing and key management
  • pkg/stacks: Defines Stacks-specific types and network configurations
  • pkg/transaction: Handles transaction creation, serialization, and broadcasting

Usage Examples

The SDK includes examples for common operations:

  1. Creating and broadcasting STX token transfers
  2. Making contract calls
  3. Working with Clarity values

Integration Tests

The package includes integration tests that demonstrate real-world usage, including:

  • Broadcasting STX token transfer transactions
  • Broadcasting contract call transactions

These tests can serve as practical examples for developers integrating the SDK into their projects.

Getting Started

To use this SDK in your Go project, run:

go get github.com/icon-project/stacks-go-sdk

What's Changed

Full Changelog: https://github.com/icon-project/stacks-go-sdk/commits/v0.1.0