A soulbound NFT representing a developer's commitment to the Cyfrin Updraft .env Pledge.
- git
- You'll know you did it right if you can run
git --versionand you see a response likegit version x.x.x
- You'll know you did it right if you can run
- foundry
- You'll know you did it right if you can run
forge --versionand you see a response likeforge x.x.x
- You'll know you did it right if you can run
git clone https://github.com/Cyfrin/env-pledge-project
cd env-pledge-project/contracts
make install
make buildNote: The following commands are for local development with Anvil. Testnet/mainnet deployment instructions will be added after review.
# Terminal 1 - Start local Anvil node
make anvil
# Terminal 2 - Deploy (requires .env with PRIVATE_KEY)
cp .env.example .env
make deploy-anvil# Set CONTRACT_ADDRESS and USERNAME in .env, then:
make mint# Set CONTRACT_ADDRESS and TOKEN_ID in .env, then:
make token-urimake test # Run tests
make test-v # Run tests with verbosity (-vvv)