{"id":26905802,"url":"https://github.com/abstractsdk/buyable-counter","last_synced_at":"2025-10-07T08:09:06.136Z","repository":{"id":258257039,"uuid":"873520095","full_name":"AbstractSDK/buyable-counter","owner":"AbstractSDK","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-17T14:54:51.000Z","size":126,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-01T10:58:56.437Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/AbstractSDK.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-16T09:58:17.000Z","updated_at":"2024-10-17T14:54:54.000Z","dependencies_parsed_at":"2024-10-19T00:45:11.601Z","dependency_job_id":null,"html_url":"https://github.com/AbstractSDK/buyable-counter","commit_stats":null,"previous_names":["abstractsdk/buyable-counter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AbstractSDK/buyable-counter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbstractSDK%2Fbuyable-counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbstractSDK%2Fbuyable-counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbstractSDK%2Fbuyable-counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbstractSDK%2Fbuyable-counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbstractSDK","download_url":"https://codeload.github.com/AbstractSDK/buyable-counter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbstractSDK%2Fbuyable-counter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278740839,"owners_count":26037481,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-04-01T10:58:59.540Z","updated_at":"2025-10-07T08:09:06.121Z","avatar_url":"https://github.com/AbstractSDK.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CosmWasm Starter Pack\n\nThis is a template to build smart contracts in Rust to run inside a\n[Cosmos SDK](https://github.com/cosmos/cosmos-sdk) module on all chains that enable it.\nTo understand the framework better, please read the overview in the\n[cosmwasm repo](https://github.com/CosmWasm/cosmwasm/blob/master/README.md),\nand dig into the [cosmwasm docs](https://www.cosmwasm.com).\nThis assumes you understand the theory and just want to get coding.\n\n## Creating a new repo from template\n\nAssuming you have a recent version of Rust and Cargo installed\n(via [rustup](https://rustup.rs/)),\nthen the following should get you a new repo to start a contract:\n\nInstall [cargo-generate](https://github.com/ashleygwilliams/cargo-generate) and cargo-run-script.\nUnless you did that before, run this line now:\n\n```sh\ncargo install cargo-generate --features vendored-openssl\n```\n\nNow, use it to create your new contract.\nGo to the folder in which you want to place it and run:\n\n**Latest**\n\n```sh\ncargo generate --git https://github.com/AbstractSDK/cw-template.git --name PROJECT_NAME\n```\n\nFor cloning minimal code repo:\n\n```sh\ncargo generate --git https://github.com/AbstractSDK/cw-template.git --name PROJECT_NAME -d minimal=true\n```\n\nYou will now have a new folder called `PROJECT_NAME` (I hope you changed that to something else)\ncontaining a simple working contract and build system that you can customize.\n\n## Create a Repo\n\nAfter generating, you have a initialized local git repo, but no commits, and no remote.\nGo to a server (eg. github) and create a new upstream repo (called `YOUR-GIT-URL` below).\nThen run the following:\n\n```sh\n# this is needed to create a valid Cargo.lock file (see below)\ncargo check\ngit branch -M main\ngit add .\ngit commit -m 'Initial Commit'\ngit remote add origin YOUR-GIT-URL\ngit push -u origin main\n```\n\n## CI Support\n\nWe have template configurations for both [GitHub Actions](.github/workflows/Basic.yml)\nand [Circle CI](.circleci/config.yml) in the generated project, so you can\nget up and running with CI right away.\n\nOne note is that the CI runs all `cargo` commands\nwith `--locked` to ensure it uses the exact same versions as you have locally. This also means\nyou must have an up-to-date `Cargo.lock` file, which is not auto-generated.\nThe first time you set up the project (or after adding any dep), you should ensure the\n`Cargo.lock` file is updated, so the CI will test properly. This can be done simply by\nrunning `cargo check` or `cargo unit-test`.\n\n## Using your project\n\nOnce you have your custom repo, you should check out [Developing](./Developing.md) to explain\nmore on how to run tests and develop code. Or go through the\n[online tutorial](https://docs.cosmwasm.com/) to get a better feel\nof how to develop.\n\nThis template includes [cw-orchestrator](https://docs.rs/cw-orch/latest/cw_orch/) by default. This library allows you to unit-test, integration-test as well as interact with your contracts on-chain using a common intuitive syntax that leverages rust type-safety to assist you throughout your development process. You can find the interface definitions in the [src/interface.rs](src/interface.rs) file. You can also find more information in the [`cw-orch` documentation](https://orchestrator.abstract.money/).\n\n[Publishing](./Publishing.md) contains useful information on how to publish your contract\nto the world, once you are ready to deploy it on a running blockchain. And\n[Importing](./Importing.md) contains information about pulling in other contracts or crates\nthat have been published.\n\nPlease replace this README file with information about your specific project. You can keep\nthe `Developing.md` and `Publishing.md` files as useful references, but please set some\nproper description in the README.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabstractsdk%2Fbuyable-counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabstractsdk%2Fbuyable-counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabstractsdk%2Fbuyable-counter/lists"}