Skip to content

zelusio/synth3sis-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zelus Synth3sis API Demo

This is a Next.js project bootstrapped with create-next-app that we built to show off how easy it is to integrate the Synth3sis API into your apps to offer invisible wallets, gas-less NFT minting and more to your users!

Quick Links

Before we get started, are you looking for more resources? Check out the following quick Links

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

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

API routes can be accessed on http://localhost:3000/api/mint. This endpoint can be edited in pages/api/mint.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Synth3sis API

The Synth3sis API is implemented in the src/services/synth3sis.service.ts. This service is called in the /api/mint API route (src/pages/api/mint.ts) to create or retrieve a wallet for a user, and to mint an NFT for that user.