Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

A starting point for a Next.js app built on Meem.

Notifications You must be signed in to change notification settings

meemproject/meem-web-template

Repository files navigation

Meem Project Web Template

About

This template project serves as a starting point for a NextJS dDapp built on top of the Meem protocol. It contains our API library and React components that you can use to connect a wallet, authenticate with Meem and start building.

This template project is deliberately agnostic in regards to UI components, but does include some opinionated ESLint rules and other defaults that we have found to be helpful.

Installation

  1. Rename env.example to .env.
  2. Open a terminal in the root of the project, and:
  3. yarn
  4. yarn local

Usage

_app.tsx contains WalletProvider and SocketProvider.

  • WalletProvider is your entry point for any pages or components that require a wallet address to use - for example, authenticating with the Meem API, making authenticated requests and calling the Meem contract. Use useWallet() in the components you need wallet access for.
  • SocketProvider is a websocket implementation which enables you to listen to the Meem API and receive events when a Meem has been minted.

About

A starting point for a Next.js app built on Meem.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published