Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateBtcAddress ¶
func GenerateBtcAddress() (string, *secp256k1.PrivateKey, error)
GenerateBtcAddress: Generate new BTC address
func SigTransaction ¶
func SigTransaction(txSerialized []byte, privateKey *secp256k1.PrivateKey) ([]byte, error)
func VarIntConverter ¶
Types ¶
type Tx ¶
type Tx struct {
// contains filtered or unexported fields
}
transation struct
func InitializeTransaction ¶
func InitializeTransaction() (tx Tx)
func Transaction ¶
func (*Tx) SerializeSignature ¶
func (tx *Tx) SerializeSignature(privateKey *secp256k1.PrivateKey) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.