CoolFace
Apppublic

deiehi627/nara-mining

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
App README

NARA Mining Template - HF Space

Template HF Space untuk mining NARA dengan 3 wallet. Teman-teman bisa duplicate space ini dan jalankan sendiri.

๐Ÿš€ Quick Start

1. Duplicate Space

  1. 1.Buka https://huggingface.co/spaces/dkzhen/nara-mining-template
  2. 2.Klik Duplicate Space
  3. 3.Pilih visibility: Public atau Private

2. Setup Environment Variables (Secrets)

Masuk ke Settings โ†’ Secrets dan tambahkan:

AI_BASE_URL=http://<ip-vps>:8317/v1
AI_API_KEY=<api-key>
AI_MODEL=devora-gpt-4.1

3. โšก Auto Generate Wallet (NEW!)

Space akan otomatis generate 3 wallet (W1, W2, W3) pas pertama kali launch!

Cara backup wallet:

  1. 1.Tunggu space finish build
  2. 2.Buka Files tab โ†’ folder wallets/
  3. 3.Download W1.json, W2.json, W3.json
  4. 4.Atau akses: /export/W1, /export/W2, /export/W3 untuk download

โš ๏ธ PENTING: Backup wallet files sebelum mining! Kalau space di-restart tanpa persistent storage, wallet bisa hilang.

4. Restart Space (Optional)

Mining otomatis jalan setelah wallet digenerate!

๐Ÿ“Š Monitoring

  • โ€”/console - Status miner
  • โ€”/status - JSON status
  • โ€”/balance/W1 - Balance W1
  • โ€”/export/W1 - Download wallet W1 (backup)

๐Ÿ” Security

  • โ€”Env vars di Settings โ†’ Secrets (ga masuk repo)
  • โ€”Wallet files ga di-commit ke git (lihat .gitignore)
  • โ€”Backup wallet sebelum mining!

๐Ÿ“š Resources

  • โ€”NARA Docs: https://nara.build/docs
  • โ€”Explorer: https://explorer.nara.build
  • โ€”Naracli NPM: https://www.npmjs.com/package/naracli

๐ŸŽ Fitur

  • โ€”โœ… Auto-generate 3 wallet pas launch
  • โ€”โœ… Auto-download wallet via /export/<wallet>
  • โ€”โœ… Mining otomatis jalan
  • โ€”โœ… Auto-restart kalo miner crash
  • โ€”โœ… Monitor status real-time