William Phan's repositories
latter-contracts
Mini-implementation of Affirm - Buy Now, Pay Later. Pay-in-four model is implemented, where 4 payments are made every 2 weeks for an NFT.
ratio
Ratio Frontend
stream
A mini-implementation of Superfluid where money steams will continue perpetually until cancellation or the senders balance runs out.
rebound
Rent NFTs for Free or with a Fee. Two implementations - Rent for free & Rent for a rental fee
transmissions11-template
Streamlined template for getting started with Foundry and Solmate.
shade
Shade Frontend
shade-contracts
Shades of On-Chain Generative NFT Art
splitz
Splitz Frontend
splitz-contracts
Split funds evenly between assigned recipients
eth-kingdom
Eth-Kingdom Frontend
eth-kingdom-contracts
Become king/queen by paying a higher fee. The highest paying address gets their address ETH Domain listed on the top of the leaderboard.
tip-distribution
With up to three addresses, the owner of the initiated contract can deposit funds and distribute the funds as tip.
foundry-template
Forkable template to get you started with Foundry's Forge
solady
Optimized Solidity snippets.
wreath
5 Limited Edition NFTs
mini-0xSplits
Deposit funds into the contract and assign percentages to certain addresses. This contract only includes the normal split from 0xSplits. Do not deploy and use this contract.
mini-vault
Mini-vault practice
uniswapV3-flash-loan
UniswapV3 Flash Loan example
eip-1167
Practice with Minimal Proxy
eip-2535
Practice with Diamond Proxy
eip-1822
Practice with EIP-1822
chainlink-price-oracle
ETH price oracle using chainlink
openzeppelin-contracts
OpenZeppelin Contracts is a library for secure smart contract development.
EIPs
The Ethereum Improvement Proposal repository
solmate
Modern, opinionated, and gas optimized building blocks for smart contract development.
eip-897
Practice with EIP-897