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.
我想bool paused;在没有交易的情况下进入我的反应应用程序。它在 myetherwallet.com 合约 gui 中实现。我怎样才能做到这一点?如果可能的话,我也想用映射来做到这一点。
bool paused;
您需要使用调用方法,它直接在本地节点上进行评估,无需将交易发送到区块链。
https://ethereum.stackexchange.com/questions/765/what-is-the-difference-between-a-transaction-and-a-call/770#770