예제 #1
0
        protected async Task SignRLPTransactionAsync(Transaction1559 transaction)
        {
            if (ExternalSignerTransactionFormat == ExternalSignerTransactionFormat.RLP)
            {
                var signature = await SignAndCalculateYParityVAsync(transaction.GetRLPEncodedRaw()).ConfigureAwait(false);

                transaction.SetSignature(signature);
            }
        }
예제 #2
0
        protected async Task SignHashTransactionAsync(Transaction1559 transaction)
        {
            if (ExternalSignerTransactionFormat == ExternalSignerTransactionFormat.Hash)
            {
                var signature = await SignAndCalculateYParityVAsync(transaction.RawHash).ConfigureAwait(false);

                transaction.SetSignature(signature);
            }
        }
예제 #3
0
 public abstract Task SignAsync(Transaction1559 transaction);