Skip to main content

Environment Setup

As of today (and this will be evolving), our Solidity Development stack is:

hardhat build system chaijs for unit testing foundry for fuzz testing solidity for smart contracts

We also highly recommend using VSCode as we can share linting and styles rules, and take advantage of the same plugins.

Installs

VSCode and Plugins

  1. VSCode
  2. Todo Tree
  3. Prettier - Code Formatter
  4. ESLint
  5. Solidity
  6. Solidity + Hardhat
  7. ENV

NVM, Node, and NPM

  1. NVM

Node Version manager is nice because some projects require different versions of Node. We need to be consistent interally, however some 3rd party samples and projects will require different versions.

nvm install v14.17.0

Testnets

We are intially using Ropsten as our testnet, only because it is very easy to get test eth.

  1. Create a new metamask wallet, and we reecommend using a different browser entirely or a different user in your browser to ensure you don't accidently mix accounts with your mainnet wallet.

  2. Add your ropsten account to our tracking list

  3. Google for a ropsten faucet, and you might have to use a few of em to collect some ropsten eth.