Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

solidstate-network/solidstate-solidity

Open more actions menu

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

Releases

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.