Skip to content

mikedizon/sotez

 
 

Repository files navigation

Sotez - A JS Library for Tezos

npm Build Status

Getting Started

npm install sotez
// Import library or individual modules
import Sotez, { utility, forge, crypto, ledger } from 'sotez';

const sotez = new Sotez('http://127.0.0.1:8732');

sotez.query('/chains/main/blocks/head')
  .then(response => console.log(response));

crypto.generateMnemonic()
  .then(mnemonic => console.log(mnemonic));

Or

const Sotez = require('sotez').default;

const sotez = new Sotez('http://127.0.0.1:8732');

sotez.query('/chains/main/blocks/head')
  .then(response => console.log(response));

Documentation

Documentation can be found HERE.

Development

npm install
npm run build

License

MIT

Credits

Credits to Stephen Andrews and EZTZ.

About

A JS Library for Tezos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%