add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

24
pages.zh/common/solcjs.md Normal file
View File

@@ -0,0 +1,24 @@
# solcjs
> 一组用于Solidity编译器的JavaScript绑定。
> 更多信息:<https://github.com/ethereum/solc-js>。
- 将特定合约编译为十六进制:
`solcjs --bin {{path/to/file.sol}}`
- 编译特定合约的ABI
`solcjs --abi {{path/to/file.sol}}`
- 指定一个基本路径以解析导入:
`solcjs --bin --base-path {{path/to/directory}} {{path/to/file.sol}}`
- 指定一个或多个包含外部代码的路径:
`solcjs --bin --include-path {{path/to/directory}} {{path/to/file.sol}}`
- 优化生成的字节码:
`solcjs --bin --optimize {{path/to/file.sol}}`