packages/xchain-cosmos/lib/index.js
// Encode a buffer as a base58-check encoded string
Encode a buffer as a base58-check encoded string
Encode a buffer as a base58 - check encoded string
function encode (payload) {
    var checksum = checksumFn(payload);
    return bs58.encode(Buffer$e.concat([
      payload,
      checksum
    ], payload.length + 4))
  }
function encode ( payload ) { var checksum = checksumFn ( payload ) ; return bs58 . encode ( Buffer$e . concat ( [ payload , checksum ] , payload . length + 4 ) ) }
Encode a buffer as a base58-check encoded string
Encode a buffer as a base58 - check encoded string