Learning project for the Cursor Agent Factory L1 Workshop
# Compile contracts
npm run compile
# Run tests
npm run test
# Start local blockchain node
npm run node
# Deploy to local network (in another terminal)
npm run deploy:localethereum-workshop/
├── contracts/ # Solidity smart contracts
│ └── SimpleToken.sol # Your first ERC20 token
├── test/ # Test files
│ └── SimpleToken.test.js
├── scripts/ # Deployment scripts
│ └── deploy.js
├── hardhat.config.js # Hardhat configuration
└── package.json
- Understand EVM architecture
- Learn about gas and storage costs
- Explore account types (EOA vs Contract)
- Walk through SimpleToken.sol
- Understand ERC20 standard
- Learn OpenZeppelin patterns
- Build a Voting contract
- Add access control
- Write comprehensive tests
- Create a Mini-NFT (ERC721)
- Implement minting logic
- Add metadata storage
- Review security best practices
- Discuss gas optimization
- Plan next steps
| Command | Description |
|---|---|
npm run compile |
Compile all contracts |
npm run test |
Run all tests |
npm run node |
Start local Hardhat node |
npm run deploy:local |
Deploy to localhost |
npm run clean |
Clear cache and artifacts |
- Learning Guide — Comprehensive guide covering all Ethereum development concepts
Part of the Cursor Agent Factory Learning Workshop Ecosystem