Skip to content

solidstate-network/solidstate-solidity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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