This is a Next.js project bootstrapped with create-next-app
. This boilerplate sets up a Next.js app with two API endpoints, an actions.json
in the public folder, and a default page to represent the blink itself.
First, clone the repository to your local machine.
Our goal is to create two (2) API endpoints.
- GET endpoint for Blink Metadata (Image, copy, action buttons)
- POST enpoint for Blink transaction preparation
We need a web page that exists to host an open-graph image that the Phantom app will use to "unfurl" on twitter.