Socket
Socket
Sign inDemoInstall

zetrix-sdk-nodejs

Package Overview
Dependencies
126
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

zetrix-sdk-nodejs

zetrix sdk


Version published
Maintainers
1
Weekly downloads
2
decreased by-50%

Weekly downloads

Readme

Source

zetrix-sdk-nodejs

Let developers can all use zetrix blockchain services more easily.

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 6.0.0 or higher is required.

Installation is done using the npm install command:

$ npm install zetrix-sdk-nodejs --save

Quick Start

Create zetrix-sdk-nodejs instance:

'use strict';

const ZtxChainSDK = require('zetrix-sdk-nodejs');

const sdk = new ZtxChainSDK({
  host: 'https://192.168.10.100:19343',
});

Usage:

// Create account
sdk.account.create().then(data => {
  console.log(data);
}).catch(err => {
  console.log(err.message);
});

Tests

To run the test suite, first install the dependencies, then run npm test:

$ npm install
$ npm test

Docs

License

MIT

Keywords

FAQs

Last updated on 12 Jan 2022

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc