These are chat archives for Nethereum/Nethereum
var estimate = await _web3.Eth.DeployContract.EstimateGasAsync(abi, byteCode, _account.Address, arguments); var receipt = await _web3.Eth.DeployContract.SendRequestAndWaitForReceiptAsync(abi, byteCode, _account.Address, estimate, null, null, arguments);
Any idea where I'm going wrong?
var contract = web3.Eth.GetContract(abi, contractAddress); var registerUser = contract.GetFunction("registerUser"); var transaction = registerUser.CreateTransactionInput(platformAccount.Address, address, "0"); var request = await web3.Personal.SignAndSendTransaction.SendRequestAsync(transaction, platformPassword);
My guess is it's in the signing portion. And to my knowledge I can't do the whole unlockAccount function because Infura doesn't do that.