Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jjyr/DCKB
DCKB is an extended UDT that 1 to 1 mapping to NervosDAO deposited CKB, it enables users to transfer CKB from NervosDAO while still get NervosDAO compensation.
https://github.com/jjyr/DCKB
ckb dckb udt wckb
Last synced: about 1 month ago
JSON representation
DCKB is an extended UDT that 1 to 1 mapping to NervosDAO deposited CKB, it enables users to transfer CKB from NervosDAO while still get NervosDAO compensation.
- Host: GitHub
- URL: https://github.com/jjyr/DCKB
- Owner: jjyr
- License: mit
- Archived: true
- Created: 2020-03-27T01:00:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-23T06:52:11.000Z (over 4 years ago)
- Last Synced: 2024-08-03T02:09:00.666Z (4 months ago)
- Topics: ckb, dckb, udt, wckb
- Language: C
- Homepage:
- Size: 401 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nervos-ckb - DCKB: Wrapper Token for DAO Deposited CKBytes
README
# DCKB
DCKB means (DAO/Deposited) CKB.
DCKB is an extended UDT that 1 to 1 mapping to NervosDAO deposited CKB, it enables users to transfer CKB from NervosDAO while still get NervosDAO compensation.
Advantages:
* Deposit CKB to layer2 / Defi while still earning NervosDAO compensation.
* Transfer CKB from NervosDAO.
* No centralized service involved.Known limitation:
* After deposition, users need to wait for 4 epochs(~16 hours in mainnet) to use DCKB.
* Max deposition limitation is 10_000_000 CKB at once.
* NervosDAO withdrawal must be completed within 42 epochs(~ 7 days) since the withdrawal started; otherwise, anyone can unlock the cell.## Build
``` sh
make build && cargo test
```## Usage
Contracts:
* DCKB - an extended UDT type script
* DAOLock - NervosDAO cell's lock script
* CustodianLock - lock script, used for custodian DCKB while withdraw from NervosDAO[Wiki](https://github.com/jjyr/DCKB/wiki)
## License
MIT
Copyright, 2020, by [JJy](https://justjjy.com)