npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

eosbet-cli

0.1.2 • Public • Published

eosbet-cli

🎲 Play EOSBet in Terminal

Installation

npm i -g @yelo/eosbet-cli

Usage

  1. Setup your eos account:
$ eosbet config
 
? Select the config section: account
# your account name (12 chars) here 
? name: xxxxxxxxxxxx
? authority: active
# your private key will only be stored locally on your computer 
? private_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  1. Play Dice!
$ eosbet dice
 
✔  success   Database ready
✔  success   Monitor connected
▶  start     Ready for a new game:
? Your lucky number 96
? Bet amount 0.1
? You sure? Let's make a bet! Yes
…  awaiting  Connecting eosio.token
…  awaiting  Sending transfer
…  awaiting  Transaction finished.
…  awaiting  Waiting for result from eosbet
✔  success   Bet result: 41. You WIN
  1. Quit?

Press Ctrl+C to Quit

Commands

Config

eosbet config

Play dice

eosbet dice

Help

eosbet -h

Donate

Donate via EOS: yeloyeloyelo

License

MIT © yelo

Keywords

install

npm i eosbet-cli

Downloadsweekly downloads

0

version

0.1.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability