You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -20,10 +18,6 @@ cChannel-eth is a collection of smart contracts acting as the binding of cChanne
20
18
21
19
For more details about cChannel and Celer Network, please refer to [Celer Network's official website](https://www.celer.network/).
22
20
23
-
## Work In Progress (WIP) Notice
24
-
cChannel-eth is currently under active developments in our private repo. This public repo only acts as a showcase of periodically public updates.
25
-
**This repo is not intended for production use and please DO NOT use the code in this repo with any real money, funds or assets.**
26
-
27
21
## Core Concepts
28
22
***Peers**: channel participants (only supports two-peer channel for now).
29
23
***Simplex Channel**: a single-direction payment channel from one peer to the other peer.
@@ -37,7 +31,7 @@ cChannel-eth is currently under active developments in our private repo. This pu
37
31
***Payment Destination**: the address receives a payment, namely the destination of this payment route.
38
32
***Vouched Conditional Payment Result**: the result of a conditional payment agreed by the payment source and payment destination.
39
33
***PayRegistry**: a global registry which updates and records all payment results.
40
-
***PayIdList**: data structure including a list of payment ids and a hash pointer to next PayIdList, which is used in Batch Multi-Payment Liquidation.
34
+
***PayIdList**: data structure including a list of payment ids and a hash pointer to next PayIdList, which is used in Batch Multi-Payment Clearing.
41
35
***EthPool**: A ETH wrapper to provide ERC20-like APIs for ETH.
42
36
***Virtual Address Resolver**: establishes the mapping from off-chain address to on-chain address.
43
37
@@ -60,7 +54,7 @@ cChannel-eth is currently under active developments in our private repo. This pu
60
54
***Cooperative Dynamic Withdraw**: skips challenge period and withdraws fund before channel finalized when both peers reach an agreement.
61
55
***Lightweight cooperative on-chain checkpoint**: support snapshotting transfer map of co-signed states on-chain.
62
56
***Batch Multi-Channel Settlements**: intends to settle multiple channels in one batch with a single on-chain transaction.
63
-
***Batch Multi-Payment Liquidation**: liquidates*N* payments in one batch with a single on-chain transaction using PayIdList, which only requires O(1) on-chain storage and O(*n*/*N*) on-chain verifications to liquidate*n* payments.
57
+
***Batch Multi-Payment Clearing**: clears*N* payments in one batch with a single on-chain transaction using PayIdList, which only requires O(1) on-chain storage and O(*n*/*N*) on-chain verifications to clear*n* payments.
64
58
***Cooperative Settle**: skips challenge period and settles a channel when both peers reach an agreement.
65
59
66
60
## Protocol Buffers Usage
@@ -71,20 +65,8 @@ We have also developed and open sourced a Solidity library generator of proto3 d
71
65
72
66
Two proto3 files are used in cChannel-eth, `chain.proto` and `entity.proto`, which are stored in `lib/data/proto/`. `chain.proto` defines data structures only used in on-chain contracts, while `entity.proto` defines data structures used both in on-chain contracts and off-chain communication protocols.
**ATTENTION**: this deployment is only for Alpha release testing. Please DO NOT deposit any real ETH, valuable tokens or funds into this version. Celer is not responsible for any loss.
0 commit comments