安装 solc
sudo npm install -g solc
编译Solidity智能合约
solcjs --abi --bin ./YourContract.sol -o build
获取智能合约的 ABI 和 bytecode
// print abi file in build directory
cat ./build/*.abi
// print bytecode file in build directory
cat ./build/*.bin
全部产品
Search
使用solc编译智能合约
更新时间: 2019-01-17
文章是否有用?
您觉得这篇文档的主要问题是哪些?
其他建议?