Skip to content

solidstate-network/solidstate-solidity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

645bcb4 Β· Mar 18, 2025
Aug 5, 2024
Mar 16, 2025
Mar 6, 2025
Mar 18, 2025
Mar 12, 2025
Mar 15, 2025
Mar 17, 2025
Mar 13, 2025
Mar 18, 2025
Mar 16, 2025
Feb 9, 2022
Jun 1, 2021
Jul 28, 2023
Oct 8, 2020
Mar 9, 2025
Mar 16, 2025
Jan 7, 2025
Mar 16, 2025
Mar 12, 2025
Mar 15, 2025

Repository files navigation

Solidstate Solidity


asdf
The Solidstate smart contract development library.

style style style style

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 via Yarn:

yarn install

Setup Husky to format code on commit:

yarn prepare

Compile contracts via Hardhat:

yarn run hardhat compile

Automatically upgrade dependencies with yarn-up:

yarn upgrade-dependencies

Testing

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

yarn run hardhat test

Generate a code coverage report using solidity-coverage:

yarn run hardhat coverage

Publication

Publish packages via Lerna:

yarn lerna-publish