Skip to content

Commit db1cd60

Browse files
committed
zkEVM product page
1 parent 548cf74 commit db1cd60

File tree

4 files changed

+47
-18
lines changed

4 files changed

+47
-18
lines changed

docs/_site_essentials/stylesheets/extra.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@
2323
}
2424

2525
img.figure {
26-
border: 5px solid #ae6fdb !important;
27-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
2826
margin: 0 auto;
29-
max-width: 80%;
3027
display: block;
3128
}
3229

@@ -35,10 +32,10 @@ div.flex-figure {
3532
}
3633

3734
div.flex-figure div.flex-figure-left {
38-
flex-grow: 2;
35+
flex-grow: 1;
36+
flex-shrink: 5;
3937
}
4038

4139
div.flex-figure div.flex-figure-right {
42-
flex-grow: 1;
43-
flex-shrink: 1.5;
40+
flex-grow: 2;
4441
}

docs/pos/architecture/index.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,3 @@ This section provides architectural details of Polygon PoS.
99
In particular, and on the execution client side, it delineates on snapshots and state syncing, network configurations, and frequently used commands when running PoS nodes.
1010

1111
On the consesus client side, one finds descriptions on how Heimdall handles; authentication of account addresses, management of validators' keys, management of gas limits, enhancement of transaction verifications, balance transfers, staking and general chain management.
12-
13-
<!--
14-
<div class="flex-figure" markdown="1">
15-
<div class="flex-figure-left" markdown="1"> -->
16-
17-
18-
</div>
19-
<div class="flex-figure-right">
20-
<img src="../../img/pos/matic_structure.png" class="figure figure-right" alt="Matic Structure Diagram" />
21-
</div>
22-
</div>

docs/zkEVM/index.md

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,44 @@
1-
<code>In production</code>
1+
<div class="flex-figure" markdown="1">
2+
<div class="flex-figure-left" markdown="1">
3+
# Polygon zkEVM
4+
Polygon zkEVM is a Layer 2 network of the Ethereum Virtual Machine (EVM), a zero-knowledge (ZK) rollup scaling solution. Polygon zkEVM uses a cryptographic primitive called a ZK proof to validate state transitions.
5+
</div>
6+
<div class="flex-figure-right">
7+
<img src="../img/home/zkevm.svg" class="figure figure-right" alt="" />
8+
</div>
9+
</div>
10+
11+
Polygon zkEVM is compatible with the EVM, supporting the majority of Ethereum EIPs, pre-compiles, and opcodes. Developers benefit from the seamless deployment of smart contracts, developer tools, and wallets that already work on Ethereum, but in an environment with significantly lower costs.
12+
13+
## Protocol development highlights
14+
15+
The Goërli testnet for Polygon zkEVM launched with a complete ZK proving system and full transaction data availability in October 2022. The proving system for Polygon zkEVM uses a combination of eSTARK proofs and FRI that are then compressed using FFLONK SNARKs to create the final ZK proof.
16+
17+
Following the launch of the testnet, the code base for Polygon zkEVM underwent several security audits. These were among the first audits ever performed on a complete, in-production ZK proving system.
18+
19+
After the audits, Polygon zkEVM Mainnet Beta [launched in March 2023](https://www.youtube.com/watch?v=UvQIX5i09A4&ab_channel=ETHGlobal). Since then, the zkEVM network has had two major upgrades: [Dragon Fruit (ForkID5)](https://polygon.technology/blog/polygon-zkevm-dragon-fruit-upgrade-with-new-opcode-coming-to-mainnet-beta), in September 2023, and [Inca Berry (ForkID6)](https://polygon.technology/blog/polygon-zkevm-inca-berry-upgrade-coming-to-mainnet-beta), in November 2023.
20+
21+
## Security measures
22+
23+
The security measures taken by the zkEVM team for an upgrade are on par with Ethereum's security standards as they involve the deployment of:
24+
25+
- An Admin Multisig Contract to avoid having one account controlling upgrades,
26+
- A Timelock Contract to give users sufficient time delay to withdraw before execution, and
27+
- A Transparent Upgradeable Proxy, from OpenZeppelin's libraries of audited and battle-tested contracts.
28+
29+
The activation of the 10-day timelock for upgrading zkEVM's smart contracts on Ethereum requires approval by the network's [Admin](https://etherscan.io/address/0x242daE44F5d8fb54B198D03a94dA45B5a4413e21), a three-participant multisig that acts as a [governance tool](https://wiki.polygon.technology/docs/zkevm/protocol/admin-role/#:~:text=Governance%20of%20zKEVM%20Contracts%E2%80%8B&text=sol%20contract%20instance%20is%20assigned,of%20Polygon%20zkEVM%20L1%20contracts.) for the protocol. This is a Gnosis Safe with a 2/3 threshold.
30+
31+
In the event of an emergency that puts user funds at risk, the network's [Security Council](https://etherscan.io/address/0x37c58Dfa7BF0A165C5AAEdDf3e2EdB475ac6Dcb6) may remove the 10-day timelock. In such an emergency, the network state stops advancing and bridge functionality is paused. The Security Council is an eight-participant multisig. This is a Gnosis Safe with a 6/8 threshold. Learn more about [zkEVM upgradability](https://docs-staging.polygon.technology/zkEVM/architecture/protocol/upgradability/).
32+
33+
## Resources to get you started
34+
35+
- **How to**: Learn how to write, verify, and deploy a smart contract.
36+
- **Deploy**: Learn how to deploy a full implementation of Polygon zkEVM with Goërli as the underlying L1.
37+
- **Architecture**: Understand Polygon zkEVM's major components, how it handles state transitions and the consensus contract, and the lifecycle of a transaction.
38+
- **Concepts**: Learn about EVM basics, CIRCOM, and Polygon zkEVM's state machine design model.
39+
40+
## What you'll find here
41+
42+
This documentation contains guides for connecting wallets to the Polygon zkEVM network, deploying new or existing Ethereum smart contracts, and bridging assets between Polygon zkEVM and Ethereum.
43+
44+
Protocol developers will find guides for setting up an RPC Node, spinning up local and production nodes, and deploying a complete implementation of the Polygon zkEVM mainnet beta or testnet networks.

0 commit comments

Comments
 (0)