Using the frame, users can connect their wallet to Morph and request funds (ETH and USDT), simply enter wallet address, and hit “0.01 ETH” or “1 USDT”. Get funds every 24 hours.
Frame 1 - Start frame
- Link to Morph website
- Go to Frame 2
Frame 2 - Menu
- Link to L1-L2 bridge
- Go to Settup wallet
- Go to Faucet
Frame 3 - Setup wallet
- Show a network configuration for Morph testnet and Ethereum Sepolia
- Link to Chainlist website to one-click setup
Frame 4 - Faucet
- Enter wallet address 0x... or Farcaster username
- Send 0.01 ETH to user's wallet on Morph L2 and go to Frame 5
- Send 1 USDT to user's wallet on Morph L2 and go to Frame 5
- Go to Contributors
Frame 5 - Transaction complete
- Link to the transaction on the blockchain explorer
Frame 6 - Contributors
- Show last 5 contributors which sent assets to the faucet address: date, address or username, amount
- Link to the faucet address on the blockchain explorer
Local
npm install
npm run dev
Frame URL http://localhost:3000/api
Dev URL http://localhost:3000/api/dev
Bootstrap via Vercel
Past the frame URL https://morphl2-frame.vercel.app/api in compatible Farcaster client.