Skip to content

Commit

Permalink
adding README
Browse files Browse the repository at this point in the history
  • Loading branch information
julien51 committed Jan 31, 2024
1 parent e070a3e commit 42958c3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 35 deletions.
38 changes: 5 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,8 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
# Token Gated Frames

## Getting Started
Check [Token Gated frames](https://frames.token-gated.com/).

First, run the development server:
## Next Steps

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
- Let users create their own token-gated frames
- Let members reshare a token gated frame and [earn referral fees](https://unlock-protocol.com/blog/referral-fees?_gl=1*p7ybix*_ga*MTMyNTU2OTQxMC4xNzA2Mjk4NTQ4*_ga_DGDLJTEV6N*MTcwNjcxNDkyMi40LjAuMTcwNjcxNDkyMi4wLjAuMA..)
25 changes: 23 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,34 @@
import { validateMessage } from "@/lib/farcaster";
import { Inter } from "next/font/google";
import { AppConfig } from "./AppConfig";
import Link from "next/link";

const inter = Inter({ subsets: ["latin"] });

export default async function Home() {
return (
<main className="p-8">
<p>Ready?</p>
<h1>Token Gated Frames</h1>
<p>
<Link href="https://warpcast.notion.site/Farcaster-Frames-4bd47fe97dc74a42a48d3a234636d8c5">
Frames
</Link>{" "}
are an interation on top of{" "}
<Link href="https://ogp.me/">OpenGraph</Link>.
</p>
<p>
At <Link href="https://unlock-protocol.com/">Unlock</Link> we built a
protocol for membership. You can now <em>token-gate your frames</em> so
that only active members can see their content!
</p>
<p>
<Link href="https://warpcast.com/julien51.eth/0xa5ec13e9c1bc2145d3e378b05886c36d5711de37">
Demo
</Link>{" "}
|{" "}
<Link href="https://github.com/unlock-protocol/token-gated-frame">
Source code
</Link>
</p>
</main>
);
}

0 comments on commit 42958c3

Please sign in to comment.