Skip to content

Commit

Permalink
minor zkEVM section updates (#484)
Browse files Browse the repository at this point in the history
* move Acurast & fix broken URL

* misc updates

* update zkEVM oracles section

* update zkEVM wallets section
  • Loading branch information
meganskye committed Oct 23, 2023
1 parent cee0cfb commit 4ccf809
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 19 deletions.
2 changes: 1 addition & 1 deletion docs/build/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Astar network's innovative Build2Earn program allows developers to earn a basic
See the [Wasm chapter](/docs/build/wasm) for more information.

## EVM smart contracts
Solidity developers will feel right at home building on Astar in both the Polkadot and Ethereum ecosystems. See the [EVM](/docs/build/evm) or [zkEVM](/docs/build/zkEVM) sections for more information.
Solidity developers feel right at home building on Astar in both the Polkadot and Ethereum ecosystems. See the [EVM](/docs/build/evm) or [zkEVM](/docs/build/zkEVM) sections for more information.

## Secured by Polkadot and Ethereum
Polkadot and Ethereum networks provide some of the best security guarantees in the web3 industry.
Expand Down
4 changes: 3 additions & 1 deletion docs/build/zkEVM/fee.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ sidebar_label: Fee Calculation
## How do network fees on Astar zkEVM work?
In Astar zkEVM the gas fee is calculated by applying a fixed factor over L1 gas fee. That price factor is a fixed value and doesn't change often and it's value is based the rollup's cost to publish tx to L1. To Simply put, gas prices in L2 will linearly follow gas prices in L1.

$$ L2_{gas\_fee} = L1_{gas\_fee} * Factor $$
$$
L2_{gas\_fee} = L1_{gas\_fee} * Factor
$$

The L1 fee will vary depending on the amount of transactions on the L1. If the timing of your transaction is flexible, you can save costs by submitting transactions during periods of lower gas on the L1 (for example, over the weekend)

Expand Down
2 changes: 0 additions & 2 deletions docs/build/zkEVM/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import introduction from "/docs/build/img/buildZkEvm.png"
<img src={introduction} style={{width: 1200}} />
</div>

To make use of this documentation effectively, you should possess a general understanding of programming basics. The programming languages used throughout are mainly Solidity and JavaScript, for which previous knowledge is not necessary, but would be highly beneficial.

## What is Astar zkEVM?

Astar zkEVM is an Ethereum Layer-2 scaling solution leveraging Polygon's Chain Development Kit and cutting edge zero-knowledge cryptography to enable off-chain transaction execution, with finality and security guarantees provided by Ethereum. In coordination with our key partners, Astar zkEVM is well-positioned to take advantage of the extensive developer base and well-established toolset existing in the Ethereum ecosystem, and boasts the following key features:
Expand Down
8 changes: 2 additions & 6 deletions docs/build/zkEVM/integrations/bridges-relays/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# Asset Bridges
:::info
Coming soon...
:::
## Overview
Here you will find all the information required to bridge assets to the Astar zkEVM, and set up simple cross-chain contracts using our supported partner solutions.

Coming soon...
## Overview
Here you will find all the information required to bridge assets to the Astar zkEVM, and set up simple cross-chain contracts using our supported partner solutions.
12 changes: 8 additions & 4 deletions docs/build/zkEVM/integrations/oracles/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Oracles
:::info
Coming soon...
:::

## Overview

Here you will find all the information required to bridge assets to the Astar zkEVM, and set up simple cross-chain contracts using our supported partner solutions.
Blockchain oracles are third-party services or agents that provide smart contracts with external information. They serve as bridges between blockchains and the external world. Because blockchains cannot access external data (outside of their network) due to their secure and deterministic nature, oracles are used to fetch, verify, and relay real-world data to smart contracts in a way that's trustworthy.

```mdx-code-block
import DocCardList from '@theme/DocCardList';
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
<DocCardList items={useCurrentSidebarCategory().items}/>
```
5 changes: 1 addition & 4 deletions docs/build/zkEVM/integrations/wallets/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Wallets
:::info
Coming soon...
:::

## Overview

Majority of EVM wallets will be compatible with the Astar zkEVM.
The majority of EVM wallets are compatible with Astar zkEVM.
2 changes: 1 addition & 1 deletion docs/build/zkEVM/zk-node/setup-local-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar_label: Setup Local zkNode
---

:::warning
Due to an open [issue](https://github.com/ethereum/go-ethereum/issues/27274) you might have problem running local node.
Due to an open [issue](https://github.com/ethereum/go-ethereum/issues/27274) you may encounter problems running a local node.
:::

It's crucial that developers can thoroughly test the network for a developing blockchain technology like **Astar zkEVM** without putting users or themselves at unnecessary risk. Developers should be able to test their smart contracts, experiment with new code, and play around with the network on their local machines.
Expand Down

0 comments on commit 4ccf809

Please sign in to comment.