Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cleos Tools — Vexanium Block Producer Wallet Manager

CLI tool untuk mengelola wallet Vexanium Block Producer menggunakan binary cleos. Interaktif, color-coded, auto-install cleos, dan auto-detect wallet.

Fitur

  • Create Wallet — buat wallet baru, password otomatis tersimpan
  • Open Existing Wallet — buka semua file *.wallet dari ~/vex-wallet/
  • Import Wallet — import private key ke wallet
  • Unlock / Lock Wallet — unlock satu atau semua wallet
  • Vote Block Producer — vote BP untuk satu wallet atau semua wallet (bulk vote)
  • Define BP Mapping — set target BP per wallet untuk vote all
  • Claim Reward — klaim reward block producer
  • VEX REX — unstake to REX, sell REX, withdraw REX fund, cek maturity, cek saldo withdrawable
  • Wallet Info — lihat status, key, dan voted BP dari semua wallet
  • Broadcaster Nodes — tambah, hapus, dan pilih node aktif
  • Restart Keosd — restart + bersihkan semua wallet & password
  • Auto Install Cleos — jika cleos belum terinstall, download & install otomatis
  • Auto Detect — deteksi wallet, status lock/unlock, password file, dan voted BP dari chain
  • Broadcaster Health Check — cek koneksi node sebelum transaksi
  • Persistent Config — semua setting tersimpan di config.json

Prerequisites

  • Ubuntu 22.04+
  • Node.js 20+
  • sudo akses (untuk auto-install cleos)

Install

git clone <repo-url>
cd cleos-tools
npm install

Usage

npm start
# atau
node index.js

Menu

1.  Create Wallet
2.  Open Existing Wallet
3.  Import Existing Wallet
4.  Unlock Wallet
5.  Lock Wallet
6.  Vote Block Producer
7.  Vote All Wallets
8.  Claim Reward
9.  Wallet Info
10. Define BP Mapping
11. Broadcaster Nodes
12. VEX REX
13. Restart Keosd
14. Delete Wallet
15. Exit

Broadcaster Nodes

Default node: https://vexascan.com:8443

List node Vexanium yang bisa digunakan bisa dilihat di: https://scan.arcelio.xyz/node-monitor

Menu Broadcaster Nodes menyediakan opsi untuk:

  • Menambah node baru
  • Menghapus node
  • Memilih node aktif (digunakan untuk transaksi)

Struktur Folder

cleos-tools/
├── index.js                  # Entry point
├── config.json               # Persistent config
├── passwords/                # Wallet password files
├── activity.log              # Activity log (auto-generated)
├── src/
│   ├── config/index.js       # Config load/save
│   ├── services/
│   │   ├── cleos.service.js  # Check, install, exec cleos
│   │   ├── wallet.service.js # CRUD wallet, unlock/lock
│   │   ├── vote.service.js   # Vote BP
│   │   ├── reward.service.js # Claim reward
│   │   ├── rex.service.js    # REX actions + checks
│   │   └── health.service.js # Broadcaster health check
│   ├── ui/
│   │   ├── header.js         # Banner + dashboard
│   │   └── menu.js           # Interactive menu
│   └── utils/
│       ├── logger.js         # Color-coded output
│       ├── validator.js      # Input validation
│       └── logfile.js        # Activity logging
└── package.json

Konfigurasi

Semua konfigurasi disimpan di config.json:

  • Default Broadcaster Node — default: https://vexascan.com:8443
  • Broadcasters — daftar node yang tersimpan
  • BP Mapping — mapping wallet → target BP untuk vote all
  • Persisten — tetap tersimpan setelah aplikasi ditutup

License

MIT

About

CLI tool untuk mengelola wallet Vexanium menggunakan binary cleos. Interaktif, color-coded, auto-install cleos, dan auto-detect wallet.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages