1.11.15 • Published 7 months ago

@interchainjs/encoding v1.11.15

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 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

7 months ago

1.11.14

7 months ago

1.11.13

7 months ago

1.11.12

8 months ago

1.11.11

8 months ago

1.11.10

8 months ago

1.11.9

8 months ago

1.11.8

8 months ago

1.11.7

8 months ago

1.11.6

8 months ago

1.11.5

9 months ago

1.11.4

9 months ago

1.11.3

9 months ago

1.11.2

9 months ago

1.11.1

9 months ago

1.11.0

9 months ago

1.10.1

9 months ago

1.10.0

10 months ago

1.9.16

10 months ago

1.9.15

10 months ago

1.9.14

11 months ago

1.9.13

11 months ago

1.9.12

11 months ago

1.9.11

11 months ago

1.9.7

11 months ago

1.9.6

11 months ago

1.9.5

11 months ago