@vechain/connex-repl

2.1.0 • Public • Published

Connex REPL

npm version

Connex REPL the REPL style command-line playground to try out Connex interface.

Requirement

It requires NodeJS version >= 10

Installation

$ npm i -g @vechain/connex-repl

Startup to connect with local thor node by default (http://localhost:8669/)

$ connex 

or the remote one

$ connex http://remote-thor-node-api-base-url

Then you get a NodeJS REPL interface. e.g.

VeChain Connex Playground @ http://localhost:8669/
connex v1.3.1
Testnet(100%)> 

Play with it

  • Check VeChain status

    Testnet(100%)> thor.status
  • Get newest block

    Testnet(100%)> await thor.block().get()
  • Import private key

    Testnet(100%)> wallet.import('<private key>')

License

This package is licensed under the GNU Lesser General Public License v3.0, also included in LICENSE file in the repository.

Readme

Keywords

none

Package Sidebar

Install

npm i @vechain/connex-repl

Weekly Downloads

2

Version

2.1.0

License

LGPL-3.0

Unpacked Size

20.5 kB

Total Files

5

Last publish

Collaborators

  • freemanzmrojo
  • fabiorigam
  • lucanicoladebiasi
  • samuelebello
  • tony.li