Skip to content

Add Talisman wallet #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions docs/tutorial/1-connect-to-asset-hub.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ import {WalletConnectButton} from '@site/src/components/WalletConnect'

# Connect to Asset Hub

- Install an Ethereum wallet of your choice, such as the [MetaMask] browser extension.
- Create a new account (if you don’t already have one), and click on the button below to connect to a network.
- Install an Ethereum wallet of your choice, such as [Talisman] or [MetaMask] browser extension.
- Create a new Ethereum account (if you don’t already have one).

# Connect to Asset Hub Westend Testnet
:::note

MetaMask enforces Ethereum contract size limits. If you want to deploy larger contracts, choose Talisman instead. Calling contracts is unaffected by this size limit.

:::

# Connect to Asset Hub Westend Testnet (Applicable to MetaMask only)

Connect your MetaMask wallet to Asset Hub using the following link:

Expand All @@ -33,7 +39,8 @@ For MetaMask see this guide for [manually adding a custom network][add-network]

You will need some test tokens to interact with the testnet.
You can request Westend tokens from the [Westend Faucet](https://faucet.polkadot.io/westend?parachain=1000).
Simply enter your MetaMask address and click **Send** to request Westend tokens.
Simply enter your Ethereum address and click **Send** to request Westend tokens.

[add-network]: https://support.metamask.io/networks-and-sidechains/managing-networks/how-to-add-a-custom-network-rpc/#adding-a-network-manually
[MetaMask]: https://support.metamask.io/getting-started/getting-started-with-metamask/#how-to-install-metamask
[Talisman]: https://talisman.xyz/download
24 changes: 17 additions & 7 deletions docs/tutorial/2-deploy-your-first-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,25 @@ This guide will walk you through deploying and interacting with contracts in REM

2. Deploy to Westend.

Select **Injected Provider - MetaMask** environment in the **Deploy & Run** tab.
When prompted, allow REMIX to connect to MetaMask. Your account address and balance will be displayed under the **ACCOUNT** section.
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.
1. Using Talisman wallet

![Deploy contract](img/dapp_deploy.png)
Select the **Injected Provider - Talisman** environment in the **Deploy & Run** tab. When prompted, allow Remix to connect to Talisman.
Switch to the **Westend Asset Hub** network in Talisman. Make sure **Enable Testnets** is checked in Talisman to see the network.
Your account address and balance will appear under the **ACCOUNT** section. Remix will automatically use the network selected in Talisman.

Click **Deploy** and **Confirm** the transaction in MetaMask.
![Deploy contract](img/dapp_deploy_with_talisman.png)

![Confirm transaction](img/dapp_metamask_deploy.png)
Click **Deploy** and **Confirm** the transaction in Talisman.

2. Using MetaMask wallet

Select **Injected Provider - MetaMask** environment in the **Deploy & Run** tab.
When prompted, allow REMIX to connect to MetaMask. Your account address and balance will be displayed under the **ACCOUNT** section.
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.

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

Click **Deploy** and **Confirm** the transaction in MetaMask.

Wait for the deployment to complete, as indicated in the terminal panel.

Expand All @@ -40,7 +50,7 @@ This guide will walk you through deploying and interacting with contracts in REM

![Pin contract](img/pin.png)

You can interact with your contract by calling its methods from this section, with all transactions routed through MetaMask.
You can interact with your contract by calling its methods from this section, with all transactions routed through your wallet.

![Call contract](img/dapp_call.png)

Expand Down
Binary file added docs/tutorial/img/dapp_deploy_with_talisman.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/tutorial/img/dapp_metamask_deploy.png
Binary file not shown.