A straightforward implementation of base58-check encoding for smartcash
npm install bs58smartcheckjavascript
var bs58smartcheck = require('bs58smartcheck')
var decoded = bs58smartcheck.decode('VMcAbMfj44MqqL1rL4cwxTe8NfgcbAGJUhaXb4rNVqKWpNhf4Za6')
console.log(decoded)
// =>
console.log(bs58smartcheck.encode(decoded))
// => VMcAbMfj44MqqL1rL4cwxTe8NfgcbAGJUhaXb4rNVqKWpNhf4Za6
``