SendToAddress RPC call (#114)
* func to get private key from raw bytes * added function to create raw transfer tx * fixes * more fixes * prettify code and comments; neoscan interaction put in dedicated files
This commit is contained in:
parent
9c605735b7
commit
74f0019df2
9 changed files with 352 additions and 3 deletions
|
@ -8,6 +8,12 @@ import (
|
|||
// This TX has not special attributes.
|
||||
type ContractTX struct{}
|
||||
|
||||
func NewContractTX() *Transaction {
|
||||
return &Transaction{
|
||||
Type: ContractType,
|
||||
}
|
||||
}
|
||||
|
||||
// DecodeBinary implements the Payload interface.
|
||||
func (tx *ContractTX) DecodeBinary(r io.Reader) error {
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue