github.com/aeternity/aepp-sdk-go/v6@v6.0.0/README.md (about)

     1  # aepp-sdk-go
     2  
     3  golang sdk for aeternity blockchain
     4  [![Go Report Card](https://goreportcard.com/badge/github.com/aeternity/aepp-sdk-go)](https://goreportcard.com/report/github.com/aeternity/aepp-sdk-go) [![GoDoc](https://godoc.org/github.com/aeternity/aepp-sdk-go?status.svg)](https://godoc.org/github.com/aeternity/aepp-sdk-go)
     5  
     6  ## Setup
     7  If your project uses Go Modules (go.mod, go.sum files), you must include the major version in the import line like this:
     8  `import github.com/aepp-sdk-go/v5/aeternity`
     9  
    10  If your project won't use Go Modules (no go.mod, go.sum files), ensure your $GOPATH/src/github.com/aeternity/aepp-sdk-go is on the correct branch. Then your import should be:
    11  `import github.com/aepp-sdk-go/aeternity`
    12  
    13  ## Usage
    14  No matter what kind of transaction you're making, it always follows the same rules:
    15  1. Find the account nonce, get the transaction TTL (in blocks)
    16  2. Make the transaction
    17  3. Sign the transaction with a given network ID
    18  4. Broadcast it to a node of your choosing
    19  
    20  See `aeternity/context_test.go` or use godoc for code examples.