Skip to content

About

πŸ’  Upgradeable-first Solidity smart contract development library πŸ’ 

Topics

Resources

Stars

470 stars

Watchers

7 watching

Forks

Latest commit

Β 

History

2,660 Commits

Folders and files

Repository files navigation

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

About

πŸ’  Upgradeable-first Solidity smart contract development library πŸ’ 

Topics

Resources

Stars

470 stars

Watchers

7 watching

Forks

Releases

Used by

Contributors

Languages