Skip to content

ankitpal1029/ethglobal-ui

Repository files navigation

Create a Mini App

Mini apps enable third-party developers to create native-like applications within World App.

This template is a way for you to quickly get started with authentication and examples of some of the trickier commands.

Getting Started

  1. cp .env.example .env.local
  2. Follow the instructions in the .env.local file
  3. Run npm run dev
  4. Run ngrok http 3000
  5. Run npx auth secret to update the AUTH_SECRET in the .env.local file
  6. Add your domain to the allowedDevOrigins in the next.config.ts file.
  7. [For Testing] If you're using a proxy like ngrok, you need to update the AUTH_URL in the .env.local file to your ngrok url.
  8. Continue to developer.worldcoin.org and make sure your app is connected to the right ngrok url
  9. [Optional] For Verify and Send Transaction to work you need to do some more setup in the dev portal. The steps are outlined in the respective component files.

Authentication

This starter kit uses Minikit's wallet auth to authenticate users, and next-auth to manage sessions.

UI Library

This starter kit uses Mini Apps UI Kit to style the app. We recommend using the UI kit to make sure you are compliant with World App's design system.

Eruda

Eruda is a tool that allows you to inspect the console while building as a mini app. You should disable this in production.

Contributing

This template was made with help from the amazing supercorp-ai team.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages