To contribute to poseidon-sol, please adhere to the following guidelines:
Make sure your node
version is >=16.
First, fork
the main branch of the repo. For more information on forking, please read this tutorial.
Then, in your local environment, run git clone https://github.com/<your_username>/poseidon-sol.git
.
Before you begin working on your contributions, you need to make sure you have all of the library's dependencies installed. To do that, simply run npm install
.
Before submitting your contributions through a PR, make sure to do the following:
- Write tests for any new features you build
npx solhint contracts/Poseidon.sol
to run autoformattingnpx hardhat test
to make sure all tests passnpx hardhat converage
to run static analysis