Documentation ¶
Index ¶
- Constants
- func CheckSignature(checkAddress string, checkSignature string, message string, coinName string, ...) (bool, error)
- func CreateAndSignTx(vin []Vin, vout []Vout, keys map[string]*floutil.WIF, net *chaincfg.Params, ...) (*wire.MsgTx, error)
- func CreateUnsignedTx(vin []Vin, vout []Vout, floData []byte) (*wire.MsgTx, error)
- func SignMessage(msg string, coinName string, wif string) (string, error)
- func SignMessagePk(msg string, coinName string, prv *floec.PrivateKey, compressed bool) (string, error)
- func SignTx(keys map[string]*floutil.WIF, vin []Vin, net *chaincfg.Params, ...) (*wire.MsgTx, error)
- type Vin
- type Vout
Constants ¶
View Source
const ( P2PKH keyType = iota P2WPKH P2WSH )
Variables ¶
This section is empty.
Functions ¶
func CheckSignature ¶
func CreateAndSignTx ¶
func CreateUnsignedTx ¶
func SignMessagePk ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.