1.3.2 • Published 3 years ago

@trustify/tipbot.ts v1.3.2

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

IOTA TipBot JS Library

How to use

npm install @trustify/tipbot.ts

Add

const tipbot = require('@trustify/tipbot.ts');

let response = await tipbot.add("Felix", "HYMYMBXAWOTQSSCMUHLTEZM9ODBRQHQXE9YYITUIQKTLMIKHMUTSETAQIFRCNKIVFNEETSXDNHAYHYSVCHPXUVQDMX")

console.log(response)

// -> Address added.

Tip

const tipbot = require('@trustify/tipbot.ts');

let response = await tipbot.tip("Felix");

console.log(response)

// -> HYMYMBXAWOTQSSCMUHLTEZM9ODBRQHQXE9YYITUIQKTLMIKHMUTSETAQIFRCNKIVFNEETSXDNHAYHYSVCHPXUVQDMX

How to develop

Clone the repo and link it with npm

git clone https://github.com/trusty-code/tipbot.ts
cd tipbot.ts
npm link

now you can link it to your bot implementation

cd your/bot/path
npm link @trustify/tipbot.ts
1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

4 years ago

1.2.0

4 years ago

0.0.1

4 years ago