【发布时间】:2021-05-10 21:05:31
【问题描述】:
我正在使用 Web3.py 和一个经过许可的 Hyperledger Besu 网络。
当尝试使用 w3.eth.contract(...) 方法将智能合约部署到网络中时,我收到以下错误:
ValueError: {'code': -32604, 'message': 'The method eth_sendTransaction is not supported. Use eth_sendRawTransaction to send a signed transaction to Besu.'}
我想在执行 w3.eth.contract(...) 时调用了 eth_sendTransaction。有没有其他方法可以部署合约而不会出现这个问题?
【问题讨论】:
标签: ethereum smartcontracts web3py hyperledger-besu