Skip to content
This repository was archived by the owner on Aug 13, 2024. It is now read-only.

Commit e4ed43b

Browse files
authored
Merge pull request #58 from MajorDomDePIN/main
Adding Videos into IoT-Device-Tutorial and switched zkevm.md from Tutorials to Design
2 parents 8030f89 + 7785844 commit e4ed43b

File tree

12 files changed

+237
-232
lines changed

12 files changed

+237
-232
lines changed

docs/Designs/Bridge.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sidebar_position: 4
2+
sidebar_position: 5
33
---
44

55
# Bridge to L1/L2
@@ -26,7 +26,6 @@ The bridge, a technological masterpiece, comprises a set of intelligent contract
2626

2727
It is worth noting that this bridge is just one of the many possibilities built on top of zkEVM, and it serves as a testament to the platform's immense potential. In fact, anyone can leverage the signal service to build bridges, which underscores the flexibility and scalability of this innovative platform. If you're curious about the bridge, you can explore its features and functionalities by [trying it out yourself](https://wannsee).
2828

29-
3029
## How to bridge ETH
3130

3231
Even though ETH is not the default gas fee in MXC zkEVM, there is still a possibility to bridge and use ETH on the platform. This is made possible by the existence of Wrapped ETH [(WETH)](https://arbiscan.io/token/0x82af49447d8a07e3bd95bd0d56f35241523fbab1) in the Arbitrum chain, which can be effortlessly ported to MXC SupernodeV2 using the bridge.

docs/Designs/DA.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
2-
sidebar_position: 9
2+
sidebar_position: 10
33
---
44

55
# Data Availability
6+
67
> With the MXC zkEVM DA module leveraging IPNS for data storage, only state roots and a necessary subset of transaction data are sent to Arbitrum (L2), while the bulk of the transaction batch data is posted to IPNS. For decentralized applications (dApps) with high gas consumption, they can operate at the same cost as a standard transaction (like a transfer) on MXC zkEVM, and the Arbitrum fee will not escalate with the complexity of L3 transaction execution. As a result, for transactions of high complexity, this approach can save up to approximately 70% of the cost compared to traditional L2 rollup fees on Arbitrum.
78
89
:::tip Ontario Upgrade

docs/Designs/Gas.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
sidebar_position: 8
2+
sidebar_position: 9
33
---
4+
45
# Gas Fee for Layer3
56

67
There are two parties a user pays when submitting a tx:
@@ -16,7 +17,7 @@ The L3 component consists of the traditional fees Geth would pay to stakers in a
1617

1718
Every zkEVM transaction has two costs: An L3 (execution) fee and an L2 (security) fee. At a high level, the L3 fee is the cost to execute your transaction in L3 and the L2 fee is the estimated cost to publish your transaction on L2 (in a rollup batch). Typically the L2 security fee is much higher than the L3 execution fee, so if you can wait it makes sense to postpone transactions until gas prices are lower (for example, over the weekend).
1819

19-
L3 execution fee is charged as tx.gasPrice * l3GasUsed (up to tx.gasLimit). You can check the current L3 gas price in explorer. The transaction gas price is composed of two components: a base fee and a priority fee, because we are EIP 1559 compliant (although with different parameter values).
20+
L3 execution fee is charged as tx.gasPrice \* l3GasUsed (up to tx.gasLimit). You can check the current L3 gas price in explorer. The transaction gas price is composed of two components: a base fee and a priority fee, because we are EIP 1559 compliant (although with different parameter values).
2021

2122
L2 security fee that pays for the cost of publishing the transaction on L2 (the cost of Ethereum equivalent security). It is deducted automatically from the supernode's ETH balance on Arbitrum One. It is based on three factors that are multiplied together:
2223

docs/Designs/Hexagons.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,44 @@
11
---
2-
sidebar_position: 10
2+
sidebar_position: 11
33
---
44

55
## Hexagon-Based Geographical Partitioning
66

77
![hex](https://raw.githubusercontent.com/MXCzkEVM/SupernodeV2-devdocs/main/docs/Tutorials/img/name-hexagon/step2/getHexagonAddress.png)
88

9-
109
### Concept Overview:
10+
1111
- **World Segmentation**: Divides the world into approximately 98 million hexagonal cells.
1212
- **Hexagon Dimensions**: Each hexagon covers an area of roughly 5 km², with a diameter of about 2 km.
1313
- **Origin Point**: The hexagonal grid originates in Berlin, Germany, serving as the anchor point for this global grid system.
1414

1515
### Technical Details:
16+
1617
- **H3 Geospatial Indexing**: Utilizes the H3 Geospatial Indexing Framework, as detailed on [H3Geo's documentation](https://h3geo.org/docs/core-library/restable/).
1718
- **Resolution Choice**: MXC has selected 'Resolution 7' for this grid, balancing granularity and computational efficiency.
1819
- **Balance of Detail and Efficiency**: The resolution choice balances the detail of geospatial data and the processing efficiency.
1920

2021
## Privacy Considerations
2122

2223
### Key Feature:
24+
2325
- **Privacy through Hexagons**: Enhanced privacy through hexagon-based geolocation.
2426
- **Hexagon ID Sharing**: Users share only their hexagon ID, not precise coordinates.
2527

2628
### Privacy Mechanism:
29+
2730
- **Location Ambiguity**: By sharing just a hexagon ID, an individual's exact location remains ambiguous within a 5 km² area.
2831
- **Reduced Tracking Risk**: This system significantly reduces the risk of location tracking and personal data exposure.
2932

3033
## Web3 Integration
3134

3235
### Core Concept:
36+
3337
- **Web3 Native Design**: The system is inherently Web3-oriented, integrating seamlessly with decentralized technologies.
3438
- **Unique Hexagon Identification**: Hexagons can be uniquely identified and interacted with using MXC domain names (e.g., berlin.mxc).
3539

3640
### Applications:
41+
3742
- **Infrastructure for DApps**: Provides a robust infrastructure for DApps (Decentralized Applications) focusing on geolocation-based services.
3843
- **Innovative Applications**: Enables innovative applications such as secure tracking systems and decentralized Point of Interest (DePIN) inscriptions.
3944

@@ -42,7 +47,7 @@ sidebar_position: 10
4247
ES6 usage:
4348

4449
```js
45-
import {latLngToCell} from "h3-js";
50+
import { latLngToCell } from "h3-js";
4651
```
4752

4853
CommonJS usage:
@@ -73,7 +78,6 @@ const hexBoundary = h3.cellToBoundary(h3Index);
7378
// -> [ [37.341099093235684, -122.04156135164334 ], ...]
7479
```
7580

76-
7781
## Name a hexagon
7882

7983
The hexagons can be indexed and named using MNS : https://doc.mxc.com/docs/Tutorials/name-hexagon#5-navigate-back-to-wannsee-mns-and-set-hexagon-to-your-domain-name

docs/Designs/LPWAN.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sidebar_position: 3
2+
sidebar_position: 4
33
---
44

55
# IoT LPWAN Protocol
@@ -18,12 +18,11 @@ A more detailed illustration is as follows:
1818

1919
MEP stands for MXC Evolution Proposal. Each MEP will be a proposal document providing information to the MXC zkEVM ecosystem and community.
2020

21-
2221
Here is the list of subjects of MEPs:
2322

24-
| MEP Number | Title | Type | Status |
25-
| --------------------------------- | -------------------------------------------------------- | --------- | ------ |
26-
| [MEP-1](https://github.com/MXCzkEVM/MEPs/tree/main/proposals/mep-1.md) | Purpose and Guidelines | Process | Living |
23+
| MEP Number | Title | Type | Status |
24+
| ---------------------------------------------------------------------------- | -------------------------------------------------------- | --------- | ------ |
25+
| [MEP-1](https://github.com/MXCzkEVM/MEPs/tree/main/proposals/mep-1.md) | Purpose and Guidelines | Process | Living |
2726
| [MEP-20](https://github.com/MXCzkEVM/MEPs/tree/main/proposals/mep-20.md) | Tokens Standrds on MXC zkEVM Chain | Standards | Living |
2827
| [MEP-721](https://github.com/MXCzkEVM/MEPs/tree/main/proposals/mep-721.md) | Non-Fungible Token Standard on MXC zkEVM Chain | Standards | Draft |
2928
| [MEP-801](https://github.com/MXCzkEVM/MEPs/tree/main/proposals/mep-801.md) | ISO Application Contract | Standards | Draft |
@@ -32,8 +31,6 @@ Here is the list of subjects of MEPs:
3231
| [MEP-804](https://github.com/MXCzkEVM/MEPs/tree/main/proposals/mep-804.md) | ISO Reward Token Contract | Standards | Draft |
3332
| [MEP-1002](https://github.com/MXCzkEVM/MEPs/tree/main/proposals/mep-1002.md) | Nestable Non-Fungible Tokens Tied to IoT Geolocations | Standards | Living |
3433
| [MEP-1004](https://github.com/MXCzkEVM/MEPs/tree/main/proposals/mep-1004.md) | Non-Fungible Tokens Tied to IoT Radio Base Station Miner | Standards | Living |
35-
| [MEP-1759](https://github.com/MXCzkEVM/MEPs/tree/main/proposals/mep-1759.md) | MXC DApp Store Metadata Standard | Standards | Living|
34+
| [MEP-1759](https://github.com/MXCzkEVM/MEPs/tree/main/proposals/mep-1759.md) | MXC DApp Store Metadata Standard | Standards | Living |
3635
| [MEP-600](https://github.com/MXCzkEVM/MEPs/tree/main/proposals/mep-600.md) | NFT NFC Contract | Standards | Draft |
37-
| [MEP-2542](https://github.com/MXCzkEVM/MEPs/tree/main/proposals/mep-2542.md) | Multi-Token Mining for MEP-1004 Radio Miners | Standards | Living |
38-
39-
36+
| [MEP-2542](https://github.com/MXCzkEVM/MEPs/tree/main/proposals/mep-2542.md) | Multi-Token Mining for MEP-1004 Radio Miners | Standards | Living |

0 commit comments

Comments
 (0)