0.1.1 • Published 6 years ago

jeshka-lib-js v0.1.1

Weekly downloads
1
License
AGPL-3.0
Repository
github
Last release
6 years ago

Jeshka

Jeshka JavaScript Library - Developed for Angular and NodeJS

Starting November 14, 2018 this repository contains the sources of the Jeshka JavaSCript Library

How to use

Import Jeshka, you only need one instance for your entire application.

import { JeshkaNode } as jeshka from 'jeshka';
import { JeshkaQuest } from 'jeshka';

Start qManager

//run this command only once per device.
jeshka.startQManager();

Unlock Wallet

jeshka.unlockWallet(seedWhistle);

To start a new Quest

let quest = new JeshkaQuest();
quest.setType(questType);
quest.setOutAddr(addr);
etc

We assume that once you sign a Quest, you also want to send it, so to send a signed Quest, just whistle (sign and send) it =)

jeshka.whistle(quest);

If you want to start an unsigned Quest

jeshka.start(quest);

Now the qManager will join the necessary Assembly/Assemblies and Jeshka will handle the rest.

0.1.1

6 years ago

0.1.0

6 years ago