Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string privateKey = "0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
- string senderAddress = "0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
- var account = new Account(privateKey);
- var web3 = new Web3(account, "https://rinkeby.infura.io/cu9QSOeCCcK1lbKZrPey");
- var password = "xxxxxxx"; // where does this come from? the meta mask password???
- // error on the line below
- var unlockResult = await web3.Personal.UnlockAccount.SendRequestAsync(senderAddress, password, new HexBigInteger(120));
Add Comment
Please, Sign In to add comment