0.1.2 • Published 6 years ago

eosbet-cli v0.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

eosbet-cli

:game_die: 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
  2. 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
  3. 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