I am also working on API for transferring liquid HBD if payment is done via Hive
Validating Invoice, Validating payment - I am working on it.
I've also added code for transferring liquid HBD. Here is the code snippet.
asyncfunctionhbdTransfer(client,key,receiver,hbd,permlink,account){constop=[["transfer",{from:account,to:receiver,amount:`${hbd} HBD`,memo:`For your payment using hive/hbd & review of a busines here - https://peakd.com/@${receiver}/${permlink}`,},],];try{constresult=awaitclient.broadcast.sendOperations(op,key);returnresult;}catch(e){console.error(e);throwe;}}module.exports={hbdTransfer,};
The SPK Network is a decentralised Web 3.0 protocol that rewards value creators and infrastructure providers appropriately and autonomously by distributing reward tokens so that every user, creator, and platform can earn rewards on a level playing field.