bnbhelper

package
v0.0.0-...-9081df3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccAddress

type AccAddress []byte

AccAddress a wrapper around bytes meant to represent an account address. When marshaled to a string or JSON, it uses Bech32.

func (AccAddress) Bytes

func (bz AccAddress) Bytes() []byte

type Address

type Address = HexBytes

func PubKeyToAddress

func PubKeyToAddress(d []byte) Address

PubKeyToAddress returns a Bitcoin style addresses: RIPEMD160(SHA256(pubkey))

type HexBytes

type HexBytes []byte

Jump to

Keyboard shortcuts

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