thencc / algonautjs

A front end friendly Algorand utility
MIT License
10 stars 1 forks source link

does algjs need to depend on buffer + implement its own helpers? #60

Closed spencercap closed 1 year ago

spencercap commented 1 year ago

seems like all of this is already in the encoding obj

let binaryTxn = sdkTxn.toByte(); // unin8arr
let base64Txn = algorand.encoding.msgpackToBase64(binaryTxn); // string
spencercap commented 1 year ago

ahh- this seems to be in the Algosigner lib, not algosdk. for now algonaut is exporting its own helper utils