Versions in this module Expand all Collapse all v0 v0.2.0 May 11, 2026 Changes in this version + const MaxSeedLen + const MaxSeeds + const PdaMarker + const PublicKeyLength + var ErrAddressLength = errors.New("Wrong key length; addresses are 32 bytes long") + var ErrOnCurveInvalidSeeds = errors.New("Invalid seeds - generated address must be off-curve") + var ErrSeedLength = errors.New("Max seeds (16) exceeded") + func CreateProgramAddressBytes(seeds [][]byte, programID []byte) ([]byte, error) + func IsOnCurve(b []byte) bool + type Address [32]byte + func MustAddress(s string) Address + func (p *Address) String() string + func (p *Address) UnmarshalText(b []byte) error + type Hash [32]byte + func (p *Hash) String() string + func (p *Hash) UnmarshalText(b []byte) error + type Signature [64]byte v0.1.0-alpha.1 Jan 15, 2026