Skip to content

Commit 45ddb07

Browse files
authored
feat: chain abstract (#2)
1 parent 212a4c0 commit 45ddb07

14 files changed

+231
-1
lines changed

docs/en/chain/core-module.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Functional Modules
2+
3+
##
4+
5+
DappLink, as a modular blockchain middleware, is dedicated to simplifying the deployment and operation of Layer 2 and Layer 3 networks, while promoting the advancement of chain abstraction technology. Through innovations like Rollup abstraction, cross-chain abstraction, L2 multi-staking protocols, proof system abstraction, fast verification network abstraction, and modular Layer 3 solutions, DappLink provides developers with efficient and flexible foundational components.
6+
7+
- Rollup Abstraction: DappLink supports both transaction data Rollups and transaction proof Rollups, and is compatible with multiple Data Availability (DA) solutions including EIP-4844, EigenDA, Celestia, NearDA, and AnyTrust, allowing developers to choose the optimal solution based on their needs. Furthermore, its Rollup proof system supports both fraud proofs (for Optimistic Rollups) and validity proofs (for ZK Rollups), ensuring transaction security and verifiability.
8+
9+
- Cross-chain Abstraction: DappLink enables a decentralized cross-chain bridge, supporting asset and message transfers between any chains. It utilizes a decentralized relayer network that leverages MPC verification and ZK transaction proofs to ensure cross-chain transactions are secure, censorship-resistant, and efficient. Additionally, a liquidity pool (FundingPool) manages cross-chain capital flows, allowing LPs to participate in staking and rewards distribution.
10+
11+
- L2 Multi-staking Protocol: DappLink offers a BTC- and ETH-equivalent secure staking model, enabling users to restake via EigenLayer and earn multiple yields. The CCIP module synchronizes staking information between Layer 1 and Layer 2, ensuring transparency and enforcement of reward and slashing mechanisms.
12+
13+
- Fast Verification Network: DappLink builds a fast-finality verification network using Babylon and Symbiotic staking mechanisms, reducing the waiting time for fraud proofs, accelerating Layer 2 asset withdrawals, and significantly enhancing the user experience for L2 dApps.
14+
15+
- Modular Layer3 Solution: DappLink is designed with a composable Layer 3 framework, supporting Web3 application chains such as social, gaming, and custodial services, enabling upper-layer applications to rapidly integrate into the Web3 ecosystem.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Cross-chain Abstraction
2+
3+
##
4+
5+
![img.png](images/crosschain.png)
6+
7+
###
8+
9+
This architecture describes a Decentralized Cross-Chain Bridge solution, which relies on the core components of FundingPool (liquidity funding pool) and a decentralized Relayer network to enable secure and efficient transfer of assets and messages between different blockchains. Below is a detailed breakdown of the solution:
10+
11+
## Source Chain
12+
13+
FundingPool:
14+
- Responsible for locking user assets on the source chain to ensure funds are available.
15+
- Allows liquidity providers (LP) to deposit funds to support liquidity needs for cross-chain transactions.
16+
- Sends assets and messages to the decentralized Relayer network.
17+
18+
Users:
19+
- Perform cross-chain transfers on the source chain and deposit assets into the FundingPool.
20+
- Can receive the corresponding assets on the target chain.
21+
22+
Liquidity Providers:
23+
Deposit assets into the FundingPool to support cross-chain transfer needs.
24+
25+
## Decentralized Relayer Network
26+
27+
Relayer nodes (relayer-node-1, 2, 3):
28+
- Listen for cross-chain transaction events from the FundingPool.
29+
- Responsible for relaying assets and messages to the FundingPool on the target chain.
30+
- Maintain a decentralized relay network to enhance transaction reliability and resistance to censorship.
31+
32+
## Target Chain
33+
34+
FundingPool (Liquidity Pool):
35+
- Receives assets and messages transmitted by the Relayer network.
36+
- Releases the corresponding assets to the target users.
37+
- Allows liquidity providers (LPs) to deposit funds to support cross-chain transaction liquidity.
38+
39+
Users: Receive cross-chain funds on the target chain.
40+
Liquidity Providers: Deposit funds on the target chain to support cross-chain transaction needs.
41+
42+
This solution combines FundingPool + decentralized Relayer network to achieve decentralized, efficient, and liquidity-rich cross-chain transactions. Cross-chain fund management is conducted through the liquidity pool, and multiple Relayer nodes are used to transmit cross-chain transaction information, ensuring transaction security, censorship resistance, and efficiency. This is suitable for multi-chain ecosystems and Web3 application scenarios.

docs/en/chain/fast-finality.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Fast verification network abstraction
2+
3+
##
4+
5+
![img.png](images/fastfinality.png)
6+
7+
###
8+
The final fast verification network is designed to achieve rapid finality of blocks on the Layer 2 network and quick withdrawals on Layer 1, while also providing security assurance protocols.
9+
10+
While ensuring security, the following two functions are achieved:
11+
- Rapid finalization of Layer 2 blocks
12+
- Reduced fraud proof time and quick confirmation of Layer 1 withdrawals
13+
14+
Dual-protocol staking security model: The security of the final fast verification network is ensured by the Babylon and Symbiotic protocols.
15+
16+
In the fast verification network, there are two types of FP networks:
17+
- FP network based on Babylon staking
18+
- FP network based on Symbiotic staking
19+
20+
On Babylon, BTC stakers will stake BTC to Babylon and delegate their staking weight to the FP (Fast Verification Network Node) network. The FP network nodes will commit signatures for the stateroot on Layer 2. Once a certain number of node signatures are achieved, the Leader node of the FP network will aggregate the signatures and submit them to the Babylon network. These signatures are validated on the Babylon network and then await synchronization with the Relayer network.
21+
22+
On Symbiotic, stakers will stake the project tokens to SymbioticFi and delegate their staking weight to the corresponding FP (Fast Verification Network Node) network. The FP network nodes will commit signatures for the stateroot on Layer 2. Once a certain number of node signatures are achieved, the signed message will be pushed to the Relayer network.
23+
24+
After the Relayer nodes validate the commitment signatures submitted by both parties, and after meeting the required number of Relayer validations:
25+
- The Layer 2 block can be finalized, achieving rapid finality for the Manta network's Layer 2 block.
26+
- The Relayer Manager will submit the commitment signatures, staking information, and stateroot to Ethereum. After Layer 1 validation, the fraud proof time will be proportionally reduced based on the FP staking amount, completing the rapid withdrawal from the Layer 2 network.
87.8 KB
Loading
161 KB
Loading
102 KB
Loading
92.5 KB
Loading

docs/en/chain/images/datada.png

97.6 KB
Loading
283 KB
Loading

docs/en/chain/images/staking.png

94 KB
Loading

0 commit comments

Comments
 (0)