1.0.2-dev28 • Published 1 year ago

latticelabs-hanbg v1.0.2-dev28

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Lattice.js

Version TypeScript CQ Doc Coverage

JS/TS library for quick interaction with LatticeChain.

Documentation

Full Documentation

Features

  • Connect to LatticeChain nodes over Http, WebSocket..
  • Promise event related to transactions
  • Fully TypeScript supported
  • Cross platform
  • Extensive api documention

Installation

Install @latticelabs/sdk with npm/yarn

  npm i @latticelabs/sdk

Usage/Examples

import { Lattice } from '@latticelabs/sdk';

const chainUrl = ''; // lattice chain url
const chainId = 1; // lattice chain id
const lattice = new Lattice(chainUrl, chainId);

Tech Stack

  • TypeScript
  • Nodejs
  • EventEmitter
  • cross-fetch
  • ws

Running Tests

To run tests, run the following command

  npm run test

Roadmap

  • Additional browser support

  • React Native support

  • Add more integrations

Support

For support, email jotyy318@gmail.com or open an issue.

Authors