项目
在 GitHub 查看
solidstate-network/solidstate-solidity
关于
💠 一款优先支持可升级合约的 Solidity 智能合约开发库 💠
商业与金融实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Solidstate Solidity
The Solidstate smart contract development library.
Packages
Solidstate is an upgradeable-first Solidity smart contract development library.
It consists of the following packages:
| package | description | 📕 |
|---|---|---|
@solidstate/abi |
contract ABIs | 📖 |
@solidstate/contracts |
core contracts | 📖 |
@solidstate/library |
functions for interacting with and validating contracts | 📖 |
@solidstate/spec |
portable tests which may be run against third-party implementations of core contracts | 📖 |
Development
Install dependencies:
pnpm install
Setup Husky to format code on commit:
pnpm prepare
Compile contracts via Hardhat:
pnpm hardhat build
Testing
Test contracts with Hardhat:
pnpm hardhat test
Generate a gas usage report:
pnpm hardhat test --gas-stats
Generate a code coverage report:
pnpm hardhat test --coverage
Publication
Publish packages via Lerna:
pnpm lerna-publish
探索相关项目
加载中…