{"id":13652656,"url":"https://github.com/jjyr/DCKB","last_synced_at":"2025-04-23T03:31:08.295Z","repository":{"id":146980411,"uuid":"250408212","full_name":"jjyr/DCKB","owner":"jjyr","description":"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.","archived":true,"fork":false,"pushed_at":"2020-05-23T06:52:11.000Z","size":411,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-10T03:35:40.632Z","etag":null,"topics":["ckb","dckb","udt","wckb"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jjyr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-03-27T01:00:34.000Z","updated_at":"2023-01-28T10:45:23.000Z","dependencies_parsed_at":"2024-01-14T12:38:43.717Z","dependency_job_id":null,"html_url":"https://github.com/jjyr/DCKB","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjyr%2FDCKB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjyr%2FDCKB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjyr%2FDCKB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjyr%2FDCKB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jjyr","download_url":"https://codeload.github.com/jjyr/DCKB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250365429,"owners_count":21418687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ckb","dckb","udt","wckb"],"created_at":"2024-08-02T02:01:01.339Z","updated_at":"2025-04-23T03:31:03.767Z","avatar_url":"https://github.com/jjyr.png","language":"C","funding_links":[],"categories":["Tools"],"sub_categories":["On-Chain Scripts and Protocols"],"readme":"# DCKB\n\nDCKB means (DAO/Deposited) CKB.\n\nDCKB 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.\n\nAdvantages:\n\n* Deposit CKB to layer2 / Defi while still earning NervosDAO compensation.\n* Transfer CKB from NervosDAO.\n* No centralized service involved.\n\nKnown limitation:\n\n* After deposition, users need to wait for 4 epochs(~16 hours in mainnet) to use DCKB.\n* Max deposition limitation is 10_000_000 CKB at once.\n* NervosDAO withdrawal must be completed within 42 epochs(~ 7 days) since the withdrawal started; otherwise, anyone can unlock the cell.\n\n## Build\n\n``` sh\nmake build \u0026\u0026 cargo test\n```\n\n## Usage\n\nContracts:\n\n* DCKB - an extended UDT type script\n* DAOLock - NervosDAO cell's lock script\n* CustodianLock - lock script, used for custodian DCKB while withdraw from NervosDAO\n\n[Wiki](https://github.com/jjyr/DCKB/wiki)\n\n## License\n\nMIT\n\nCopyright, 2020, by [JJy](https://justjjy.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjyr%2FDCKB","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjjyr%2FDCKB","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjyr%2FDCKB/lists"}