https://github.com/giansalex/cosmwasm-workspace
Cosmwasm Smart Contracts Workspace (gitpod)
https://github.com/giansalex/cosmwasm-workspace
cosmwasm juno
Last synced: about 2 months ago
JSON representation
Cosmwasm Smart Contracts Workspace (gitpod)
- Host: GitHub
- URL: https://github.com/giansalex/cosmwasm-workspace
- Owner: giansalex
- Created: 2021-06-23T22:05:15.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-24T04:47:52.000Z (4 months ago)
- Last Synced: 2025-02-13T05:44:06.062Z (4 months ago)
- Topics: cosmwasm, juno
- Homepage:
- Size: 17.6 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cosmwasm Smart Contracts Workspace
Build smart contracts on the cloud powered by [gitpod](https://www.gitpod.io/).
[](https://gitpod.io/#https://github.com/giansalex/juno-wasm-workspace)
[](https://app.codeanywhere.com/#https://github.com/giansalex/juno-wasm-workspace)## Steps
After your workspace is ready, follow next steps.:heavy_check_mark: Close all terminals, and start new one.
:heavy_check_mark: Create your smartcontract project.
```bash
cargo generate --git https://github.com/CosmWasm/cosmwasm-template.git --name PROJECT_NAME
cd PROJECT_NAME
```
> This create a basic counter smartcontract.:heavy_check_mark: Build your smartcontract
```bash
cargo wasm
```
This produce `project.wasm` in `target/wasm32-unknown-unknown/release` directory, that you can download from editor.
Follow [this guide](https://docs.junochain.com/smart-contracts/downloading-and-compiling-smart-contracts) to optimize your release.
Finally you can upload to a chain like [juno chain](https://docs.junochain.com/smart-contracts/uploading-and-interacting#go-cli). :rocket:
### References
- [Cosmwasm docs](https://docs.cosmwasm.com/)