This repository contains:
- Tolk smart contracts: Jetton Minter and Jetton Wallet
- Blueprint CLI configuration for build/test/deploy
- Sandbox test scaffold
- Frontend dApp (Next.js 14, App Router) using TON Connect
- Small Express backend endpoint to build mint payloads
- Install root dev deps:
npm install(root uses blueprint tools where applicable) - Build contracts:
npx blueprint build - Start backend (in
backend/):NODE_ENV=development MINTER_ADDRESS=<minter_address> node server.js - Start frontend (in
frontend/nextjs-app):npm installthennpm run dev - Use the dApp UI, connect wallet, and test mint flows (Testnet)
DEPLOYER_MNEMONIC: deployer wallet mnemonic for blueprint deploy.MINTER_OWNER_ADDRESS: optional owner address for the minter constructor.MINTER_ADDRESS: set after deploy to let backend compute wallet addresses.
- Run Sandbox tests and measure gas before pushing to Testnet/Mainnet.
- Validate ABI alignment between minter and wallet.