aepp-sdk-go

command module
v6.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2019 License: ISC Imports: 1 Imported by: 0

README

aepp-sdk-go

golang sdk for aeternity blockchain Go Report Card GoDoc

Setup

If your project uses Go Modules (go.mod, go.sum files), you must include the major version in the import line like this: import github.com/aepp-sdk-go/v5/aeternity

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: import github.com/aepp-sdk-go/aeternity

Usage

No matter what kind of transaction you're making, it always follows the same rules:

  1. Find the account nonce, get the transaction TTL (in blocks)
  2. Make the transaction
  3. Sign the transaction with a given network ID
  4. Broadcast it to a node of your choosing

See aeternity/context_test.go or use godoc for code examples.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package account contains code for managing account keypairs as well as saving them securely to disk.
Package account contains code for managing account keypairs as well as saving them securely to disk.
Package aeternity is the SDK user-facing code, e.g.
Package aeternity is the SDK user-facing code, e.g.
Package binary contains hashing/base encoding code shared throughout the codebase.
Package binary contains hashing/base encoding code shared throughout the codebase.
Package models holds Go-native structs that are not Transactions.
Package models holds Go-native structs that are not Transactions.
Package naet represents a connection to a Node or Compiler.
Package naet represents a connection to a Node or Compiler.
swagguard
Package transactions contains Go-native Tx structs and related code around Transactions.
Package transactions contains Go-native Tx structs and related code around Transactions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL