🚀 DAY 3 OF LAUNCH WEEK: Introducing Webhook Events for Pull Request Scans.Learn more →
Socket
Book a DemoInstallSign in
Socket

@vechain/connex-repl

Package Overview
Dependencies
Maintainers
9
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vechain/connex-repl

[![npm version](https://badge.fury.io/js/%40vechain%2Fconnex-repl.svg)](https://badge.fury.io/js/%40vechain%2Fconnex-repl)

latest
Source
npmnpm
Version
2.2.1
Version published
Weekly downloads
176
1500%
Maintainers
9
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 23 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts