Onchain game where you can "hit" Jerome Powell to lower the Fed interest rate!
- Each hit lowers the rate by 0.01%
- Powell recovers +0.05% every hour (he fights back!)
- 1 hour cooldown between hits per wallet
- Current Fed Rate: 3.75%
npm installGo to your Hardhat project folder and deploy:
npx hardhat compile
npx hardhat run scripts/deploy.js --network baseCreate .env.local in the project root:
VITE_CONTRACT_ADDRESS=YOUR_DEPLOYED_CONTRACT_ADDRESS
VITE_PAYMASTER_URL=YOUR_PAYMASTER_URL
VITE_PUBLIC_ONCHAINKIT_API_KEY=YOUR_ONCHAINKIT_API_KEY
VITE_APP_URL=https://rate-slayer.vercel.app- If
VITE_PAYMASTER_URLis empty, transactions are sent without sponsorship. - If it is set and supported by wallet capabilities, gas is sponsored.
VITE_PUBLIC_ONCHAINKIT_API_KEYenables MiniKit context and compose-cast sharing.VITE_APP_URLis used in share links and wallet branding metadata.
- Go to https://portal.cdp.coinbase.com/
- Create a new project
- Copy Paymaster URL for Base mainnet
- Paste it into
.env.localasVITE_PAYMASTER_URL
npm run devnpm run build// Current rate: 3.75%
// Decrease per press: 0.01%
// Increase per hour: 0.05%
// Cooldown: 1 hour- React + Vite
- Wagmi v2 + Viem
- Base Account (Smart Wallet)
- Farcaster Mini App support
- Solidity (Hardhat)
- ✅ Base Account integration
- ✅ Gasless transactions (via Paymaster)
- ✅ Real-time rate updates
- ✅ Cooldown timer
- ✅ Rate recovery mechanic
- ✅ Works in Base App / Farcaster
The printer goes BRRR 🖨️💸