Documentation ¶
Index ¶
- Constants
- Variables
- func DecodeAddress(address string) (prefix string, payload []byte, err error)
- func EncodeAddress(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 ( ShortFormat byte = 1 CodeHashIndexSingle byte = 0 CodeHashIndexAnyoneCanPay byte = 2 PrefixMainNet = "ckb" )
Variables ¶
View Source
var ( NervosChainBase string NervosChainId crypto.Hash )
Functions ¶
func EncodeAddress ¶
func GenerateAssetId ¶
func VerifyAddress ¶
func VerifyAssetKey ¶
func VerifyTransactionHash ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.