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.