OKTC Accounts: Understanding Address Formats and Key Types

·

The OKT Chain (OKTC) features a robust and flexible accounts system designed to support both Cosmos SDK and Ethereum-compatible workflows. Built with interoperability in mind, OKTC enables seamless interactions across multiple blockchain ecosystems while maintaining security and usability. This guide dives into the architecture of OKTC accounts, explores the different address formats, explains public key types, and outlines practical usage scenarios.

Whether you're a developer integrating with OKTC or a user managing assets across platforms, understanding how addresses and keys work is essential for secure and efficient operations.

Core Components of OKTC Accounts

OKTC implements a custom Account type based on Ethereum’s ECDSA secp256k1 elliptic curve cryptography. This design choice ensures compatibility with Ethereum’s Web3 tooling while aligning with Cosmos SDK standards. The system supports hierarchical deterministic (HD) wallets following BIP44 specifications, with a root derivation path of:

m/44'/60'/0'/0

This path conforms to EIP84, enabling users to generate consistent key pairs from a single mnemonic phrase—ideal for cross-platform wallet recovery and management.

👉 Discover how to manage multi-format blockchain addresses securely and efficiently.

Types of Addresses and Public Keys

OKTC supports three primary account types, each serving a distinct role within the network. These include user accounts, validator operators, and consensus nodes—each with unique address prefixes and cryptographic curves.

1. User Accounts

Used by individuals to send transactions, participate in governance, and hold assets.

Example:

Address: ex1hcngft7gfkhn8z8fnlajzh7agyt0az0v6ztmme
PubKey: expub17weu6qepqgantzvj79rywafrxmye524tpa8kp6akjct3nw7wel623lsnfwynqyfe75k

2. Validator Operator Accounts

Identify the operators responsible for running validator nodes. These are used for staking, delegation, and governance voting.

3. Consensus Node Keys

Used by validator nodes during the consensus process (e.g., signing blocks).

These distinctions ensure clear separation between identity, operational control, and network-level participation.

Dual Address Format Support

One of OKTC’s standout features is its support for two address formats—Bech32 and hexadecimal (Hex)—to bridge Cosmos and Ethereum ecosystems.

Bech32 Format

Default format used in Cosmos SDK tools like CLI and REST APIs.

Hex Format (EIP55-compliant)

Compatible with Ethereum wallets such as MetaMask.

Both formats derive from the same mnemonic seed, meaning they represent the same underlying account. Consequently, the balance and token holdings (e.g., OKT) are identical across both formats.

🔍 Tip: When importing your mnemonic into MetaMask, the wallet recovers the Hex (0x) address. Meanwhile, OKTC’s CLI (exchaincli) displays the Bech32 (ex) version by default.

👉 Learn how to convert between Bech32 and Hex addresses with ease.

Relationship Between ex and 0x Addresses

Despite their different appearances, ex and 0x addresses are two representations of the same cryptographic identity:

Featureex Address0x Address
Format StandardBIP173 (Bech32)Ethereum Hex (EIP55)
Primary Use CaseOKTC Web & Mobile Apps, CLIMetaMask, Web3 dApps
Derivation SourceSame mnemonic seedSame mnemonic seed
Asset BalanceFully synchronizedFully synchronized

This dual-format approach allows users to interact with both native OKTC applications and Ethereum-based decentralized apps without needing separate wallets or keys.

Practical Usage Guidelines

Converting Between Address Formats

Since both address types originate from the same private key, conversion between Bech32 (ex) and Hex (0x) is possible using cryptographic utilities.

Developers can leverage official SDKs for format transformation:

These tools enable seamless integration into dApps, wallet services, or backend systems requiring multi-format address handling.


Frequently Asked Questions (FAQ)

Q: Are ex and 0x addresses linked to the same wallet?
A: Yes. Both addresses are derived from the same mnemonic phrase and share the same private key. Your OKT balance is unified across both formats.

Q: Can I transfer OKT from an ex address to a 0x address?
A: No. Although they belong to the same user, direct transfers between different format addresses are not supported. Always use the same format for sender and recipient.

Q: Which address should I use for MetaMask?
A: Use the 0x prefixed Hex address. MetaMask recognizes this format natively and will display your OKTC balance when connected to the correct network.

Q: How do I find my Hex address if I only have my Bech32 address?
A: You can use the JSON-RPC method oktc_accounts or SDK conversion functions to derive the Hex equivalent.

Q: Is there any difference in security between the two formats?
A: No. Security depends on private key protection, not address format. Both formats are equally secure when used correctly.

Q: Why does OKTC support two address formats?
A: To ensure compatibility with both Cosmos SDK tools (Bech32) and Ethereum’s vast Web3 ecosystem (Hex), providing flexibility for developers and users alike.


Understanding OKTC’s account model empowers you to navigate its ecosystem confidently—whether you're building decentralized applications or managing digital assets. With native support for dual address formats and strong cryptographic foundations, OKTC delivers a hybrid experience that bridges two major blockchain worlds.

👉 Access advanced tools for managing OKTC accounts across formats.