晶格链JS/TS SDK
npm install latticelabs-hanbg




JS/TS library for quick interaction with LatticeChain.
- Connect to LatticeChain nodes over Http, WebSocket..
- Promise event related to transactions
- Fully TypeScript supported
- Cross platform
- Extensive api documention
Install @latticelabs/sdk with npm/yarn
``bash`
npm i @latticelabs/sdk
`javascript
import { Lattice } from '@latticelabs/sdk';
const chainUrl = ''; // lattice chain url
const chainId = 1; // lattice chain id
const lattice = new Lattice(chainUrl, chainId);
`
- TypeScript
- Nodejs
- EventEmitter
- cross-fetch
- ws
To run tests, run the following command
`bash``
npm run test
- Additional browser support
- React Native support
- Add more integrations
For support, email jotyy318@gmail.com or open an issue.
- @jotyy