Documentation
¶
Index ¶
- type EOSChain
- func (e *EOSChain) CompileTransaction(input *chain_abstraction.TransactionInput, signatures [][]byte, ...) ([]byte, error)
- func (e *EOSChain) CreateAndSignTransaction(input interface{}, privateKey []byte) ([]byte, error)
- func (e *EOSChain) GetPreimageHash(input *chain_abstraction.TransactionInput) ([]byte, []byte, error)
- func (e *EOSChain) PrepareTransaction(input interface{}) (*chain_abstraction.TransactionInput, error)
- func (e *EOSChain) Sign(preimage []byte, privateKey []byte) ([]byte, error)
- func (e *EOSChain) ValidateTransactionInput(input interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EOSChain ¶
type EOSChain struct {
*chain_abstraction.BaseChain
}
EOSChain implements the Chain interface for EOS
func (*EOSChain) CompileTransaction ¶
func (e *EOSChain) CompileTransaction( input *chain_abstraction.TransactionInput, signatures [][]byte, publicKeys [][]byte, ) ([]byte, error)
CompileTransaction compiles an EOS transaction with signatures
func (*EOSChain) CreateAndSignTransaction ¶
CreateAndSignTransaction creates and signs an EOS transaction
func (*EOSChain) GetPreimageHash ¶
func (e *EOSChain) GetPreimageHash(input *chain_abstraction.TransactionInput) ([]byte, []byte, error)
GetPreimageHash gets the preimage hash for EOS transaction
func (*EOSChain) PrepareTransaction ¶
func (e *EOSChain) PrepareTransaction(input interface{}) (*chain_abstraction.TransactionInput, error)
PrepareTransaction prepares an EOS transaction for external signing
func (*EOSChain) ValidateTransactionInput ¶
ValidateTransactionInput validates EOS transaction input
Click to show internal directories.
Click to hide internal directories.