Conversions
How to convert between different aspects of data for
Token Denominations
Address Conversions
Valoper -> Base
// npm i @cosmjs/encoding
import {toBech32, fromBech32} from '@cosmjs/encoding'
let toPrefix = "juno"
let initial = "junovaloper196ax4vc0lwpxndu9dyhvca7jhxp70rmcqcnylw"
let converted = toBech32(toPrefix, fromBech32(initial).data)
console.log(converted)
// juno196ax4vc0lwpxndu9dyhvca7jhxp70rmcl99tyhJuno -> Other Chain
Web UI
Typescript
Python
CLI
Hex -> Valcons
Hex -> Bech32
Raw Bytes -> Hex
Public Key -> Valcons
PubKey -> Hex, Base64, or Bech32
Last updated
Was this helpful?