我正在尝试使用seth部署一个简单的智能合约。以下是我的智能合约(由于难以部署,因此是空白智能合约):
pragma solidity ^0.5.0;
contract smart {
}
我正在尝试按以下方式部署它(如seth文档中所述):
seth account import key-file.pem myalias
Key at key-file.pem imported with alias myalias
root@99c92cf5544f:/project/sawtooth-seth# solc --bin smartcontract.sol
======= smartcontract.sol:smart =======
Binary:
6080604052348015600f57600080fd5b50603580601d6000396000f3fe6080604052600080fdfea165627a7a72305820ec38422ab4f724ad4ae1506a76f60df342650be71e0425b31a50ab5d0ea509bd0029
root@99c92cf5544f:/project/sawtooth-seth# seth contract create --wait myalias 6080604052348015600f57600080fd5b50603580601d6000396000f3fe6080604052600080fdfea165627a7a72305820ec38422ab4f724ad4ae1506a76f60df342650be71e0425b31a50ab5d0ea509bd0029
Enter Password to unlock myalias:
Error: Problem submitting account creation transaction: Invalid transaction.
请有人指出我做错了吗?对于所有智能合约(甚至那些在Remix中成功编译的智能合约),它都显示相同的错误。