Skip to content
Projects

About

💠 Upgradeable-first Solidity smart contract development library 💠

Business & Finance

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Solidstate Solidity


solidstate logo
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

Explore related projects

Loading…