Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

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

Contributors

AltStyle によって変換されたページ (->オリジナル) /