util

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddressTransactions

func GetAddressTransactions(addr string, url string)

TODO: implement this api

func ImportPrivateKeyHexToLegacy

func ImportPrivateKeyHexToLegacy(hex []byte, net *chaincfg.Params) string

func ImportPrivateKeyHexToP2TR

func ImportPrivateKeyHexToP2TR(hex []byte, net *chaincfg.Params) string

func ImportPrivateKeyToLegacy

func ImportPrivateKeyToLegacy(privateKey string, net *chaincfg.Params) string

func ImportPrivateKeyToP2TR

func ImportPrivateKeyToP2TR(privateKey string, net *chaincfg.Params) string

func ParseAddress

func ParseAddress(addr string, net btcx.Net) (btcutil.Address, error)

func ParseTxHash

func ParseTxHash(txid string) (*chainhash.Hash, error)

Types

type Wallet

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

func CreateWalletP2TR

func CreateWalletP2TR(net *chaincfg.Params) *Wallet

Jump to

Keyboard shortcuts

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