Hey. Very nice wrapper.
Can you add some little examples to your library that just work out of the box. E.g. I'm interested in doing transfers.
Thanks J
You are viewing a single comment's thread from:
Hey. Very nice wrapper.
Can you add some little examples to your library that just work out of the box. E.g. I'm interested in doing transfers.
Thanks J
For example:
const BitShares = require("btsdex"); async function start() { BitShares.init("wss://bitshares.openledger.info/ws"); await BitShares.connect(); let bot = new BitShares("jjb777", "yourPrivateActiveKey") await bot.transfer("scientistnik","BTS", 10) console.log("Transfer sent") } start()
Hey.
I had nearly the same code but it failed due to an old npm version dependency problems. But I got it to work.
Thanks J
Hey .... I did not get 10 BTS!!!
I'm kidding))