Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

conseiljs

Package Overview
Dependencies
Maintainers
1
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conseiljs

Client-side library for dApp development.

  • 0.1.24
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
752
increased by3.58%
Maintainers
1
Weekly downloads
 
Created
Source

ConseilJS

Client-side library for building decentralized applications, currently focused on Tezos.

ConseilJS connects to Conseil for cached blockchain data and Nautilus for live chain data and operations.

Use

Add our NPM package to your project.

In your webpack.config.js file, add:

 node: {
    fs: 'empty'
  }

Develop

TezosNodeQuery queries Tezos blockchain nodes directly.

TezosConseilQuery queries Conseil server to get blockchain data.

TezosOperations performs operations such as transactions, delegation and originations.

TezosWallet provides wallet functionality.

Example import:

import { TezosOperations } from 'conseiljs';

Run Tests

Add a file called test/servers.ts with these contents:

export const servers = {
    conseilServer: '',
    conseilApiKey: '',
    tezosServer: ''
}

The blank strings should be replaced with the details of actual test servers.

After this, run npm run test to run all unit tests.

Keywords

FAQs

Package last updated on 07 Jul 2018

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc