utils

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesTo0xHex

func BytesTo0xHex(b []byte) string

BytesToHex encodes b as a hex string with 0x prefix.

func BytesToHex

func BytesToHex(b []byte) string

BytesToHex encodes b as a hex string without 0x prefix.

func CotaCellDep

func CotaCellDep(indexerUrl string, addr *address.Address) (*types.CellDep, error)

func CotaTypeCellDep

func CotaTypeCellDep(network types.Network) *types.CellDep

func GetCotaLiveCell

func GetCotaLiveCell(indexerUrl string, addr *address.Address) (*indexer.LiveCell, error)

func HexToBytes

func HexToBytes(h string) ([]byte, error)

func JoyIDLockCellDep

func JoyIDLockCellDep(network types.Network, outPoint *types.OutPoint) *types.CellDep

func Trim0x

func Trim0x(h string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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