{"id":22799963,"url":"https://github.com/tangle-network/protocol-cosmwasm","last_synced_at":"2025-07-07T05:33:05.463Z","repository":{"id":37239849,"uuid":"462930334","full_name":"tangle-network/protocol-cosmwasm","owner":"tangle-network","description":"Webb Protocol Implementation in CosmWasm.","archived":false,"fork":false,"pushed_at":"2022-09-01T14:54:49.000Z","size":3250,"stargazers_count":24,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T10:33:28.369Z","etag":null,"topics":["cosmos","cosmwasm","rust","wasm"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tangle-network.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}},"created_at":"2022-02-23T22:43:17.000Z","updated_at":"2024-02-13T23:06:12.000Z","dependencies_parsed_at":"2022-07-12T16:14:43.831Z","dependency_job_id":null,"html_url":"https://github.com/tangle-network/protocol-cosmwasm","commit_stats":null,"previous_names":["tangle-network/protocol-cosmwasm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangle-network%2Fprotocol-cosmwasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangle-network%2Fprotocol-cosmwasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangle-network%2Fprotocol-cosmwasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangle-network%2Fprotocol-cosmwasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tangle-network","download_url":"https://codeload.github.com/tangle-network/protocol-cosmwasm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249742696,"owners_count":21318974,"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":["cosmos","cosmwasm","rust","wasm"],"created_at":"2024-12-12T07:10:36.033Z","updated_at":"2025-04-19T16:52:54.875Z","avatar_url":"https://github.com/tangle-network.png","language":"Rust","readme":"\u003ch1 align=\"center\"\u003eWebb Protocol CosmWasm\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cstrong\u003e🕸️  Webb Protocol CosmWasm!  ⧫\u003c/strong\u003e\n    \u003cbr /\u003e\n    \u003csub\u003e ⚠️ Beta Software ⚠️ \u003c/sub\u003e\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\n## Introduction  \nThis repository contains the Cosmwasm implementation of **Webb Protocol**, which would be used for *Cosmos SDK* blockchains.   \n\n## Contracts layout  \n```\ncontracts/\n    |___anchor/                    # Anchor(FixedDepositAnchor) contract\n    |___anchor-handler/            # Contract for executing the creation \u0026 modification of anchor  \n    |___mixer/                     # Mixer contract  \n    |___signature-bridge/          # Contract for managing voting, resource, and maintainer composition through signature verification    \n    |___tokenwrapper/              # Contract for wrapping pooled assets and minting pool share tokens  \n    |___tokenwrapper-handler/      # Contract for executing the creation \u0026 modification of token-wrapper  \n    |___vanchor/                   # Variable Anchor contract  \n```  \n\n## Building the contracts(wasm)\n\n### Prerequisites\n#### Install Rust \u0026 dependency\nInstall the latest version of Rust by following the instructions [here](https://www.rust-lang.org/tools/install).  \nAdd the compilation target.\n```\nrustup default stable  \nrustup target add wasm32-unknown-unknown\n```\n\n### Building\nTo build the contract, run the following command.\n```\ncargo wasm\n```\nYou can see the output wasm file in the **target/wasm32-unknown-unknown/release** directory.\n\nFor the optimization, run the following command.  \n**Important**: You will need [docker](https://www.docker.com/) installed to run this command.  \n```\ndocker run --rm -v \"$(pwd)\":/code \\\n  --mount type=volume,source=\"$(basename \"$(pwd)\")_cache\",target=/code/target \\\n  --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \\\n  cosmwasm/workspace-optimizer:0.12.5\n```\nThen, you can see the output wasm file in the **artifacts** directory.\n\n## Testing \nRun the following command to run the unit tests.  \n```\ncargo test --release\n```\n\n## License\n\n\u003csup\u003e\nLicensed under \u003ca href=\"LICENSE\"\u003eApache License 2.0\u003c/a\u003e.\n\u003c/sup\u003e\n\n\u003cbr/\u003e\n\n\u003csub\u003e\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in this crate by you, as defined in the GPLV3 license, shall\nbe licensed as above, without any additional terms or conditions.\n\u003c/sub\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangle-network%2Fprotocol-cosmwasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftangle-network%2Fprotocol-cosmwasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangle-network%2Fprotocol-cosmwasm/lists"}