Пример #1
0
        public bool VerifyTransaction(string rlp)
        {
            var transaction = TransactionFactory.CreateTransaction(rlp);

            return(transaction.Key.VerifyAllowingOnlyLowS(transaction.RawHash, transaction.Signature));
        }
Пример #2
0
        public byte[] GetPublicKey(string rlp)
        {
            var transaction = TransactionFactory.CreateTransaction(rlp);

            return(transaction.Key.GetPubKey());
        }
Пример #3
0
        public string GetSenderAddress(string rlp)
        {
            var transaction = TransactionFactory.CreateTransaction(rlp);

            return(transaction.Key.GetPublicAddress());
        }