masonicGIT / ConseilJS

Client-side library for building decentralized applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ConseilJS

npm version npm Build Status Coverage Status dependencies

A library for building decentralized applications in Typescript and Javascript, currently focused on the Tezos platform.

ConseilJS connects to Tezos nodes for live chain data and operations and to Conseil servers for high-performance analytics on blockchain data. Internally, Cryptonomic uses Nautilus for infrastructure deployments of these services.

Use with Nodejs

Add our NPM package to your project, or include in your web project as: ``.

$ npm i conseiljs

If you are using webpack in your project, add below lines to your webpack.config.js file:

node: { fs: 'empty' }

We have a complete React application example for you to check out.

Use with Web

<script src="https://cdn.jsdelivr.net/gh/cryptonomic/conseiljs/dist-web/conseiljs.min.js"
        integrity="sha384-1kvOwCh/yy4syOo9jLBT9RU6xhA2TSS6pzwm6eceb4fN/WlCgjDkQFW4xksK/2DV"
        crossorigin="anonymous"></script>

A fully functional sample webpage example is available too.

API Overview and Examples

We have ready-to-use examples to copy/paste.

Contribute

There are many ways to contribute to this project. You can develop applications or dApps with it. You can submit bug reports or feature requests. You can ask questions about it on r/Tezos or the Tezos StackExchange. We certainly welcome pull requests as well.

Known Issues

  • Some of the P2P messages are not implemented, specifically those used in baking operations.

Dependency Requirements

  • AWS-SDK dependency must remain as the Ledger Connect feature requires it.

Other references

Wiki

Riot Dev Channel

Cryptonomic Reddit

The Cryptonomic Aperiodical

@CryptonomicTech

About

Client-side library for building decentralized applications.

License:GNU General Public License v3.0


Languages

Language:TypeScript 73.1%Language:JavaScript 18.1%Language:Nearley 8.8%