0
我與nethereum測試(.NET集成庫Ethereum
)試圖解鎖帳戶的API上testrpc與下面的代碼:錯誤:personal_unlockAccount方法沒有實現
var ipcClient = ClientFactory.GetClient();
var web3 = new Web3(ipcClient);
// Unlock the caller's account with the given password
var unlockResult = await web3.Personal.UnlockAccount.SendRequestAsync(publicKey, password, _accountUnlockTime);
return unlockResult;
我已經執行上的PowerShell testrpc
,並有由testrpc創建的10個默認賬戶,並且想解鎖它們。
調用這個方法,我得到以下異常:
Error: RPC method personal_unlockAccount not supported.
所以,我不需要解鎖?只需使用'web3.Eth.DeployContract'等功能?也很高興在這裏看到你 –
是的,這將是足夠的。並感謝:D –