Skip to content

Commit 5c4c9a6

Browse files
authored
Remove all mentions of Asset Hub (#75)
We should just refer to everything by its network name (Polkadot, Kusama, Westend). AssetHub is an implementation detail. This will also change the network name in wallet connect to just "Westend". It will through a warning until ethereum-lists/chains#7151 is merged, though.
1 parent 1f33b42 commit 5c4c9a6

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contracts Docs
22

3-
This is the documentation for smart contracts on Asset Hub. It is built using Docusaurus. Master is deployed to: https://contracts.polkadot.io.
3+
This is the documentation for smart contracts on Polkadot. It is built using Docusaurus. Master is deployed to: https://contracts.polkadot.io.
44

55
## Local Development
66

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_position: 1
66

77
:::warning
88

9-
**The feature is a work in progress**. A preview version is deployed to the [Westend Asset Hub Parachain](https://wiki.polkadot.network/docs/maintain-networks#westend-asset-hub)
9+
**The feature is a work in progress**. A preview version is deployed to the [Westend Network](https://docs.polkadot.com/develop/networks/#westend)
1010
to gather feedback during development. **This documentation is also temporary and will be moved to [docs.polkadot.com](https://docs.polkadot.com/) in 2025 once the feature is in production.**
1111

1212
:::

docs/tutorial/1-connect-to-asset-hub.md renamed to docs/tutorial/1-connect-to-westend.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
sidebar_position: 1
3-
slug: /connect-to-asset-hub
3+
slug: /connect-to-westend
44
---
55

66
import {WalletConnectButton} from '@site/src/components/WalletConnect'
77

8-
# Connect to Asset Hub
8+
# Connect to Westend
99

1010
- Install an Ethereum wallet of your choice, such as [Talisman] or [MetaMask] browser extension.
1111
- Create a new Ethereum account (if you don’t already have one).
@@ -16,16 +16,16 @@ MetaMask enforces Ethereum contract size limits. If you want to deploy larger co
1616

1717
:::
1818

19-
# Connect to Asset Hub Westend Testnet (Applicable to MetaMask only)
19+
# Connect to Westend (Applicable to MetaMask only)
2020

21-
Connect your MetaMask wallet to Asset Hub using the following link:
21+
Connect your MetaMask wallet to Westend using the following link:
2222

2323
<WalletConnectButton />
2424
<br /><sub><sup>(Try reloading the page if the link does not work)</sup></sub>
2525

2626
<details>
2727
<summary>Or add it manually</summary>
28-
- Network name: Asset-Hub Westend Testnet
28+
- Network name: Westend
2929
- RPC URL URL: `https://westend-asset-hub-eth-rpc.polkadot.io`
3030
- Chain ID: `420420421`
3131
- Currency Symbol: `WND`

docs/tutorial/2-deploy-your-first-contract.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This guide will walk you through deploying and interacting with contracts in REM
2020
1. Using Talisman wallet
2121

2222
Select the **Injected Provider - Talisman** environment in the **Deploy & Run** tab. When prompted, allow Remix to connect to Talisman.
23-
Switch to the **Westend Asset Hub** network in Talisman. Make sure **Enable Testnets** is checked in Talisman to see the network.
23+
Switch to the **Westend** network in Talisman. Make sure **Enable Testnets** is checked in Talisman to see the network.
2424
Your account address and balance will appear under the **ACCOUNT** section. Remix will automatically use the network selected in Talisman.
2525

2626
![Deploy contract](img/dapp_deploy_with_talisman.png)
@@ -31,7 +31,7 @@ This guide will walk you through deploying and interacting with contracts in REM
3131

3232
Select **Injected Provider - MetaMask** environment in the **Deploy & Run** tab.
3333
When prompted, allow REMIX to connect to MetaMask. Your account address and balance will be displayed under the **ACCOUNT** section.
34-
Ensure you are connected to the **Asset-Hub Westend** network in MetaMask. If you are not already connected, switch to the correct network. Remix will automatically use the network selected in MetaMask.
34+
Ensure you are connected to the **Westend** network in MetaMask. If you are not already connected, switch to the correct network. Remix will automatically use the network selected in MetaMask.
3535

3636
![Deploy contract](img/dapp_deploy.png)
3737

docs/tutorial/try.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ extrinsics. We’re using the `1_Storage.sol` example contract here, which you c
116116

117117
When registering, you will sign the transaction with a Polkadot native wallet and signature scheme, likely even a pre-existing
118118
account. To use a Polkadot native wallet, you need to register (or "map") your account with `pallet_revive`. This is a one-time
119-
action and is necessary to enable mapping between the Asset Hub-native and Ethereum addresses. Ethereum wallets don't require any registration.
119+
action and is necessary to enable mapping between the Polkadot and Ethereum addresses. Ethereum wallets don't require any registration.
120120

121121
1. Go to Polkadot.js Apps, connect to Westend AssetHub, and go to the `Developer -> Extrinsics` tab.
122122
[Here](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fwestend-asset-hub-rpc.polkadot.io#/extrinsics) is a direct link.

src/components/WalletConnect.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const projectId = 'c1455e18050fa3e0857a79ac38187ba5'
66

77
const metadata = {
88
name: 'contracts-doc',
9-
description: 'Asset Hub Westend - Contracts Documentation',
9+
description: 'Westend - Contracts Documentation',
1010
url: 'https://reown.com/appkit', // origin must match your domain & subdomain
1111
icons: ['https://assets.reown.com/reown-profile-pic.png'],
1212
}
@@ -16,7 +16,7 @@ const Westend = {
1616
chainNamespace: 'eip155',
1717
chainId: 420420421,
1818
caipNetworkId: 'eip155:420420421',
19-
name: 'Westend Asset Hub',
19+
name: 'Westend',
2020
nativeCurrency: {
2121
name: 'Westie',
2222
symbol: 'WND',

0 commit comments

Comments
 (0)