npm install @trustify/tipbot.ts
const tipbot = require('@trustify/tipbot.ts');
let response = await tipbot.add("Felix", "HYMYMBXAWOTQSSCMUHLTEZM9ODBRQHQXE9YYITUIQKTLMIKHMUTSETAQIFRCNKIVFNEETSXDNHAYHYSVCHPXUVQDMX")
console.log(response)
// -> Address added.
const tipbot = require('@trustify/tipbot.ts');
let response = await tipbot.tip("Felix");
console.log(response)
// -> HYMYMBXAWOTQSSCMUHLTEZM9ODBRQHQXE9YYITUIQKTLMIKHMUTSETAQIFRCNKIVFNEETSXDNHAYHYSVCHPXUVQDMX
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