Frog.fm documentation can be found in the official Frog documentation.
Ensure you have the following:
- Have git installed
- Have node installed (v18+)
- Have Farcaster/Warpcast account
- Deployed Base and Optimism contract address (XCounterUC) use just do-it-base It does the following under the hood (add to Justfile):
do-it-base:
echo "Running the full E2E flow..."
just set-contracts optimism XCounterUC true && just set-contracts base XCounterUC true
just deploy base optimism
just sanity-check
just send-packet base
echo "You've done it!"
You'll need some API keys from third party's:
- Have an Alchemy API key for OP and Base Sepolia
- Clone the repository and goto directory:
git clone https://github.com/deztonz/Farcaster-Frames-x-Polymer.git
cd polymer-farcaster-frames
- Set up your environment variables:
cp .env.example .env
- Install dependencies:
npm install
- Install dependencies:
# API keys for developer tooling and infra
OP_ALCHEMY_API_KEY=''
BASE_ALCHEMY_API_KEY=''
# Base , OP XCounterUC contract
BASE_CONTRACT=''
OP_CONTRACT=''
# Universal Channel
BASE_CHANNEL='channel-11'
OP_CHANNEL='channel-10'
# Contract addresses for the sim-client
OP_UC_MW_SIM=''
BASE_UC_MW_SIM=''
OP_DISPATCHER_SIM=''
BASE_DISPATCHER_SIM=''
# public url deploy ex. https://xxx.vercel.app
PUBLIC_URL=''
- Start developement
npm run dev
- see the simulation of the http://localhost:5173/api/dev
My wallet : 0x037B458D968fC146CdA4840dd7A47c4E5728B03d