Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:Mep 2542 #20

Merged
merged 10 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If your MEP requires images, the image files should be included in a subdirector
| MEP Number | Title | Type | Status |
| --------------------------------- | -------------------------------------------------------- | --------- | ------ |
| [MEP-1](proposals/mep-1.md) | Purpose and Guidelines | Process | Living |
| [MEP-20](proposals/mep-20.md) | Tokens Standrds on MXC zkEVM Chain | Standards | Draft |
| [MEP-20](proposals/mep-20.md) | Tokens Standrds on MXC zkEVM Chain | Standards | Living |
| [MEP-721](proposals/mep-721.md) | Non-Fungible Token Standard on MXC zkEVM Chain | Standards | Draft |
| [MEP-801](proposals/mep-801.md) | ISO Application Contract | Standards | Draft |
| [MEP-802](proposals/mep-802.md) | ISO Provisioning Contract | Standards | Draft |
Expand All @@ -32,3 +32,4 @@ If your MEP requires images, the image files should be included in a subdirector
| [MEP-1004](proposals/mep-1004.md) | Non-Fungible Tokens Tied to IoT Radio Base Station Miner | Standards | Draft |
| [MEP-1759](proposals/mep-1759.md) | MXC DApp Store Metadata Standard | Standards | Draft |
| [MEP-600](proposals/mep-600.md) | NFT NFC Contract | Standards | Draft |
| [MEP-2542](proposals/mep-2542.md) | Multi-Token Mining for MEP-1004 Radio Miners | Standards | Living |
58 changes: 58 additions & 0 deletions proposals/mep-2542.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# MEP-2542: Multi-Token Mining for MEP-1004 Radio Miners

## Abstract

This proposal introduces a mechanism for MEP-1004 radio miners to engage in multi-token mining using the structure of MEP-1002 hexagons. It lays out the rules, conditions, and operational parameters influencing mining capabilities and reward structures.

## Motivation

With the limited capacity of each MEP-1002 hexagon, an efficient regulation and allocation of mining resources is essential. The introduction of $Sensor tokens, changes in fueling mechanisms, and the new role of ISO tokens necessitates the establishment of a revised protocol for mining operations.

## Specification

1. **Hexagon Operational Time**: Each MEP-1004 will have a limited operational time within a MEP-1002 hexagon. Once an interaction via MEP-2542 is initiated using MEP-1004, a count of 320,000 blocks is set. Upon reaching this limit, the MEP-1004 will be noted for Low-Scale-Certification ready and reduce the mining ability by half if LSC is not formed.

2. **Reward Claiming**: During the period of 320,000 blocks, radio miner manufacturers should implement a reward-claiming function, enabling MEP-1004 miners to claim $Sensor tokens.

3. **Token Choices**: All MEP-1004 miners can now mine up to three tokens, with xMXC serving as the sole fuel tank for their operations. The main mineable token for these miners will be $Sensor.

4. **Fueling Mechanism**: The $Sensor token acts as an initial fuel tank for new miners. However, for refueling purposes, miners are required to purchase $xMXC. The conversion rate between $Sensor and $xMXC for boosting purposes is set at 1:1. It's noteworthy that while $Sensor is the primary fuel for new miners, any subsequent refueling will mandate the acquisition of $xMXC.

5. **$Sensor Token Role in Boosting**: $Sensor tokens not only act as a fuel, but also play a crucial role in boosting the fuel tank.

6. **ISO activities** To mine new ISO tokens, Proof-of-Participation from these tokens' sign-off is required, further emphasizing the importance of $Sensor tokens in the mining ecosystem.

7. **ISO Token Role**: To engage in ISO token mining, $Sensor token is essential for boosting the fuel tank. The mechanics and rate of this boost should be further defined based on the dynamics of the ISO token. Also every ISO token will donate 3% of their transaction fees to the LPWAN mining pool as the network fee for miners to validate.

## Rationale

- **Multi-Token Mining**: With the capability to mine up to three tokens, miners have increased flexibility in their operations, potentially maximizing their rewards based on prevailing market conditions and token values.

- **$Sensor Role**: Introducing $Sensor as the primary mineable token and an initial fueling mechanism promotes its adoption and utility. The two-tiered refueling process, involving both $Sensor and $xMXC, balances the token dynamics and ensures sustained mining operations.

- **Proof-of-Participation**: The requirement of Proof-of-Participation for ISO token mining ensures that miners actively participate in the ecosystem, leading to a more decentralized and robust network. A 3% fee of the PoP for ISO tokens will be donated to LPWAN mining pool for all miners to validate.

- **ISO Token Utility**: The introduction of ISO tokens for boosting the fuel tank when mining this token adds an additional layer of utility and demand for the ISO token.

- **320,000 Block Cycle**: Starting from a cycle of 320,000 blocks provides a balanced approach to resource competition, ensuring that no miner monopolizes a hexagon, thereby promoting fairness in resource allocation.



## Backward Compatibility

While the proposal introduces significant changes to the fueling and reward mechanism, it does not inherently disrupt existing standards. Manufacturers and miners, however, must adjust and adhere to the new regulations and integrate the requisite functions for claiming rewards.

## Implementation

Further technical details, including potential code snippets or detailed flow mechanisms, should be outlined here to guide developers and manufacturers.


## References

Low-Scale-Certification : https://doc.mxc.com/docs/Designs/Low-Scale-Certification

MEP-1002 : https://github.com/MXCzkEVM/MEPs/blob/MEP-2542/proposals/mep-1002.md

MEP-1004 : https://github.com/MXCzkEVM/MEPs/blob/MEP-2542/proposals/mep-1004.md

LPWAN Treasury Contract: https://doc.mxc.com/docs/Designs/LPWAN
Loading