Skip to content

Latest commit

ย 

History

History
88 lines (60 loc) ยท 2.16 KB

File metadata and controls

88 lines (60 loc) ยท 2.16 KB

๐Ÿ–ผ๏ธ Coordinape Frames

This repository contains Farcaster Frames for Coordinape, built using the Frames v2 SDK.

๐Ÿš€ Getting Started

Prerequisites

  • Node.js (v18 or higher recommended)
  • pnpm package manager
  • ngrok for local development testing

Installation

  1. Clone the repository:
git clone [your-repo-url]
cd [repo-name]
  1. Install dependencies:
pnpm install
  1. Start the development server:
pnpm dev
  1. In a separate terminal, start ngrok to expose your local server:
ngrok http 3000

๐ŸŽฎ Testing Your Frames

  1. Open the Frame Playground on Warpcast (Mobile only)
  2. Enter your ngrok URL
  3. Tap "Launch" to test your frame

๐Ÿ“ฆ Project Structure

.
โ”œโ”€โ”€ app/                    # Next.js app directory
โ”‚   โ”œโ”€โ”€ components/        # React components
โ”‚   โ”œโ”€โ”€ providers/        # App providers (Wagmi, etc.)
โ”‚   โ””โ”€โ”€ page.tsx         # Main app page
โ”œโ”€โ”€ lib/                  # Utility functions and shared code
โ””โ”€โ”€ public/              # Static assets

๐Ÿ› ๏ธ Development Guidelines

  1. Frame Components: Create new frame components in app/components/frames/
  2. Testing: Test your frames thoroughly in the Warpcast playground before deploying
  3. State Management: Use React hooks for local state, context for global state
  4. Styling: Use Tailwind CSS for styling components

๐Ÿ”‘ Environment Variables

Create a .env.local file in the root directory with the following variables:

# Add any required environment variables here

๐Ÿ“š Useful Resources

๐Ÿค Contributing

  1. Create a new branch for your feature
  2. Make your changes
  3. Test thoroughly in the Frame Playground
  4. Submit a pull request

๐Ÿ“ License

[Add your license information here]