Sha256: 0f073517c5ac103bb2147ac5538a44e7ce2ff969e1c9fb1db6f8134655bc0820

Contents?: true

Size: 403 Bytes

Versions: 1

Compression:

Stored size: 403 Bytes

Contents

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ts_lib_crypto_1 = require("@waves/ts-lib-crypto");
function wavesAsset2Eth(wavesAsset) {
    var rawBytes = ts_lib_crypto_1.base58Decode(wavesAsset);
    var bytes = rawBytes.slice(0, 20);
    return "0x" + ts_lib_crypto_1.base16Encode(bytes);
}
exports.default = wavesAsset2Eth;
//# sourceMappingURL=wavesAsset2eth.js.map

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
waves_lib-0.1.0 js/node_modules/@waves/node-api-js/cjs/tools/assets/wavesAsset2eth.js