address

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestnetJoyidCodeHash = "0x07595bf3a836bdb7f93a91a66cb2c8cbaf0d807e8adecddc9d910aac6f0a5d0f"
	MainnetJoyidCodeHash = "0x07595bf3a836bdb7f93a91a66cb2c8cbaf0d807e8adecddc9d910aac6f0a5d0f"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type JoyIDAddress added in v0.2.0

type JoyIDAddress struct {
	// contains filtered or unexported fields
}

func DefaultJoyIDLock added in v0.2.0

func DefaultJoyIDLock() *JoyIDAddress

func NewJoyIDLock added in v0.2.0

func NewJoyIDLock(joyidCodeHash string, network types.Network) *JoyIDAddress

func (*JoyIDAddress) FromPrivKey added in v0.2.0

func (addr *JoyIDAddress) FromPrivKey(key string, algIndex alg.AlgIndex) *address.Address

func (*JoyIDAddress) FromPubkeyHash added in v0.2.0

func (addr *JoyIDAddress) FromPubkeyHash(pubkeyHash []byte, algIndex alg.AlgIndex) *address.Address

Jump to

Keyboard shortcuts

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