Sha256: ef5f163aca58b9c953f1cb6acdfa1d935c6971b12101081c5e0aceb8bf65391a
Contents?: true
Size: 291 Bytes
Versions: 1
Compression:
Stored size: 291 Bytes
Contents
import { base16Encode, base58Decode } from '@waves/ts-lib-crypto'; export default function wavesAsset2Eth(wavesAsset) { const rawBytes = base58Decode(wavesAsset); const bytes = rawBytes.slice(0, 20); return `0x${base16Encode(bytes)}`; } //# 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/es/tools/assets/wavesAsset2eth.js |