{"id":13566345,"url":"https://github.com/orpheuslummis/cosmwasm-babysteps","last_synced_at":"2025-04-04T00:30:35.400Z","repository":{"id":217999883,"uuid":"733115782","full_name":"orpheuslummis/cosmwasm-babysteps","owner":"orpheuslummis","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-24T17:38:29.000Z","size":38,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-04T20:42:26.481Z","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/orpheuslummis.png","metadata":{"files":{"readme":"README.init.old","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":"2023-12-18T15:44:34.000Z","updated_at":"2023-12-19T07:30:25.000Z","dependencies_parsed_at":"2024-01-19T07:18:43.789Z","dependency_job_id":"6aa32b28-06fb-44ad-b7a6-0c39b7fd9c6d","html_url":"https://github.com/orpheuslummis/cosmwasm-babysteps","commit_stats":null,"previous_names":["orpheuslummis/cosmwasm-babysteps"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orpheuslummis%2Fcosmwasm-babysteps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orpheuslummis%2Fcosmwasm-babysteps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orpheuslummis%2Fcosmwasm-babysteps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orpheuslummis%2Fcosmwasm-babysteps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orpheuslummis","download_url":"https://codeload.github.com/orpheuslummis/cosmwasm-babysteps/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103305,"owners_count":20884023,"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:07.584Z","updated_at":"2025-04-04T00:30:35.074Z","avatar_url":"https://github.com/orpheuslummis.png","language":"Rust","funding_links":[],"categories":["Rust"],"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\ncargo install cargo-run-script\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/CosmWasm/cw-template.git --name PROJECT_NAME\n```\n\nFor cloning minimal code repo:\n\n```sh\ncargo generate --git https://github.com/CosmWasm/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\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%2Forpheuslummis%2Fcosmwasm-babysteps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forpheuslummis%2Fcosmwasm-babysteps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forpheuslummis%2Fcosmwasm-babysteps/lists"}