Building Onchain Aavegotchi
summary
On-chain Aavegotchi stores pixel art SVGs and gameplay state directly on-chain, mints Aave-backed NFTs via chainlink VRF randomness, and bundles interest-bearing aTokens into each avatar so the NFT holds yield. Contracts use a diamond/facet pattern (Hardhat, ABI available) with functions like getAavegotchiSVG, getAavegotchi and allAavegotchisOfOwner; portals cost 100 GHST and yield 10 tries, rarity scores run ~300–600, godlike wearables number ~30–40, and an matic bridge for maTokens is in testing and live migration.
AI-written summary · about
chapters (19)
- 0:00Intro
- 0:35Welcome
- 2:50Launching on Matic
- 5:32Aavegotchi Traits
- 12:59Summary
- 14:12Contracts
- 16:14Frontend
- 17:49Multiple Contracts
- 19:07Frontend Code
- 21:19Common Use Cases
- 24:25Interact
- 26:50wearables
- 30:57use cases
- 34:22hack ideas
- 37:24wiki
- 39:31static page
- 43:23QA
- 51:27A Token Bridge
- 52:48A Token Interest
related talks
27mBuilding Bridges to the Real World
15mAave as a Cross-Chain DeFi Protocol
28mHow DeFi Protocols Fit Into the Global Financial Ecosystem
23mReputational avatars and other NFT 2.0 magic to revolutionize governance
41mDeep Dive into the GHO Smart Contracts
50mUsing Chainlink services in your Web or Mobile Game
20mTHIS CURSED MACHINE: Onchain Game Post-Mortem
25mAgoric, Smart Contracts, and Confidentiality
