Connect to Asset Hub¶
Networks¶
Developers can leverage Asset Hub across diverse networks, from TestNets to MainNet. This section outlines the network specifications and connection details for each environment.
Specifications¶
Endpoints¶
Connect your Wallet¶
Metamask¶
MetaMask is a popular wallet for interacting with EVM-compatible chains. It allows users to connect to test networks that support Ethereum-based smart contracts. However, it's important to emphasize that MetaMask primarily facilitates interactions with smart contracts, giving users access to various chain functionalities.
To get started with MetaMask, you need to install the MetaMask extension and add it to the browser. Once you install MetaMask, you can set up a new wallet and securely store your seed phrase. This phrase is crucial for recovery in case you lose access.
For example, to connect to the Westend Asset Hub TestNet via MetaMask, you need to follow these steps:
-
Open the MetaMask extension and click on the network icon to switch to the Asset Hub Westend TestNet
-
Click on the Add a custom network button
-
Complete the necessary fields using the parameters in the Specifications section, then click the Save button (refer to the Networks section for copy and paste parameters)
-
Click on Asset-Hub Westend TestNet to switch the network
The steps in the preceding section can be used to connect to any Asset Hub chain by modifying the network specification and endpoint parameters.
Test Tokens¶
You will need testnet tokens to perform transactions and engage with smart contracts on any Asset Hub chain. Here's how to obtain Westend Asset Hub (WND) tokens for testing purposes:
-
Navigate to the Polkadot Faucet. If the desired network is not already selected, choose it from the Network drop-down
-
Copy your MetaMask address linked to Westend Asset Hub and paste it into the designated field
-
Click the Get Some WND button to request free test WND tokens. These tokens will be sent to your MetaMask wallet shortly
| Created: March 6, 2025