README.md

July 5, 2025 ยท View on GitHub

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:

packagedescription๐Ÿ“•
@solidstate/abicontract ABIs๐Ÿ“–
@solidstate/contractscore contracts๐Ÿ“–
@solidstate/libraryfunctions for interacting with and validating contracts๐Ÿ“–
@solidstate/specportable 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 compile

Testing

Test contracts with Hardhat and generate gas report using hardhat-gas-reporter:

pnpm hardhat test

Generate a code coverage report using solidity-coverage:

pnpm hardhat coverage

Publication

Publish packages via Lerna:

pnpm lerna-publish