{"id":22192023,"url":"https://github.com/cryptape/ckb-multisig-cobuild-poc","last_synced_at":"2025-03-24T20:44:27.154Z","repository":{"id":224048374,"uuid":"761636314","full_name":"cryptape/ckb-multisig-cobuild-poc","owner":"cryptape","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-05T06:25:34.000Z","size":1411,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-30T01:17:27.806Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ckb-multisig-cobuild-poc.vercel.app","language":"JavaScript","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/cryptape.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-22T07:48:05.000Z","updated_at":"2024-03-05T06:28:33.000Z","dependencies_parsed_at":"2024-03-04T09:51:43.289Z","dependency_job_id":null,"html_url":"https://github.com/cryptape/ckb-multisig-cobuild-poc","commit_stats":null,"previous_names":["cryptape/ckb-multisig-cobuild-poc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptape%2Fckb-multisig-cobuild-poc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptape%2Fckb-multisig-cobuild-poc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptape%2Fckb-multisig-cobuild-poc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptape%2Fckb-multisig-cobuild-poc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptape","download_url":"https://codeload.github.com/cryptape/ckb-multisig-cobuild-poc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245351762,"owners_count":20601090,"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":[],"created_at":"2024-12-02T12:18:45.602Z","updated_at":"2025-03-24T20:44:27.130Z","avatar_url":"https://github.com/cryptape.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CKB Multisig CoBuild PoC\n\n[Contributing Guidelines](docs/CONTRIBUTING.md)\n\n## Disclaimer\n\nThis is a Proof-of-Concept demo to show how to use the building packet lock actions in [CoBuild](https://talk.nervos.org/t/ckb-transaction-cobuild-protocol-overview/7702) to collect multisig signatures.\n\n## Background\n\nThis PoC utilizes the CoBuild building packet as an intermediate format for enabling collaboration among various tools in the collection of multisig signatures. Currently, it supports ckb-cli and Neuron.\n\nCoBuild enables lock scripts to include their pending actions in the `lock_actions` field of the building packet.\n\nThis PoC defines `MultisigAction` to store the mulgisig config and collected signatures.\n\n```\narray PubkeyHash [byte; 20];\nvector PubkeyHashVec \u003cPubkeyHash\u003e;\ntable MultisigConfig {\n    require_first_n: byte,\n    threshold: byte,\n    signer_pubkey_hashes: PubkeyHashVec,\n}\narray Signature [byte; 65];\nstruct PubkeyHashSignaturePair {\n    pubkey_hash: PubkeyHash,\n    signature: Signature,\n}\nvector PubkeyHashSignaturePairVec \u003cPubkeyHashSignaturePair\u003e;\ntable MultisigAction {\n    config: MultisigConfig,\n    signed: PubkeyHashSignaturePairVec,\n}\n```\n\n## Getting Started\n\nFirst, run the development server:\n\n```bash\npnpm start\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nThis will use the testnet and the public RPC node `https://testnet.ckbapp.dev/`. See [docs/dev.md](docs/dev.md) about how to set up a dev chain for local development and testing.\n\n## Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n\nSee the list of configurable environment variables in the file [env.example](env.example).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptape%2Fckb-multisig-cobuild-poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptape%2Fckb-multisig-cobuild-poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptape%2Fckb-multisig-cobuild-poc/lists"}