public Task <string> SignTransactionAsync(IEthExternalSigner externalSigner, BigInteger chainId, string to, BigInteger amount, BigInteger nonce, string data) { var transaction = new LegacyTransactionChainId(to, amount, nonce, data, chainId); return(SignTransactionAsync(externalSigner, transaction)); }
public Task <string> SignTransactionAsync(IEthExternalSigner externalSigner, string to, BigInteger amount, BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, string data) { var transaction = new LegacyTransaction(to, amount, nonce, gasPrice, gasLimit, data); return(SignTransactionAsync(externalSigner, transaction)); }
public Task <string> SignTransactionAsync(IEthExternalSigner externalSigner, BigInteger chainId, string to, BigInteger amount, BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit) { var transaction = new TransactionChainId(to, amount, nonce, gasPrice, gasLimit, chainId); return(SignTransactionAsync(externalSigner, transaction)); }
public abstract Task SignExternallyAsync(IEthExternalSigner externalSigner);
public ExternalAccount(string address, IEthExternalSigner externalSigner, BigInteger?chainId = null) { ChainId = chainId; Address = address; ExternalSigner = externalSigner; }
public ExternalAccount(IEthExternalSigner externalSigner, BigInteger?chainId = null) { ExternalSigner = externalSigner; ChainId = chainId; }
public EthECKeyExternalSigner(IEthExternalSigner ethExternalSigner) { _ethExternalSigner = ethExternalSigner; }
public override async Task SignExternallyAsync(IEthExternalSigner externalSigner) { await externalSigner.SignAsync(this).ConfigureAwait(false); }
public Task <string> SignTransactionAsync(IEthExternalSigner externalSigner, Chain chain, string to, BigInteger amount, BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, string data) { return(SignTransactionAsync(externalSigner, (int)chain, to, amount, nonce, gasPrice, gasLimit, data)); }
public Task <string> SignTransactionAsync(IEthExternalSigner externalSigner, Chain chain, string to, BigInteger amount, BigInteger nonce) { return(SignTransactionAsync(externalSigner, (int)chain, to, amount, nonce)); }
private async Task <string> SignTransactionAsync(IEthExternalSigner externalSigner, LegacyTransactionChainId transaction) { await transaction.SignExternallyAsync(externalSigner).ConfigureAwait(false); return(transaction.GetRLPEncoded().ToHex()); }
public Task <string> SignTransactionAsync(IEthExternalSigner externalSigner, string to, BigInteger amount, BigInteger nonce) { var transaction = new Transaction(to, amount, nonce); return(SignTransactionAsync(externalSigner, transaction)); }