bexbro

1.1.1 • Public • Published

BEX Command CLI

Command CLI for BenchCore RootChains and SideChains. You can connect to the BenchChain Live Network and Test Network as well as many of our native SideChains like MUZ, SHARE, VID, SHOP and DAN.

Table of Contents

Background

bexbro is the official MultiChain Command CLI for BenchCore RootChains and SideChain and was built from Ark's original blockchain ark-node and derives directly from , which derived from Lisk and was originally known as Crypti. It has come a long way since then and is one of the most battle tested blockchain libraries on the face of the planet. You can connect to the BenchChain Live Network and Test Network as well as many of our native SideChains like MUZ, SHARE, VID, SHOP and DAN.

Installation

You need to have node (version 7.6.0 or newer) installed. Then:

Install With NPM

npm install i -g bexbro

Install With YARN

yarn add global bexbro

Usage

Starting Up The CLI

$> bench

  _______   ______   __     __        _______   ______    ______
/_______/\ /_____/\ /__/\ /__/\     /_______/\ /_____/\  /_____/\
\::: _  \ \\::::_\/_\ \::\\:.\ \    \::: _  \ \\:::_ \ \ \:::_ \ \
 \::(_)  \/_\:\/___/\\_\::_\:_\/     \::(_)  \/_\:(_) ) )_\:\ \ \ \
  \::  _  \ \\::___\/_ _\/__\_\_/\    \::  _  \ \\: __ `\ \\:\ \ \ \
   \::(_)  \ \\:\____/\\ \ \ \::\ \    \::(_)  \ \\ \ `\ \ \\:\_\ \ \
    \_______\/ \_____\/ \_\/  \__\/     \_______\/ \_\/ \_\/ \_____\/

bench>

CLI Options

bench> help

Commands:

  help [command...]                     Provides help for a given command.
  exit                                  Exits application.
  init <network>                        Initiate a connection to the Bench rootchain or a native sidechain.
  connect peer <address>                Initiate a connection with a public peer ex: "connect peer michaelx.bex.life:6620"
  bex life                              Print network statistics to a Bench rootchain or sidechain you are connected to.
  bexgal <address>                      Calling all Bench chicks to get their account status.
  bexbro <address>                      Get account status
  cast vote <delegate>                  Cast a vote for a delegate on the Bench rootchain or sidechain you are connected to.
  remove vote                           Remove previous vote
  register as delegate <username>       Register yourself as a delegate on the Bench rootchain or sidechain you are connected to.
  create wallet                         Create a wallet on the Bench rootchain or sidechain you are connected to.
  create custom wallet <string>         Generate a wallet address containing a custom (vanity) lowercased phrase (<string>) (This could take some time)
  pay <amount> <address>                Pay <amount> (of ASSET) to <address>. <amount>.
  message sign <message>                Sign a message
  message verify <message> <publickey>  Verify the <message> signed by the owner of <publickey> (you will be prompted to provide the signature)
  kill                                  Kill a connection to a peer or a Bench rootchain/sidechain

Connect To A Network

Available Network Names

  • bench
  • benchtest
  • muznet
  • muztest
  • sharenet
  • sharetest
  • shopnet
  • shoptest
  • vidnet
  • vidtest
  • dannet
  • dantest
  • ark
bench> init bench
{ nethash: '3a832f6849162ee605da8251cf9f94b228a82a8989cc3a2abdeb4a8c18cb41b6',
  token: 'BEX',
  symbol: 'ƀ',
  explorer: 'https://bex.bex.life',
  version: 25 }
Node: node1.bex.life:6620, height: 5314

Create A Wallet

The following example creates a wallet on the bench network. (To connect to bench you would type init bench)

bex bench> create wallet
Seed    - private: balance cost unaware fault rally sample track damage affair basket laptop seek
WIF     - private: UdKeGtsfjHv9YorGuFPzZrbyD8w1ggKNKHyjUcVEPecgxGiLHdis
Address - public : BBTSTFM6cQcuqkrPavTfDu2axk3GdbENA7

Kill Network Connection

bex bench> kill
Killed connection to node1.bex.life:6620

Libraries

Resources

Why The Internet Must Have A Decentralized Alternative

Today, the internet is more censored than ever and it's only getting worse. Our mission with the dWeb Protocol was to create a truly powerful P2P protocol, around benOS, dBrowser and many of benOS' underlying libraries to bring the most powerful P2P products to life. In the last few months, by rebuilding P2P technologies that have existed since the early 2000s, we have built a powerful suite of decentralized libraries for benOS and the Bench Network, that will only improve over time. But we also brought new ideas to life, like:

and more! These were the protocols and libraries that we needed to create a completely decentralized operating system, where everything was distributed, protected and people were once again in control of their data. benOS is made up of over 1100+ different libraries that we are releasing on a day-by-day basis as we move them to a stable/production state. While financial support is great for this open source project, we need developers who want to be some of the first to build the dApps and dSites of the future. We have to take back what our forefathers originally designed for freedom, by making our code the law, instead of releasing weak and highly centralized applications where law cannot be applied because the code lacks the foundation to implement a legal framework for itself. Join us for a truly historic journey on the BenchLabs Telegram. See you there.

Bench On The dWeb

dweb://bench.dnames.io // dNames Short Link dweb://3EDAE09848B77401445B7739CAFCE442DDE1752AED63025A1F94E6A86D7E9F04 // dWeb Key Link

In order to make the links above clickable or to view these links period, you will need dBrowser (Available for Mac OSX, Linux, Windows and soon to be available on iOS/Android)

"The Code Is The Law" - Stan Larimer - Godfather of BitShares.

License

MIT

JavaScript Style Guide
forthebadge
dWebShield

Copyright

Copyright (c) 2018 Distributed Webs Project. All rights reserved.

Package Sidebar

Install

npm i bexbro

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

58.5 kB

Total Files

10

Last publish

Collaborators

  • benchpay