Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.
/ DCKB Public archive

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.

License

Notifications You must be signed in to change notification settings

jjyr/DCKB

Repository files navigation

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

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

License

MIT

Copyright, 2020, by JJy

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published