Documentation ¶
Index ¶
- Constants
- Variables
- func Base58Decode(b, alphabet string) ([]byte, error)
- func Base58Encode(b []byte, alphabet string) string
- func DoubleSha256(b []byte) []byte
- 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 ( ALPHABET = "rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz" RIPPLE_ACCOUNT_ID_VERSION = 0 RIPPLE_ACCOUNT_ID_LENGTH = 20 )
Variables ¶
View Source
var ( RippleChainBase string RippleChainId crypto.Hash )
Functions ¶
func Base58Decode ¶ added in v0.13.5
Base58Decode decodes a modified base58 string to a byte slice and checks checksum.
func Base58Encode ¶ added in v0.13.5
Base58Encode encodes a byte slice to a modified base58 string.
func DoubleSha256 ¶ added in v0.13.5
func GenerateAssetId ¶
func VerifyAddress ¶
func VerifyAssetKey ¶
func VerifyTransactionHash ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.