solidity-framework
en: A General Solidity Development and Testing Framework/CLI.
zh: 通用的开发和测试Solidity
的快速脚手架
en: A universal development and testing scaffold for Solidity, integrated with Hardhat, Foundry, and popular libraries, supporting Diamond contract standards. It comes with some ready-made scripts, and you can set it up with a single sol command. If you have any good scripts and configurations, you can submit them to the repository, and let's build it together.
zh: 通用的开发和测试脚手架sol,集成了hardhat,foundry和主流类库,支持钻石合约规范,内置部分现成的脚本,一条sol
命令即可搭建完成,大家如果有不错的脚本和配置,可以提交到仓库,我们一起来建设它。
quick start
npm i -g solidity-framework
sol
commonds
sol --help
┌───────────────┬───────┬───────────────────────────────────────────────────┐
│ Command │ Alias │ Description │
├───────────────┼───────┼───────────────────────────────────────────────────┤
│ init │ │ init the current directory as project │
├───────────────┼───────┼───────────────────────────────────────────────────┤
│ networks │ │ refresh network config file: hardhat.network.json │
├───────────────┼───────┼───────────────────────────────────────────────────┤
│ show networks │ │ show all networks │
├───────────────┼───────┼───────────────────────────────────────────────────┤
│ --name │ -n │ File name to be used │
├───────────────┼───────┼───────────────────────────────────────────────────┤
│ --version │ -v │ Show the current version of the package │
└───────────────┴───────┴───────────────────────────────────────────────────┘