- High - 100xp
- Medium - 20xp
- Low - 2xp
Starts: August 28, 2025 Noon UTC Ends: September 04, 2025 Noon UTC
- nSLOC: ~125
PizzaCoin is launching and wants to share pizza slices with their community using Aptos Coin (APT)! Any pizza lover can register and claim a random slice size between 100-500 APT. It's first come, first served - but everyone gets a random surprise!
- Must be registered by the owner to become eligible
- Can claim PizzaDrop once after registration
- Receive random amount: 100-500 APT
- "Every pizza lover deserves a random slice!"
- Can register pizza lovers
- Can fund the PizzaDrop pool with APT
- Manages the airdrop distribution
- Controls who gets access to pizza slices
- Register First: Owner must register pizza lovers before they can claim
- One Slice Per Person: Each address can claim exactly once
- Random Slice Size: 100-500 APT randomly determined
- Pool Must Have Pizza: Cannot claim if pool has insufficient APT
- APT-Based: Uses native Aptos Coin
- git
- You'll know you did it right if you can run
git --version
and you see a response likegit version x.x.x
- You'll know you did it right if you can run
- Aptos CLI
- You'll know you did it right if you can run
aptos --version
and you see a response likeaptos 3.x.x
- You'll know you did it right if you can run
- Move
git clone https://github.com/CodeHawks-Contests/2025-08-aptos-pizza-drop.git
cd 2025-08-aptos-pizza-drop
aptos move compile --dev
- Start a local Aptos node
aptos node run-local-testnet --with-faucet
- Initialize your account
aptos init --profile local --network local
- Fund your account
aptos account fund-with-faucet --profile local
- Deploy
aptos move publish --profile local --named-addresses pizza_drop=local
# Run all tests
aptos move test --named-addresses pizza_drop=0x123
# Run specific test
aptos move test --named-addresses pizza_drop=0x123 -f "test_pizza_drop_with_apt"
# Run with coverage
aptos move test --coverage --named-addresses pizza_drop=0x123
- In Scope:
./sources/
└── pizza_drop.move
./Move.toml
- Move Version: Latest
- Chain(s) to deploy contract to: Aptos Mainnet/Testnet/Devnet
- Aptos CLI Version: 3.x.x
- Uses:
aptos_framework::coin
,aptos_framework::account
,aptos_std::table
No known issues reported.