Documentation ¶
Index ¶
- Constants
- Variables
- func DecodeAddress(address string) (prefix string, payload []byte, err error)
- func EncodeAddress(payload []byte) (string, error)
- func EncodeBech32mAddress(payload []byte) (string, error)
- func GenerateAssetId(assetKey string) crypto.Hash
- func VerifyAddress(address string) error
- func VerifyAssetKey(assetKey string) error
- func VerifyTransactionHash(hash string) error
Constants ¶
View Source
const ( CodeHashIndexSingle byte = 0 CodeHashIndexAnyoneCanPay byte = 2 PrefixMainNet = "ckb" )
Variables ¶
View Source
var ( NervosChainBase string NervosChainId crypto.Hash )
Functions ¶
func EncodeAddress ¶
func EncodeBech32mAddress ¶ added in v0.13.12
func GenerateAssetId ¶
func VerifyAddress ¶
func VerifyAssetKey ¶
func VerifyTransactionHash ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.