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: docs/build/zkEVM/bridge-to-zkevm.md
+7-4
Original file line number
Diff line number
Diff line change
@@ -15,15 +15,18 @@ import walletselect from '/docs/build/zkEVM/img/wallet-select.jpg'
15
15
16
16
## Overview
17
17
18
-
Here you will find information about how to bridge assets to the Astar zkEVM. Presently, there are two options for bridging assets to the zkEVM:
18
+
Here you will find information about how to bridge assets to the Astar zkEVM, both to **zKatana testnet** and to **Astar zkEVM mainnet**. Presently, there are two options for bridging assets to the zkEVM:
19
19
20
20
1. Ethereum L1 to Astar zkEVM -> Bridged ETH is the native token required for testing and deployment of dApps on the Astar zkEVM, so before using the network, developers need to bridge some ETH from Layer 1 to Layer 2. Accessible through the Astar Portal, which can take approximately 10-30 minutes, depending on network usage.
21
21
2._Astar Parachain to Astar zkEVM (currently under development) -> A 3rd-party asset bridge or message network facilitating locking and minting of synthetic (wrapped) assets between Astar Substrate EVM and Astar zkEVM. See the [integrations section](/docs/build/zkEVM/integrations/bridges-relays/) for more information about how to use 3rd-party bridge services and compatible assets._
22
22
23
23
### Transfer ETH using the Astar Portal
24
24
25
-
Visit the [Astar Portal](https://portal.astar.network) and connect MetaMask.
25
+
Visit the [Astar Portal](https://portal.astar.network) and connect your wallet.
26
26
27
+
:::note
28
+
This example is using MetaMask wallet and examples are with for the testnet but same applies for the mainnet.
29
+
:::
27
30
28
31
<divstyle={{textAlign:'center'}}>
29
32
<img src={walletselect} style={{width: 400}} />
@@ -38,15 +41,15 @@ Use the network selector and switch to zKatana network, or allow MetaMask to swi
38
41
</div>
39
42
40
43
41
-
Click on the Bridge tab on the left-hand side. Ensure Sepolia is selected as Bridge source, and zKatana is selected as destination. After you have entered the amount of ETH to transfer, press the Confirm button.
44
+
Click on the Bridge tab on the left-hand side. Ensure Sepolia is selected as Bridge source, and zKatana is selected as destination. After you have entered the amount of ETH to transfer, press the Confirm button.
42
45
43
46
44
47
<divstyle={{textAlign:'center'}}>
45
48
<img src={bridge2} style={{width: 1000}} />
46
49
</div>
47
50
48
51
49
-
Sign the MetaMask transaction.
52
+
Sign the MetaMask transaction.
50
53
51
54
:::note
52
55
Once the transaction shows as confirmed on the MetaMask Activity tab, it will take approximately 5-10 minutes for the Astar Portal and MetaMask to update your balance on the zKatana network side.
Send a GET request to the [Blockscout Price Oracle endpoint](https://astar-zkevm.explorer.startale.com/api/v1/gas-price-oracle) to get a gas price recommendation from this oracle.
Send a GET request to the [Blockscout Price Oracle endpoint](https://zkatana.blockscout.com/api/v1/gas-price-oracle) to get a gas price recommendation from this oracle.
Copy file name to clipboardexpand all lines: docs/build/zkEVM/quickstart.md
+10-11
Original file line number
Diff line number
Diff line change
@@ -20,40 +20,39 @@ Solidity developers are right at home on Astar zkEVM. Simply switch to the zkEVM
20
20
No special tools or wallets are required to build or interact with Astar zkEVM.
21
21
:::
22
22
23
-
Developers can deploy existing contracts from other EVM chains to the zkEVM, and users are able to deposit assets from Ethereum to transact on the zkEVM in batches, which are ultimately finalized through novel use of zero-knowledge proofs. Native account abstraction means developers can craft user interfaces that are more intuitive and web2-like, that eliminate complexity and drastically simplify the onboarding process.
23
+
Developers can deploy existing contracts from other EVM chains to the zkEVM, and users are able to deposit assets from Ethereum to transact on the zkEVM in batches, which are ultimately finalized through novel use of zero-knowledge proofs. Native account abstraction means developers can craft user interfaces that are more intuitive and web2-like, that eliminate complexity and drastically simplify the onboarding process.
24
24
25
25
## Connecting to zkEVM
26
26
27
27
:::info Reminder
28
-
**Astar zKatana testnet and its related documentation are under active development.**
28
+
**Astar zKatana testnet and its related documentation are under active development.**
29
29
30
30
All feedback is welcome and highly appreciated, so please report errors or inconsistencies to a team member or as an issue on the [Astar Docs Github repo](https://github.com/AstarNetwork/astar-docs/issues), thank you.
31
31
:::
32
32
33
33
To add the **Astar zkEVM** network to your wallet manually, enter the following details :
To add the network to MetaMask, use the data above or the link at the bottom of the respective block explorer page.
53
52
54
53
## Bridging Assets
55
54
56
-
The next step is to [bridge assets](/docs/build/zkEVM/bridge-to-zkevm.md) from Ethereum → Astar zkEVM.
55
+
The next step is to [bridge assets](/docs/build/zkEVM/bridge-to-zkevm.md) from Ethereum → Astar zkEVM.
57
56
58
57
:::important
59
58
Astar's canonical [zkEVM Bridge](https://portal.astar.network) does not inherit any counterparty risk compared to 3rd party bridge services, and is trustless at the protocol level.
@@ -65,7 +64,7 @@ The development experience on zkEVM is seamless and identical to the Ethereum Vi
65
64
66
65
## Astar zkEVM Support for Developers
67
66
68
-
Developers requiring support can open an issue on [Ethereum StackExchange](https://ethereum.stackexchange.com/) and tag it with `Astar` (preferred) or join the [Astar Discord server](https://discord.gg/astarnetwork).
67
+
Developers requiring support can open an issue on [Ethereum StackExchange](https://ethereum.stackexchange.com/) and tag it with `Astar` (preferred) or join the [Astar Discord server](https://discord.gg/astarnetwork).
Copy file name to clipboardexpand all lines: docs/build/zkEVM/smart-contracts/verify-smart-contract.md
+10-10
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ import Tabs from '@theme/Tabs';
7
7
import TabItem from '@theme/TabItem';
8
8
import Figure from '/src/components/figure'
9
9
10
-
Once a smart contract is deployed to zKatana testnet, it can be verified in various ways depending on the framework of deployment as well as the complexity of the contract. The aim here is to use examples to illustrate how you can manually verify a deployed smart contract.
10
+
Once a smart contract is deployed to zKatana testnet, it can be verified in various ways depending on the framework of deployment as well as the complexity of the contract. The aim here is to use examples to illustrate how you can manually verify a deployed smart contract.
11
11
12
12
Ensure that your wallet is connected while following this guide. We will use Metamask wallet throughout this tutorial.
13
13
For detailed explanation on how to verify smart contracts, please refer to the [Blockscout documentation](https://docs.blockscout.com/for-developers/verify-contracts).
@@ -16,9 +16,9 @@ For detailed explanation on how to verify smart contracts, please refer to the [
16
16
17
17
After successfully compiling a smart contract, follow the next steps to verify your smart contract.
18
18
19
-
1. Copy the **Address** to which the smart contract is deployed.
19
+
1. Copy the **Address** to which the smart contract is deployed.
20
20
21
-
2. Navigate to the [zKatana Explorer](https://zkatana.blockscout.com) and paste the contract address into the Search box. This opens a window with a box labelled **Contract Details**.
21
+
2. Navigate to the [block Explorer](docs/build/zkEVM/quickstart.md) and paste the contract address into the Search box. This opens a window with a box labelled **Contract Details**.
22
22
23
23
3. Scroll down to the box with tabs labelled - **Transactions**, **Token transfers****Internal txns**, **Coin Balance History**, and **Contract**.
24
24
@@ -30,10 +30,10 @@ After successfully compiling a smart contract, follow the next steps to verify y
30
30
31
31
### Solidity, Flattened Source Code
32
32
33
-
1. Click **Next** after selecting the **via Flattened Source Code** option.
34
-
2. In order to update the **Compiler** based on your contract's compiler version,
33
+
1. Click **Next** after selecting the **via Flattened Source Code** option.
34
+
2. In order to update the **Compiler** based on your contract's compiler version,
35
35
36
-
- Click the ↓ for a list of compiler versions.
36
+
- Click the ↓ for a list of compiler versions.
37
37
38
38
- Select the corresponding version. For example, select `v0.8.9+commit.e5eed63a` if your code has `pragma solidity ^0.8.9;`.
39
39
3. Select the Optimization option based on your contract's optimization settings.
@@ -47,7 +47,7 @@ In order to flatten the contract code with Hardhat, one needs to only run the fo
47
47
npx hardhat flatten
48
48
```
49
49
The result will be printed to stdout. You can create a file with the flattened sources using the `>` redirection operator:
50
-
50
+
51
51
```bash
52
52
npx hardhat flatten > flattened.sol
53
53
```
@@ -63,7 +63,7 @@ After selecting **Flatten**, a new `.sol` file with the suffix `_flatten.sol` is
63
63
</TabItem>
64
64
65
65
<TabItemvalue="foundry"label="Foundry">
66
-
In order to flatten the code using Foundry, the following command can be used:
66
+
In order to flatten the code using Foundry, the following command can be used:
0 commit comments