Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道如何调用修改为 onlyOwner 的函数,并且在构造函数中将所有者设置为 account(0),稍后在使用 web3js 部署后。我知道我可以发送 signedTransaction,但我需要此所有者帐户的私钥才能签名,如果您能建议在部署期间/之后如何获取此私钥,我将不胜感激。谢谢