Skip to content

docs(apps/guides): add build-mini-app-with-token-rewards guide#1595

Open
consumeobeydie wants to merge 1 commit into
base:masterfrom
consumeobeydie:add-miniapp-token-rewards-guide-2
Open

docs(apps/guides): add build-mini-app-with-token-rewards guide#1595
consumeobeydie wants to merge 1 commit into
base:masterfrom
consumeobeydie:add-miniapp-token-rewards-guide-2

Conversation

@consumeobeydie

Copy link
Copy Markdown

Summary

Adds a new guide to docs/apps/guides that shows developers how to build a Farcaster Mini App on Base that rewards users with ERC-20 tokens for on-chain interactions.

Motivation

There is currently no guide in the Base docs covering the pattern of combining ERC-20 token rewards with Mini App interactions. This is one of the most common incentive patterns for Base Mini Apps, and developers currently have to piece together multiple guides to implement it.

What's covered

  • Designing a combined ERC-20 token + reward logic smart contract (single contract pattern)
  • Deploying to Base mainnet using Remix IDE
  • Building a Mini App frontend with wallet support for both Base App (embedded wallet) and MetaMask
  • Configuring the Farcaster manifest and generating accountAssociation
  • Registering on Base App and obtaining a base:app_id
  • Deploying to Vercel with automatic CI/CD

Live Example

The guide references a fully working implementation built on Base mainnet:

Checklist

  • New .mdx file added to docs/apps/guides/
  • Follows existing guide format and tone
  • Includes working code examples
  • References a live deployed example

@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/2
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants