You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: smart-contracts/for-eth-devs/accounts.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,23 @@
1
1
---
2
-
title: Accounts in Asset Hub Smart Contracts
2
+
title: Accounts in Polkadot Hub Smart Contracts
3
3
description: Bridges Ethereum's 20-byte addresses with Polkadot's 32-byte accounts, enabling seamless interaction while maintaining compatibility with Ethereum tooling.
4
4
categories: Basics, Polkadot Protocol
5
5
---
6
6
7
-
# Accounts on Asset Hub Smart Contracts
7
+
# Accounts on the Polkadot Hub Smart Contracts
8
8
9
9
## Introduction
10
10
11
-
Asset Hub natively utilizes Polkadot's 32-byte account system while providing interoperability with Ethereum's 20-byte addresses through an automatic conversion system. When interacting with smart contracts:
11
+
The Polkadot Hub natively utilizes Polkadot's 32-byte account system while providing interoperability with Ethereum's 20-byte addresses through an automatic conversion system. When interacting with smart contracts:
12
12
13
13
- Ethereum-compatible wallets (like MetaMask) can use their familiar 20-byte addresses.
14
14
- Polkadot accounts continue using their native 32-byte format.
15
-
- The Asset Hub chain automatically handles conversion between the two formats behind the scenes:
15
+
- The Polkadot Hub chain automatically handles conversion between the two formats behind the scenes:
16
16
17
17
- 20-byte Ethereum addresses are padded with `0xEE` bytes to create valid 32-byte Polkadot accounts.
18
18
- 32-byte Polkadot accounts can optionally register a mapping to a 20-byte address for Ethereum compatibility.
19
19
20
-
This dual-format approach enables Asset Hub to maintain compatibility with Ethereum tooling while fully integrating with the Polkadot ecosystem.
20
+
This dual-format approach enables the Polkadot Hub to maintain compatibility with Ethereum tooling while fully integrating with the Polkadot ecosystem.
0 commit comments