public void GenerateNewAccountFileMod(string pass, string path) { var ecKey = EthECKey.GenerateKey(); var privateKey = ecKey.GetPrivateKeyAsBytes().ToHex(); // var account = new Account(privateKey); }
private BigInteger GetChainFromVChain() { return(EthECKey.GetChainFromVChain(Signature.V.ToBigIntegerFromRLPDecoded())); }
private void Initialise(EthECKey key) { _privateKey = key.GetPrivateKey(); Address = key.GetPublicAddress(); InitialiseDefaultTransactionManager(); }
public override void Sign(EthECKey key) { SimpleRlpSigner.Sign(key, GetChainIdAsBigInteger()); }
public Account(EthECKey key) { Initialise(key); }