web3.js 没有办法在离线状态下签署交易
作者: bithalo创建于 2024年12月18日更新于 2025年1月21日
预期行为
web3.eth.accounts.signTransaction(transaction, privateKey); 在离线状态下,如果提供了 chainId、nonce、gasLimit 和 gasPrice,则无法签署交易。
内容来源: web3/web3.js
web3.eth.accounts.signTransaction(transaction, privateKey); 在离线状态下,如果提供了 chainId、nonce、gasLimit 和 gasPrice,则无法签署交易。
内容来源: web3/web3.js