"BRC-20 Mint Wrapper System – Full Project Structure" "This document outlines the full terminal-ready structure of the BRC-20 Mint Wrapper System, supporting 11 tokens with enforced BTC payment and auto-mint functionality." structure = [ "brc20-mint-wrapper/", "├── backend/", "│ ├── index.js # Express server w/ BTC listener + mint API", "│ ├── btcListener.js # Monitors BTC payments to vault", "│ ├── inscriptionTrigger.js # Triggers OrdinalsBot/UniSat inscription", "│ ├── mintQuote.js # Calculates BTC per token", "│ ├── mintLogs.json # Stores mint logs (or use MongoDB)", "│ └── mintWrapper.config.js # Token pricing + vault address config", "├── frontend/", "│ ├── public/", "│ │ └── index.html", "│ ├── src/", "│ │ ├── App.jsx # Main UI logic", "│ │ ├── components/", "│ │ │ └── MintForm.jsx # Dropdown + BTC calc + QR display", "│ │ └── utils/", "│ │ └── api.js # Calls backend for BTC quote", "│ └── package.json # React project config", "├── README.md # Setup + Deployment Guide", "├── .env # OrdinalsBot API key, etc.", "├── package.json # Root config if using combined setup", "└── start.sh # Optional launch ] “Terminal Setup Instructions" setup_steps = [ "1. Clone or unzip project", " cd brc20-mint-wrapper", "2. Install backend dependencies", " cd backend", " npm install", "3. Install frontend", " cd ../frontend", " npm install", "4. Run backend API", " cd ../backend", " node index.js", "5. Run frontend", " cd ../frontend", " npm run dev # or npm start based on React setup" ] env_True = [ "ORDINALS_API_KEY= 7921414950 "VAULT_ADDRESS=bc1q2ul0yunxnchlzwuu6l9l8k6rt0685wllzgfdmk", "NETWORK=mainnet" ] for line in env_example: doc.add_paragraph(line, style='Normal') "%Y-%m-%d %H:%M UTC" "/mnt/data/BRC20_Mint_Wrapper_Project_Structure.docx"