Skip to content

ddok2/leveldb-viewer

Repository files navigation

LevelDB Viewer

Build Status Scrutinizer Code Quality Language grade: JavaScript Total alerts

Just amuse myself.

Installing

git clone https://github.com/ddok2/leveldb-viewer

cd leveldb-viewer

yarn # or npm i

# make env file
cp .env.example .env

# npm run build && node build/index.js
yarn start # or npm start

Run

# Usage: 
# Find Wallet
$ node index.js -f elmo # find elmo from leveldb

┌────────────────────────┐
│ Wallet Address: elmo   │
│ Wallet Coin Balance: 0 │
└────────────────────────┘

 Result Row: 
 {"docType":"","tx_id":"init","member_id":"elmo","vs_code":"EXC","country_code":"GHA","currency_code":"GHC","member_role":"EX","member_level":"Admin","custom_one_time_remittance_limit":0,"custom_one_time_withdraw_limit":0,"custom_one_day_remittance_limit":0,"custom_one_day_withdraw_limit":0,"one_day_remittance_sum":0,"one_day_remittance_date":{"year":0,"month":0,"day":0},"one_day_withdraw_sum":0,"one_day_withdraw_date":{"year":0,"month":0,"day":0},"member_wallet":{"wallet_address":"elmo","coin_balance":0,"cash_balance":0,"coin_limit":0},"frozen":false,"created_time":"2020-06-25T03:53:32Z","deleted":false,"description":""} 

# See Wallet Counts
$ node index.js -c

┌─────────────────────────┐
│ Found Number of Wallets │
│ Wallets: 7605 pcs.      │
└─────────────────────────┘



# Save Wallet ID File from leveldb
$ node index.js -l

┌────────────────────────────────────────────┐
│ Please open file wallets-1593139164138.txt │
└────────────────────────────────────────────┘

$ cat wallets-1593139164138.txt

...

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Custom Hyperledger Fabric LevelDB Wallet Finder

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •