# README

Address

GoDoc

Package address implements structs for Cardano address types.

Installation

go get github.com/jsambuo/go-cardano-serialization/address

Overview

Address handles serialization and deserilization of addresses used on the Cardano network. Currently supports:

  • Byron/Legacy Address
  • Enterprise Address
  • Base Address
  • Pointer Address
  • Reward Address

Address package also provides an Address interface and utility to load address from bech32/base58 encoded strings automatically into one of the supported address types.

Usage

Examples on how to use the address package can be found in examples

License

Package address is licensed under the Apache License

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
NewBaseAddress returns a pointer to a new BaseAddress given the network, payment and stake credentials.
NewEnterpriseAddress returns a pointer to a new Enterprise Address given the network and payment.
No description provided by the author
NewPointer returns a pointer to a new StakePointer given slot, transaction index and certificate index.
NewPointerAddress returns a pointer to a new Pointer address given the network, payment and stake credentials.
NewRewardAddress returns a pointer to a new RewardAddress given the network and stake credentials.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BaseAddress contains information of the base address.
No description provided by the author
No description provided by the author
EnterpriseAddress contains content for enterprise addresses.
A pointer address indirectly specifies the staking key that should control the stake for the address.
RewardAddress contains content of the reward/staking address.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author