This is an example application that demonstrates how to deploy and mint NFT contracts using Glittr Message. Built with React, TypeScript and Vite.
- Deploy FT Freemint smart contracts
- Mint using Glittr Message
- Show minted assets
- Connect Wallet (Glittr Wallet, Unisat, Xverse, Leather, and Orange)
- Fast development with Vite
- Modern React + TypeScript setup
- Node.js
- Yarn package manager
-
Clone this repository
-
Create a .env file and add the following environment variables:
# testnet
VITE_PUBLIC_NETWORK=testnet
VITE_PUBLIC_GLITTR_API=https://testnet-core-api.glittr.fi
VITE_PUBLIC_WALLET_API=https://testnet-electrum.glittr.fi
VITE_PUBLIC_EXPLORER=https://testnet-explorer.glittr.fi
- Install dependencies:
yarn install
- Build the project:
yarn build
- Start the development server:
yarn dev
- Open your browser and navigate to:
http://localhost:5173/
Use this application to:
- Deploy your own Freemint smart contracts
- Mint assets using Glittr Message
- View minted assets in your wallet address
This project uses:
- React for the frontend framework
- TypeScript for type safety
- Vite for fast development and building
- Glittr Message for NFT contract interactions
For production applications, we recommend enabling type-aware lint rules. See the configuration details in the project's eslint.config.js file.