First, install dependencies
npm i
Then, set up a .local.env file:
# These work out of the box
ETH_ADMIN_PK=036cd2acc51d12b9ad3b47739272ba25dfc78bd8bb95367f70f9c91861d2ee6c
MORALIS_API_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJub25jZSI6IjNmMWYzMDcwLThiZGMtNDY1OS04ZGY4LTE0NWQ5NjVhZmE5MCIsIm9yZ0lkIjoiMzEwNjA1IiwidXNlcklkIjoiMzE5MzAwIiwidHlwZUlkIjoiYjVhM2ZhMGMtOTJhMC00NjVhLWJjYmItM2RmMjk5ZTJhMGQ4IiwidHlwZSI6IlBST0pFQ1QiLCJpYXQiOjE2ODYzNDMzNTQsImV4cCI6NDg0MjEwMzM1NH0.byOl56eeeDVXK52jHaeAtMKQMHLCRhJtfx-pgGp6_jw
Then run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
We've marked TODOs across the application so you could change parts and variables to your needs. Additionally, we've left comments to detail how or why for the code.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.