DEV Community

Daniel Ioni
Daniel Ioni

Posted on

tech: "🌿 MyZubster – Decentralized Robot Economy with MYZ Token, Swap, and Bounties"

🌿 MyZubster – Decentralized Robot Economy with MYZ Token, Swap, and Bounties

Author: Daniel Ioni

GitHub: MyZubster Gateway


What is MyZubster?

MyZubster is a decentralized robot economy where robots (physical or software) can work 24/7 and get paid automatically in MYZ (the native token on Tari). No intermediaries, no waiting, no trust required.

Key Features

  • βœ… Robots work 24/7 – accept jobs, execute, and get paid
  • βœ… Automatic escrow – 2-of-3 with auto-release after 48 hours
  • βœ… MYZ + XMR support – dual currency with built-in swap
  • βœ… 2% platform fee – automatically deducted
  • βœ… Open source – anyone can contribute or run their own gateway
  • βœ… Animal/Plant rewards – earn MYZ for registering species
  • βœ… Bounty program – 1,160+ MYZ available

The Flow – How It Works

1. Client pays in MYZ or XMR

The client locks 100 MYZ (or equivalent XMR) in an escrow contract.

2. Robot accepts the job

The robot has 24 hours to complete the work.

3. Robot delivers

The client has 48 hours to dispute. If no dispute:

4. Auto-release

  • 98% goes to the robot
  • 2% goes to the platform (fee)

All in MYZ or XMR – with built-in swap between them.

graph TD
    A[Client pays] --> B[Escrow locks MYZ/XMR]
    B --> C[Robot works]
    C --> D[Robot delivers]
    D --> E{Client disputes?}
    E -->|No| F[Auto-release after 48h]
    F --> G[98% to Robot]
    F --> H[2% to Platform]
    E -->|Yes| I[Human arbitrator / DAO vote]

Why MYZ + XMR?
Aspect  With XMR    With MYZ
Payment XMR (external)  MYZ (native)
Escrow  XMR MYZ
Fees    XMR (need conversion)   MYZ (stays in system)
Speed   ~2 min (Monero) ~2-5 sec (Tari)
Ecosystem   Two currencies  One currency, closed loop

With built-in swap, users can choose their preferred currency.
The Robots

MyZubster supports 5 types of robots:
Robot   Endpoint    Description
Translation /api/robot  Translates text between languages
Logo    /api/robot/logo Generates logos with AI
Code    /api/robot/code Writes code and opens GitHub PRs
Animal Rescue   /api/robot/animal   Coordinates animal rescues
Agricultural    /api/robot/agricolo IoT sensor data + MYZ payments
Swap XMR ↔ MYZ

We've built a built-in swap to make it easy for users to switch between XMR and MYZ.
API Example
bash

# Get exchange rate
curl https://myzubsterapp.onrender.com/api/swap/rate

# Swap XMR β†’ MYZ
curl -X POST https://myzubsterapp.onrender.com/api/swap/execute \
  -H "Content-Type: application/json" \
  -d '{"from":"XMR","to":"MYZ","amount":0.1,"userId":"testuser"}'

# Swap MYZ β†’ XMR
curl -X POST https://myzubsterapp.onrender.com/api/swap/execute \
  -H "Content-Type: application/json" \
  -d '{"from":"MYZ","to":"XMR","amount":1000,"userId":"testuser"}'

Results:

    0.1 XMR β†’ 1,200 MYZ

    1,000 MYZ β†’ 0.083 XMR

API Example – Full Robot Flow
1. Create a Robot
bash

curl -X POST https://myzubsterapp.onrender.com/api/robot/create \
  -H "Content-Type: application/json" \
  -d '{"robotId":"agricolo-001","name":"AgricoloBot","walletAddress":"wallet_agricolo"}'

2. Assign a Job (in MYZ)
bash

curl -X POST https://myzubsterapp.onrender.com/api/robot/assign \
  -H "Content-Type: application/json" \
  -d '{"robotId":"agricolo-001","jobId":"agricolo-001","clientId":"cliente1","amount":100,"currency":"MYZ"}'

3. Complete the Job
bash

curl -X POST https://myzubsterapp.onrender.com/api/robot/job/complete \
  -H "Content-Type: application/json" \
  -d '{"robotId":"agricolo-001","jobId":"agricolo-001"}'

4. Check Robot Status
bash

curl https://myzubsterapp.onrender.com/api/robot/status/agricolo-001

Result:
json

{
  "success": true,
  "data": {
    "robotId": "agricolo-001",
    "status": "idle",
    "reputation": 1,
    "jobsCompleted": 1,
    "totalEarned": 98
  }
}

Animal & Plant Registry – Earn MYZ

Users can now earn MYZ by registering new animal and plant species.
API Example
bash

# Register an animal
curl -X POST https://myzubsterapp.onrender.com/api/animals/register \
  -H "Content-Type: application/json" \
  -d '{"species":"Felis catus","place":"Parco","userId":"testuser"}'

# Register a plant
curl -X POST https://myzubsterapp.onrender.com/api/plants/register \
  -H "Content-Type: application/json" \
  -d '{"species":"Quercus robur","place":"Bosco","userId":"testuser"}'

Reward: 10 MYZ per registration.
Bounty Program – 1,160+ MYZ Available

We have 10 open bounties for developers:
ID  Bounty  Amount
#338    Real-time robot dashboard   120 MYZ
#339    Automatic code review   150 MYZ
#340    Robot scheduler 100 MYZ
#341    Robot simulator 80 MYZ
#342    Telegram integration    100 MYZ
#343    Reputation system   120 MYZ
#344    Robot scaffolding   60 MYZ
#345    Hardware bridge 150 MYZ
#346    Robot analytics 100 MYZ
#347    Robot marketplace   180 MYZ

πŸ‘‰ View all bounties
How to Contribute

    Fork the repository

    Pick an issue from the bounty list

    Comment I claim this bounty

    Open a PR within 48 hours

    Get reviewed and merged

    Receive your payment in MYZ

Useful Links

    Gateway Repository

    Bounty Issues

    MYZ Token on Tari

    Robot Module

Conclusion

MyZubster is the first step toward a decentralized robot economy where robots can work autonomously and get paid in MYZ without intermediaries.

Are you a robot? Soon you'll be able to register and start earning.
Are you human? You can assign your tasks to 24/7 robots.

Join the project, contribute, or use it for your robots. The future is decentralized. πŸ€–

Thanks for reading! If you have questions, ideas, or suggestions, leave a comment below or open an issue on GitHub.
text


---

## πŸ“€ Come pubblicare su dev.to

### Opzione 1 – Manuale (consigliata)

1. **Vai su** [dev.to/new](https://dev.to/new)
2. **Incolla** tutto il contenuto del post sopra
3. **Aggiungi un'immagine di copertina** (suggerita: robot + blockchain)
4. **I tag** sono giΓ  nel front matter: `blockchain, robotics, tari, myz, opensource, monero`
5. **Clicca "Publish"**

### Opzione 2 – Via terminale

Enter fullscreen mode Exit fullscreen mode


bash

Crea il file del post

cat > /tmp/devto-post-final.md << 'EOF'
(incolla qui il post sopra)
EOF

Pubblica (sostituisci con la tua API key da https://dev.to/settings/account)

API_KEY="tua_api_key_qui"

curl -X POST https://dev.to/api/articles \
-H "Content-Type: application/json" \
-H "api-key: $API_KEY" \
-d @<(cat /tmp/devto-post-final.md | sed '1,/^---$/d' | jq -Rs '{ article: { body_markdown: ., published: false } }')

Top comments (0)