{"id":13566142,"url":"https://github.com/MegaRockLabs/cw-extra","last_synced_at":"2025-04-03T23:31:12.886Z","repository":{"id":200581732,"uuid":"705852161","full_name":"MegaRockLabs/cw-extra","owner":"MegaRockLabs","description":"Experimental CosmWasm based contracts, packages and protocols","archived":false,"fork":false,"pushed_at":"2024-12-03T16:41:50.000Z","size":335,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T06:05:00.844Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MegaRockLabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2023-10-16T20:17:45.000Z","updated_at":"2024-06-21T00:38:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"d42c8c0c-cdeb-4c60-9631-41990fd31b6a","html_url":"https://github.com/MegaRockLabs/cw-extra","commit_stats":null,"previous_names":["megarocklabs/cw-plus-plus","megarocklabs/cw-extra"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MegaRockLabs%2Fcw-extra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MegaRockLabs%2Fcw-extra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MegaRockLabs%2Fcw-extra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MegaRockLabs%2Fcw-extra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MegaRockLabs","download_url":"https://codeload.github.com/MegaRockLabs/cw-extra/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247097713,"owners_count":20883124,"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-08-01T13:02:03.115Z","updated_at":"2025-04-03T23:31:09.889Z","avatar_url":"https://github.com/MegaRockLabs.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# CW Extra\nExperimental CosmWasm based contracts, packages and protocols \n\n\n## Standards\n\n\n### Smart Account Standards\n\nStandards focusing on interfaces for smart contract based accounts\n\n| Name                                      | Description                                                           |  Examples      |\n| ----------------------------------------- | --------------------------------------------------------------------- | -------------- |\n| [`cw81`](./packages/cw81/)                | Signature verification for smart contracts (inspired by ERC-1271)     | [link](#cw81) |\n| [`cw82`](./packages/cw82/)                | Minimal smart contract based abstract account                         | [link](#cw82) |\n| [`cw83`](./packages/cw83/)                | Registry for smart contract based accounts (inspired by ERC-6551)     | [link](#cw83) |\n\n\n## Contracts\n\nExample contracts showcasing usage of the proposed protocols and standards\n\n### CW81\n| Contract                                                         | Description                                                  |\n| ---------------------------------------------------------------- | ------------------------------------------------------------ |\n| [`cw-81-last-signature`](./contracts/cw81-last-signature/)       | Contract owner stores an exprirable signature and checks a queried one is equal to it |\n| [`cw-81-pubkey`](./contracts/cw81-pubkey/)                       | Using secp256k1 public key provided by contract creator and verifying using ecdsa  |\n| [`cw-81-sn-ks`](./contracts/cw81-sn-ks/)                         | SecretWasm based contract using a secp256k1 private key for signature generation and verification |\n\n### CW82\n| Contract                                                         | Description                                                  |\n| ---------------------------------------------------------------- | ------------------------------------------------------------ |\n| [`cw82-key-account`](/contracts/cw82-key-account/)               | Signatures are verified against secp256k1 public key and all executable cosmos message must be signed by a corresponding private key |\n| [`cw82-token-account`](/contracts/cw82-token-account/)           | Only an NFT owner can execute some cosmos messages. Signature are checked against the stored public key through [direct sign](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-036-arbitrary-signature.md)    |\n| [`cw82-sn-sym`](https://github.com/MegaRockLabs/cw-extra/tree/secret-network/contracts/cw82-sn-sym)      | Secret Network specifc contract that only allow cosmos messages that had been encrypted by a secret (symmetric) key provided to the contract by instantiator. Signatures must be coming from a separate key generated inside the contract  to be valid |\n\n\n### CW83\n| Contract                                                         | Description                                                  |\n| ---------------------------------------------------------------- | ------------------------------------------------------------ |\n| [`cw83-tba-registry`](contracts/cw83-tba-registry)               | A Registry of token (NFT) bound accounts                     |\n\n\u003cbr/\u003e\n\n---\n\n\n### Purpose\nThis is playground repository for MegaRock to test out new ideas that can standartised. All the projects in the reposity are of an experimental nature with low-maintanace and support. The projects here shouldn't be used for production before being peer-review and explicitly green-lighted by the team. (in case where the usage is licensed )\n\n### Disclaimer\nAs part of our mission of promoting public goods and open source culture we are planning to be contributing the standards that gain adoption into the original [repository](https://github.com/CosmWasm/cw-plus) maintained by the official team working on CosmWasm. Altenatively the team might choose to maintain a standard ourselves.\n\nUnless explicietely specified otherwise with a standalone License file or description all the interface packages in the repository are released under open-source lincense and all the examples contracts are treated as source available only.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMegaRockLabs%2Fcw-extra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMegaRockLabs%2Fcw-extra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMegaRockLabs%2Fcw-extra/lists"}