Sha256: bd4ef2a5fffd440bdb7e562ec91e7670ebeb7f470152a1d365997fe9784bc582
Contents?: true
Size: 434 Bytes
Versions: 1
Compression:
Stored size: 434 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var ts_lib_crypto_1 = require("@waves/ts-lib-crypto"); function wavesAddress2eth(wavesAddress) { var rawBytes = ts_lib_crypto_1.base58Decode(wavesAddress); var bytes = rawBytes.slice(2, rawBytes.byteLength - 4); return "0x" + ts_lib_crypto_1.base16Encode(bytes); } exports.default = wavesAddress2eth; //# sourceMappingURL=wavesAddress2eth.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/adresses/wavesAddress2eth.js |