很多人遇到这个问题:
web3.php Error: The method personal_newAccount does not exist/is not available。
其实很简单,我们只需要在geth启动时的rpc参数中设置rpcapi时包括 “personal” 即可。
geth --rpc --rpcaddr 0.0.0.0 --rpcport 8545 --rpcapi
很多人遇到这个问题:
web3.php Error: The method personal_newAccount does not exist/is not available。
其实很简单,我们只需要在geth启动时的rpc参数中设置rpcapi时包括 “personal” 即可。
geth --rpc --rpcaddr 0.0.0.0 --rpcport 8545 --rpcapi