Documentation
¶
Index ¶
- Constants
- Variables
- func CreateEmptyTransactionAndHash(from, to, denom string, amount, accountNumber, sequence, source int64, ...) (string, string, error)
- func CreateSendMsg(fromAddress, toAddress, denom string, amount int64) (*msg.SendMsg, error)
- func DecodeRawTransaction(trx []byte) (*tx.StdTx, error)
- func NewPubkey(pubkey []byte) crypto.PubKey
- func SignRawTransaction(hash string, prikey []byte) ([]byte, error)
- func VerifyAndCombineRawTransaction(emptyTrans, signature, pubkey string) (bool, string)
Constants ¶
View Source
const ( Bech32Prefix = "bnb" ChainID = "Binance-Chain-Tigris" )
Variables ¶
View Source
var ( CurveOrder = []byte{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0xBA, 0xAE, 0xDC, 0xE6, 0xAF, 0x48, 0xA0, 0x3B, 0xBF, 0xD2, 0x5E, 0x8C, 0xD0, 0x36, 0x41, 0x41} HalfCurveOrder = []byte{0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5D, 0x57, 0x6E, 0x73, 0x57, 0xA4, 0x50, 0x1D, 0xDF, 0xE9, 0x2F, 0x46, 0x68, 0x1B, 0x20, 0xA0} )
Functions ¶
func CreateSendMsg ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.