Learn solidity with examples!
A repo full of smart contracts written in Solidity.
Important
This repo is for educational purposes only, use at your own risk.
Getting started
- Install the dependencies
npm i
- Run the dapp-tools tests with
npm run test
- Run the hardhat tests with
npm run hardhat-test
- Run the fuzzer on ETH2BTC with
echidna-test contracts/ETH2BTC.sol
- Explore the contracts in
./contracts
Sample tests with dapp-tools (solidity) and hardhat (js) are included for educational purposes so you can choose which framework works best for you