Skip to content

Repository files navigation

IOTA TipBot JS Library

How to use

npm install @trustify/tipbot.ts

Add

consttipbot=require('@trustify/tipbot.ts');letresponse=awaittipbot.add("Felix","HYMYMBXAWOTQSSCMUHLTEZM9ODBRQHQXE9YYITUIQKTLMIKHMUTSETAQIFRCNKIVFNEETSXDNHAYHYSVCHPXUVQDMX")console.log(response)// -> Address added.

Tip

consttipbot=require('@trustify/tipbot.ts');letresponse=awaittipbot.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

About

IOTA TipBot typescript library - shared modules of Telegram and Discord TipBot.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages