The smart contracts are written in Solidity and tested using Foundry. The contracts are deployed on Morph Holesky Testnet.
forge test
- create .env file with your MORPH_HOLESKY_RPC_URL and PRIVATE_KEY
MORPH_HOLESKY_RPC_URL=<your_rpc_url>
PRIVATE_KEY=<your_private_key>
- deploy the contract
source .env
forge create --rpc-url $MORPH_HOLESKY_RPC_URL --private-key $PRIVATE_KEY --legacy src/Habit.sol:HabitContract
Morphl Holeskey Testnet 0xCbdE51Ba4307742DF70afF96186801cA61f73b20