Ethereum 错误:未实现personal_unlockAccount方法
我正在使用nethereum(.Net integration library forEthereum 错误:未实现personal_unlockAccount方法,ethereum,Ethereum,我正在使用nethereum(.Net integration library forEthereum)进行测试,试图用以下代码解锁testrpc上的帐户API: var ipcClient = ClientFactory.GetClient(); var web3 = new Web3(ipcClient); // Unlock the caller's account with the given password var unlockResult = await web3.Persona
Ethereum
)进行测试,试图用以下代码解锁testrpc上的帐户API:
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
,并且有10个由testrpc创建的默认帐户,我想解锁其中的一个
调用此方法会出现以下异常:
错误:不支持RPC方法personal\u unlockAccount。
Testrpc没有解锁帐户的功能,这是像Geth这样的客户端特有的。所以,我不需要解锁?只需使用web3.Eth.DeployContract
和其他功能?也很高兴在这里见到你