Skip to content

Utilities

This page provides interactive utilities for common Polkadot SDK development tasks. Tools are powered by the @polkadot/util, @polkadot/util-crypto, and @polkadot/keyring libraries and run entirely in your browser.

Encoding & Decoding

Convert between strings, numbers, byte arrays, and their hexadecimal representations. Bidirectional tools update both fields in real time as you type.

Hashing

Hash arbitrary inputs using Blake2 and XXHash, the two hashing algorithms used throughout the Polkadot SDK for storage key derivation and other primitives. The concat variants append the original input to the hash output, matching the Blake2_128Concat and Twox64Concat storage hashers.

Address Utilities

Derive, convert, and re-encode addresses for Polkadot SDK-based chains. These tools cover standard SS58 addresses, Ethereum-compatible addresses, pallet module accounts, sovereign accounts for parachains, and derived sub-accounts.

Warning

Never enter seed phrases or private key URIs for accounts that hold real funds. Use only test accounts or development keys (for example, //Alice) with the Seed → Address tool.

Convert addresses between Ethereum (EVM) and Polkadot (SS58) formats. Use the network selector to target a specific chain's SS58 prefix. When converting SS58 → ETH, check the box to confirm the account was originally mapped from an Ethereum key.

Asset ID to ERC-20 Precompile Address

Derive the ERC-20 precompile address for an asset ID. On chains running pallet-revive, a runtime can expose each Assets pallet instance through an ERC-20 precompile, and contracts use the derived address to call that asset through the standard ERC-20 interface.

The address suffix is runtime configuration. The tool uses the suffixes from the Asset Hub runtimes in the Polkadot SDK (0x0120 for trust-backed assets, 0x0220 for foreign assets, and 0x0320 for pool assets; see the Asset Hub Westend runtime). If your runtime uses different suffixes, adjust the result accordingly.

Last update: November 17, 2026
| Created: November 17, 2026