1.11.15 • Published 5 months ago

@interchainjs/encoding v1.11.15

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

@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

5 months ago

1.11.14

5 months ago

1.11.13

5 months ago

1.11.12

5 months ago

1.11.11

6 months ago

1.11.10

6 months ago

1.11.9

6 months ago

1.11.8

6 months ago

1.11.7

6 months ago

1.11.6

6 months ago

1.11.5

7 months ago

1.11.4

7 months ago

1.11.3

7 months ago

1.11.2

7 months ago

1.11.1

7 months ago

1.11.0

7 months ago

1.10.1

7 months ago

1.10.0

8 months ago

1.9.16

8 months ago

1.9.15

8 months ago

1.9.14

8 months ago

1.9.13

9 months ago

1.9.12

9 months ago

1.9.11

9 months ago

1.9.7

9 months ago

1.9.6

9 months ago

1.9.5

9 months ago