Trait ethcore_rpc::v1::traits::eth_signing::EthSigning []

pub trait EthSigning: Sized + Send + Sync + 'static {
    type Metadata: Metadata;
    fn sign(&self, H160, Bytes) -> BoxFuture<H520, Error>;
    fn send_transaction(&self,
                    Self::Metadata,
                    TransactionRequest)
                    -> BoxFuture<H256, Error>; fn sign_transaction(&self,
                    Self::Metadata,
                    TransactionRequest)
                    -> BoxFuture<RichRawTransaction, Error>; fn to_delegate(self) -> IoDelegate<Self, Self::Metadata> { ... } }

Signing methods implementation relying on unlocked accounts.

Associated Types

Requests metadata

Required Methods

Signs the hash of data with given address signature.

Sends transaction; will block waiting for signer to return the transaction hash. If Signer is disable it will require the account to be unlocked.

Signs transactions without dispatching it to the network. Returns signed transaction RLP representation and the transaction itself. It can be later submitted using eth_sendRawTransaction/eth_submitTransaction.

Provided Methods

Transform this into an IoDelegate, automatically wrapping the parameters.

Implementors