Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Update content
Browse files Browse the repository at this point in the history
  • Loading branch information
Gunit2481 committed Jun 24, 2024
1 parent 83e24cf commit 2e16c52
Show file tree
Hide file tree
Showing 10 changed files with 93 additions and 141 deletions.
48 changes: 0 additions & 48 deletions docs/use/get-started/accounts.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,21 @@ import Figure from '/src/components/figure'

## Introduction

The Astar Wallet Snap extends MetaMask's functionality, specifically for blockchains built with Astar’s Substrate technology, powered by Polkadot. The Astar Wallet Snap enables you to quickly generate a Substrate wallet with MetaMask for signing transactions and interacting with decentralized applications (dApps) that utilize the `@polkadot/extension-dapp` package. You can seamlessly interact with all dApps in the Astar ecosystem through MetaMask, thereby expanding MetaMask's utility beyond Ethereum and EVM-compatible networks.

## How to install

Follow these steps to interact with the Astar Wallet snap [Portal](https://portal.astar.network/). The [source code](https://github.com/AstarNetwork/metamask-snap-astar/tree/master/packages/example) for the example dApp is available as part of the repository. This guide assumes that MetaMask is [installed](https://metamask.io/download/) and properly configured.
The Astar Wallet Snap extends MetaMask's functionality, specifically for blockchains built with Substrate technology. The Astar Wallet Snap enables you to quickly generate a Substrate wallet with MetaMask for signing transactions and interacting with decentralized applications (dApps) that utilize the `@polkadot/extension-dapp package`. You can seamlessly interact with all dApps in the Astar ecosystem through MetaMask, thereby expanding MetaMask's utility beyond Ethereum and EVM-compatible networks.

<div>
<video width="300" controls>
<source src={require('/docs/use/get-started/astar-substrate-wallet/wallet/metamask-snap/img/astar_snap_30s_v1.mp4').default } />
</video>
</div>
</div>

:::note
Snap-based accounts are derived from the private key associated with your MetaMask account (your seed phrase), so funds cannot be lost even in the event support for a particular Snap is discontinued.
:::
## How to install

Follow these steps to interact with the Astar Wallet snap [Portal](https://portal.astar.network/). The [source code](https://github.com/AstarNetwork/metamask-snap-astar/tree/master/packages/example) for the example dApp is available as part of the repository. This guide assumes that MetaMask is [installed](https://metamask.io/download/) and properly configured.

## Connect to the Portal

Expand Down
28 changes: 0 additions & 28 deletions docs/use/get-started/blockchain-smart-contracts.md

This file was deleted.

9 changes: 0 additions & 9 deletions docs/use/get-started/gas.md

This file was deleted.

18 changes: 15 additions & 3 deletions docs/use/get-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,23 @@ sidebar_label: Get Started
title: Get Started on Astar network
---

## Head Title
Welcome to the **Get Started** section.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Explore various wallet providers available on Astar Network Native and EVM, including Metamask, Ledger, Polkadot\{.js\}, Talisman, or Subwallet.

## Pages of interest:
Follow our easy guides to set them up according to your needs (browser, multisig. mobile. etc).

### Get Started:
- [Astar EVM - Choose your wallet](/docs/use/get-started/astar-evm-wallet/index.md):
- *Wallet*
- [Astar Substrate - Choose your wallet](/docs/use/get-started/astar-substrate-wallet/index.md):
- *Wallet*
- *Mobile wallet*
- *Multisig wallet*

Start quickly and securely on Astar Network.

### Pages of interest:

import DocCardList from '@theme/DocCardList';
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
Expand Down
17 changes: 15 additions & 2 deletions docs/use/how-to-guides/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@ title: User Guides and Tutorials
position: 2
---

# Head Title
Welcome to the **User Guides and Tutorials** section.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Yo yo yo G don't eat the yellow snow duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Here, you'll find comprehensive guides to help you effortlessly navigate and utilize both Astar Layer 1 and Astar Layer 2 functionalities.

**[Astar Layer 1](/docs/use/how-to-guides/layer-1/index.md)**: Discover how to effectively use the Astar Portal, manage ASTR and XCM transfers, and participate in dApp Staking. Our step-by-step guides will help you get started and maximize Astar's Layer 1 features.

**[Astar Layer 2](/docs/use/how-to-guides/layer-2/index.md)**: Unleash the power of Astar zkEVM. Our guides cover network setup, asset bridging, and dApp usage. Whether you're a beginner or an expert, these resources will help you seamlessly navigate Astar Layer 2.

Dive into the guides to enhance your Astar experience and fully leverage the platform's robust capabilities.

### Pages of interest:

import DocCardList from '@theme/DocCardList';
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';

<DocCardList items={useCurrentSidebarCategory().items}/>
61 changes: 35 additions & 26 deletions docs/use/how-to-guides/layer-1/astarpass-register.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,49 @@
---
sidebar_position: 15
sidebar_position: 4
sidebar_label: AstarPass
title: Register or Unregister AstarPass
---

# Register or Unregister AstarPass/ShidenPass
*AstarPass is the mapping between your Astar Native Address and your Astar EVM address. Holding the AstarPass will allow different projects in the Astar Network to offer something extra for you.*

This section will guide you on how to register AstarPass/ShidenPass
## Register AstarPass

This section will guide you on how to register AstarPass or ShidenPass.

1. Before registering, ensure you have both Native and EVM wallets.
2. The EVM wallet must contain at least 0.01 ASTR for AstarPass and 0.01 SDN for ShidenPass for gas fees.
3. For AstarPass, register [here](https://astarpass.astar.network/#/register). For ShidenPass, register [here](https://shidenpass.astar.network/#/register).
4. Connect both Native and EVM wallets as required.
5. You will be prompted to sign the transaction on the EVM wallet.
6. Once the transaction is complete, your registration status will be displayed on the screen.

1. Before registration, you need to have both Native and EVM wallets.
2. The EVM wallet must have at least 0.01 ASTR and 0.01 SDN respectively for AstarPas and ShidenPass. This is needed for the gas.
3. For AstarPass, go [HERE](https://astarpass.astar.network/#/register).
4. For ShidenPass, go [HERE](https://shidenpass.astar.network/#/register).
5. Connect both Native and EVM wallets as required.
6. You will be prompted to sign the transaction on the EVM wallet.
7. When the transaction is complete, your registration status will be displayed on the screen.
![image](https://user-images.githubusercontent.com/37278708/218656434-f8043acb-fc81-46e9-a664-5f124d675680.png)

# Unregister AstarPass
This section will guide you on how to unregister AstarPass
1. To unregister AstarPass, there will be a fee of 500 ASTR. You need to have 500 ASTR plus gas in the EVM wallet.
2. Go [HERE](https://blockscout.com/astar/address/0x8E2fa5A4D4e4f0581B69aF2f8F2Ef2CF205aE8F0/write-proxy#address-tabs).
3. On Row 11, enter `500` and click `Write`.

## Unregister AstarPass

Follow these steps to unregister AstarPass:

1. Ensure you have 500 ASTR plus gas in your EVM wallet, as there is a fee of 500 ASTR.
2. Unregister [here](https://blockscout.com/astar/address/0x8E2fa5A4D4e4f0581B69aF2f8F2Ef2CF205aE8F0/write-proxy#address-tabs).
3. As shown in the screenshot, on Row 11, enter `500` and click `Write`.

![image](https://user-images.githubusercontent.com/37278708/218657946-4e53e708-a68b-4571-ba24-4a935bb56086.png)

4. You will be prompted to sign a transaction on Metamask. Make sure you are signing with the wallet that you want to unregister.
5. If you are not connected with the correct wallet, please switch to another wallet and sign the transaction.
6. Sign the transaction and 500 ASTR will be deducted from your wallet.
4. You will be prompted to sign a transaction on Metamask. Make sure to use the wallet you wish to unregister.
5. If needed, switch to the correct wallet and sign the transaction.
6. Sign the transaction, and 500 ASTR will be deducted from your wallet.

## Unregister ShidenPass

Follow these steps to unregister ShidenPass:

# Unregister ShidenPass
This section will guide you on how to unregister ShidenPass
1. To unregister ShidenPass, there will be a fee of 1 SDN. You need to have 1 SDN plus gas in the EVM wallet.
2. Go [HERE](https://blockscout.com/shiden/address/0x25257be737210F72DA4F51aCB66903A7520e59d6/write-proxy#address-tabs).
3. On Row 12, enter `1` and click `Write`.
1. Ensure you have 1 SDN plus gas in your EVM wallet, as there is a fee of 1 SDN.
2. Unregister [here](https://blockscout.com/shiden/address/0x25257be737210F72DA4F51aCB66903A7520e59d6/write-proxy#address-tabs).
3. As shown in the screenshot, on Row 12, enter `1` and click `Write`.

![image](https://user-images.githubusercontent.com/37278708/218659211-1d90fab0-89c2-4915-8ec4-aa5885b7fefd.png)

4. You will be prompted to sign a transaction on Metamask. Make you are signing with the wallet that you want to unregister.
5. If you are not connected with the correct wallet, please switch to another wallet and sign the transaction.
6. Sign the transaction and 1 SDN will be deducted from your wallet.
4. You will be prompted to sign a transaction on Metamask. Make sure to use the wallet you wish to unregister.
5. If needed, switch to the correct wallet and sign the transaction.
6. Sign the transaction, and 1 SDN will be deducted from your wallet.
4 changes: 2 additions & 2 deletions docs/use/how-to-guides/layer-1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ sidebar_label: Astar Layer 1
title: Interact with Astar Layer 1 (Substrate)
---

## What is Astar Layer 1
### What is Astar Layer 1

Astar Network, a powerful Layer 1 blockchain built and connected to Polkadot as a parachain, enables scalable and interoperable decentralized applications (dApps) by supporting both Ethereum Virtual Machine (EVM) and WebAssembly (Wasm) smart contracts.

Our detailed How to guides will help you navigate the Astar Portal, transfer and manage tokens, and understand dApp Staking, the distinctive staking mechanism of Astar. Whether you're a developer or an investor, explore our resources to effectively utilize Astar Network on Polkadot.

## Pages of interest:
### Pages of interest:

import DocCardList from '@theme/DocCardList';
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
Expand Down
4 changes: 2 additions & 2 deletions docs/use/how-to-guides/layer-2/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ sidebar_label: Astar Layer 2
title: Interact with Astar Layer 2 (Astar zkEVM)
---

## What is Astar zkEVM
### What is Astar zkEVM

Astar zkEVM is Layer 2 scaling solution for Ethereum offering a blazing fast and more cost-effective experience compared to Ethereum itself. Coupled with support from Polygon, it's the first network to plug into the Aggregation Layer (AggLayer) and harnesses the power of zero-knowledge proofs to move transaction execution and data availability off-chain, while continuing to operate under the same security umbrella as Ethereum.

For a more detailed explanation of Astar zkEVM, refer to the comprehensive presentation in the [Learn section] (/docs/learn/zkEVM/). **LINK TO UPDATE**

## Pages of interest:
### Pages of interest:

import DocCardList from '@theme/DocCardList';
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
Expand Down
Loading

0 comments on commit 2e16c52

Please sign in to comment.