1.11.15 • Published 4 months ago
@interchainjs/encoding v1.11.15
@interchainjs/encoding
This package is an extension to the JavaScript standard library that is not bound to blockchain products. It provides basic hex/base64/ascii encoding to Uint8Array that doesn't rely on Buffer and also provides better error messages on invalid input.
Convert between bech32 and hex addresses
>> toBech32("tiov", fromHex("1234ABCD0000AA0000FFFF0000AA00001234ABCD"))
'tiov1zg62hngqqz4qqq8lluqqp2sqqqfrf27dzrrmea'
>> toHex(fromBech32("tiov1zg62hngqqz4qqq8lluqqp2sqqqfrf27dzrrmea").data)
'1234abcd0000aa0000ffff0000aa00001234abcd'
1.11.15
4 months ago
1.11.14
5 months ago
1.11.13
5 months ago
1.11.12
5 months ago
1.11.11
5 months ago
1.11.10
5 months ago
1.11.9
5 months ago
1.11.8
5 months ago
1.11.7
5 months ago
1.11.6
5 months ago
1.11.5
6 months ago
1.11.4
6 months ago
1.11.3
6 months ago
1.11.2
6 months ago
1.11.1
6 months ago
1.11.0
6 months ago
1.10.1
7 months ago
1.10.0
7 months ago
1.9.16
7 months ago
1.9.15
7 months ago
1.9.14
8 months ago
1.9.13
8 months ago
1.9.12
8 months ago
1.9.11
8 months ago
1.9.7
8 months ago
1.9.6
8 months ago
1.9.5
8 months ago