Dev.to AI ๐Ÿค– Ai ๐Ÿ‘ 0 ๐Ÿ“– 5 min read

๐Ÿค– AI Recovery Guide โ€“ MyZubster Project

๐Ÿค– AI Recovery Guide โ€“ MyZubster Project How an AI can read, interpret, and resume the MyZubster project at any time, using this guide as a search engine and persistent memory. ๐Ÿ“Œ Purpose of This Guide This guide is desi

๐Ÿค– AI Recovery Guide โ€“ MyZubster Project

How an AI can read, interpret, and resume the MyZubster project at any time, using this guide as a search engine and persistent memory.
๐Ÿ“Œ Purpose of This Guide

This guide is designed for an Artificial Intelligence system (such as DeepSeek, ChatGPT, Claude, etc.) to:

Understand the MyZubster project in all its components.

Resume work from where it was interrupted.

Provide technical assistance, answer questions, and suggest next steps.

Act as an internal search engine to retrieve information about configurations, commands, and architecture.

๐Ÿง  How the AI Should Use This Guide

The AI must treat this guide as a knowledge database. When a user asks a question, the AI should:

Search the guide for the relevant section.

Provide the most accurate answer possible, citing the source (e.g., "According to Section 3.1 of the project...").

Suggest concrete commands or actions.

Ask the user if they want to go deeper or proceed.

๐Ÿ—๏ธ 1. Project Overview
Name

MyZubster Gateway โ€“ A decentralized marketplace for tokenizing realโ€‘world assets.
Goal

Enable anyone to tokenize realโ€‘world assets (real estate, art, equity, commodities) and trade them privately using Monero (XMR) as payment currency, with an autonomous security system based on Kali Linux and AI (DeepSeek), and programmable assets on Tari.
Current Status

โœ… Backend running on https://myzubster.com

โœ… React/Vite frontend with login/registration and marketplace

โœ… Monero payments (stagenet)

โœ… Escrow with AI dispute resolution

โœ… Tari integration (NFTs, multisig)

โœ… Kali Linux security bot

โœ… SSL/HTTPS configured

โณ Tor onion service in migration

โณ Admin dashboard to be developed

๐Ÿ› ๏ธ 2. Technology Stack
Component Technology
Backend Node.js + Express
Database MongoDB + Mongoose
Authentication JWT + bcrypt
Payments Monero (XMR) โ€“ stagenet / mainnet
Security Kali Linux + DeepSeek AI (Ollama)
Programmable Assets Tari (Rust node & wallet)
Frontend React + Vite
Proxy Nginx
SSL Let's Encrypt
Privacy Tor (onion service)
Deployment Ubuntu 24.04 + Systemd
๐Ÿ“‚ 3. Directory Structure
text

/root/
โ”œโ”€โ”€ MyZubsterGateway/ # Backend (Node.js)
โ”‚ โ”œโ”€โ”€ models/ # MongoDB models
โ”‚ โ”‚ โ”œโ”€โ”€ User.js
โ”‚ โ”‚ โ”œโ”€โ”€ Token.js
โ”‚ โ”‚ โ”œโ”€โ”€ TokenHolding.js
โ”‚ โ”‚ โ”œโ”€โ”€ OrderBook.js
โ”‚ โ”‚ โ”œโ”€โ”€ MoneroTransaction.js
โ”‚ โ”‚ โ”œโ”€โ”€ Escrow.js
โ”‚ โ”‚ โ””โ”€โ”€ NFT.js (if present)
โ”‚ โ”œโ”€โ”€ routes/ # API routes
โ”‚ โ”‚ โ”œโ”€โ”€ auth.js
โ”‚ โ”‚ โ”œโ”€โ”€ tokens.js
โ”‚ โ”‚ โ”œโ”€โ”€ marketplace.js
โ”‚ โ”‚ โ”œโ”€โ”€ payments.js
โ”‚ โ”‚ โ”œโ”€โ”€ escrow.js
โ”‚ โ”‚ โ”œโ”€โ”€ tari.js
โ”‚ โ”‚ โ””โ”€โ”€ ai.js
โ”‚ โ”œโ”€โ”€ services/ # Business logic
โ”‚ โ”‚ โ”œโ”€โ”€ moneroService.js
โ”‚ โ”‚ โ”œโ”€โ”€ tokenService.js
โ”‚ โ”‚ โ”œโ”€โ”€ marketplaceService.js
โ”‚ โ”‚ โ”œโ”€โ”€ deepseekService.js
โ”‚ โ”‚ โ”œโ”€โ”€ disputeService.js
โ”‚ โ”‚ โ”œโ”€โ”€ tariService.js
โ”‚ โ”‚ โ””โ”€โ”€ paymentMonitor.js
โ”‚ โ”œโ”€โ”€ middleware/ # Middleware
โ”‚ โ”‚ โ””โ”€โ”€ auth.js
โ”‚ โ”œโ”€โ”€ server.js # Entry point
โ”‚ โ”œโ”€โ”€ .env # Environment variables
โ”‚ โ””โ”€โ”€ package.json
โ”‚
โ”œโ”€โ”€ myzubster-frontend/ # Frontend (React/Vite)
โ”‚ โ”œโ”€โ”€ src/
โ”‚ โ”‚ โ”œโ”€โ”€ pages/
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Login.jsx
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Register.jsx
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Dashboard.jsx
โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ Marketplace.jsx
โ”‚ โ”‚ โ”œโ”€โ”€ components/
โ”‚ โ”‚ โ”œโ”€โ”€ contexts/
โ”‚ โ”‚ โ”œโ”€โ”€ utils/
โ”‚ โ”‚ โ””โ”€โ”€ App.jsx
โ”‚ โ”œโ”€โ”€ dist/ # Build (served by Nginx)
โ”‚ โ””โ”€โ”€ package.json
โ”‚
โ”œโ”€โ”€ monero/ # Monero wallet
โ”‚ โ””โ”€โ”€ myzubster_wallet
โ”‚
โ”œโ”€โ”€ tari/ # Tari (compiled)
โ”‚ โ””โ”€โ”€ target/release/
โ”‚ โ”œโ”€โ”€ minotari_node
โ”‚ โ””โ”€โ”€ minotari_console_wallet
โ”‚
โ”œโ”€โ”€ security_bot.py # Kali Linux + AI bot
โ””โ”€โ”€ README.md

โš™๏ธ 4. Essential Commands
4.1 โ€“ Gateway Management
bash

Start the gateway

systemctl start myzubster-gateway

Stop the gateway

systemctl stop myzubster-gateway

Restart the gateway

systemctl restart myzubster-gateway

Check status

systemctl status myzubster-gateway

View logs

journalctl -u myzubster-gateway -n 50 --no-pager

4.2 โ€“ Frontend
bash

Rebuild the frontend

cd ~/myzubster-frontend
npm run build

Copy build to Nginx

cp -r dist/* /var/www/myzubster-frontend/
chown -R www-data:www-data /var/www/myzubster-frontend

Reload Nginx

systemctl reload nginx

4.3 โ€“ Nginx
bash

Test configuration

nginx -t

Reload

systemctl reload nginx

Restart

systemctl restart nginx

4.4 โ€“ Monero
bash

Start Monero daemon (stagenet)

cd ~/monero
./monerod --stagenet --detach

Start wallet RPC

./monero-wallet-rpc \
--rpc-bind-port 18083 \
--daemon-address node.moneroworld.com:38081 \
--wallet-file ./myzubster_wallet \
--password 'Myzubster2026@!!' \
--disable-rpc-login \
--trusted-daemon \
--stagenet

Check wallet balance

curl -X POST http://localhost:18083/json_rpc \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":"0","method":"get_balance"}' | jq '.'

4.5 โ€“ Tari
bash

Start Tari node (testnet)

nohup ~/tari/target/release/minotari_node \
--network testnet \
--base-path ~/tari-data \

~/tari_node.log 2>&1 &

Start Tari wallet

nohup ~/tari/target/release/minotari_console_wallet \
--network testnet \
--password myzubster \
--wallet-file ~/tari-wallet \

~/tari_wallet.log 2>&1 &

Check Tari RPC

curl -X POST http://localhost:12820/json_rpc \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":"0","method":"get_balance"}' | jq '.'

4.6 โ€“ Security Bot
bash

Run manually

python3 /root/security_bot.py

Check logs

tail -20 /var/log/security_bot.log

๐Ÿ“Š 5. API Endpoints
Method Endpoint Description Auth
POST /api/auth/register Register a new user No
POST /api/auth/login Login, get JWT token No
GET /api/tokens List active tokens No
POST /api/tokens Create a token Yes
GET /api/tokens/holdings User holdings Yes
POST /api/marketplace/sell Create a sell order Yes
POST /api/marketplace/buy/:orderId Buy from an order Yes
GET /api/marketplace/orders/:tokenId List open orders No
POST /api/payments Initiate a Monero payment Yes
GET /api/payments/:id Check payment status Yes
POST /api/ai/ask Query DeepSeek AI Yes
POST /api/escrow Create an escrow Yes
POST /api/escrow/:id/dispute Open a dispute Yes
POST /api/tari/nft/mint Mint an NFT on Tari Yes
POST /api/tari/escrow Create a Tari multisig escrow Yes
GET /api/health Health check No
๐Ÿ”ง 6. Troubleshooting Common Issues
6.1 โ€“ Gateway not starting
bash

journalctl -u myzubster-gateway -n 50 --no-pager
cd ~/MyZubsterGateway
node server.js # See error directly

6.2 โ€“ Frontend not showing
bash

Rebuild and redeploy

cd ~/myzubster-frontend
npm run build
cp -r dist/* /var/www/myzubster-frontend/
chown -R www-data:www-data /var/www/myzubster-frontend
systemctl reload nginx

6.3 โ€“ Monero RPC not responding
bash

Check if running

ps aux | grep monero-wallet-rpc

Restart

cd ~/monero
pkill -f monero-wallet-rpc
nohup ./monero-wallet-rpc --rpc-bind-port 18083 --daemon-address node.moneroworld.com:38081 --wallet-file ./myzubster_wallet --password 'Myzubster2026@!!' --disable-rpc-login --trusted-daemon --stagenet > monero-wallet-rpc.log 2>&1 &

6.4 โ€“ Nginx ports already in use
bash

systemctl stop nginx
pkill -f nginx
systemctl start nginx

๐ŸŒ 7. Important Links

Live Demo: https://myzubster.com

GitHub: DanielIoni-creator/MyZubsterGateway

X (Twitter): @myzubster

LinkedIn: Daniel Ioni

DEV.to: @danielioni

๐Ÿงฉ 8. AI Interaction Protocol

When the AI reads this guide and is asked a question, it should:

Search the guide for the relevant section.

Provide the answer with the exact section reference (e.g., "According to Section 4.1...").

Include the exact command or code snippet.

Ask if the user wants to proceed or needs more details.

Suggest the next logical step based on the current state.

๐Ÿ“Œ 9. Next Steps for the Project
Priority Task Status
High Test the marketplace from the browser ๐Ÿ”ด To do
High Verify that Monero payments work end-to-end ๐Ÿ”ด To do
High Verify that the security bot runs automatically ๐Ÿ”ด To do
Medium Migrate Tor onion service to a new VPS ๐ŸŸก In progress
Medium Implement NFT trading in the marketplace ๐ŸŸก To do
Low Build an admin dashboard ๐ŸŸข Later
Low Add CI/CD security integration ๐ŸŸข Later
๐Ÿ’ฌ 10. AI Response Format

When the AI responds, it should follow this format:
text

[Section Reference]
๐Ÿ“Œ Answer: [Concise answer to the user's question]

๐Ÿ’ป Command: [Exact command to run, if applicable]

๐Ÿ”ง Next Step: [Suggested next action]

๐Ÿค” Question: [Ask the user if they want to proceed or need clarification]

This guide is a living document. The AI should update it with new findings, commands, and configurations as the project evolves.
Questa risposta รจ generate da IA. Controllarne l'accuratezza.

๐Ÿ“ฐ Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes โ€” full credit and traffic to the original publisher.