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:
Anastasia Prasolova 2018-12-21 12:32:18 +03:00 committed by Anthony De Meulemeester
parent 9c605735b7
commit 74f0019df2
9 changed files with 352 additions and 3 deletions

View file

@ -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