Folder examples provides examples to get you started on creating addresses, building transactions and submitting transactions to Cardano network(testnet or mainnet).
Installation
$ go get github.com/jsambuo/go-cardano-serialization
Demonstrates usage of the NewAddress function provided in package address for decoding bech32/base58 encoded addresses into one of the supported types(enterprise, base, byron, pointer). The Address interface also provides a String() method to encode to bech32 or base58(byron).
Node
Node package provides an interface for interacting with Blockfrost API or cardano-cli. The examples in node/ demonstrate how to query UTXOs, Tip information, Protocol Parameters. The node interface can also be used to submit signed transactions using either of the backends.