CosmWasm-Examples is a collection of example contracts and applications built using the CosmWasm framework

Overview

CosmWasm-Examples

CosmWasm-Examples Logo

CosmWasm-Examples is a collection of example contracts and applications built using the CosmWasm framework. CosmWasm is a secure and efficient smart contract platform designed specifically for the Cosmos ecosystem.

This repository serves as a valuable resource for developers looking to understand and explore the capabilities of CosmWasm. It offers a wide range of example contracts, showcasing various functionalities and use cases, including token contracts, staking contracts, governance contracts, and more.

Disclaimer: Please note that the example contracts provided in this repository are intended for testing and educational purposes only. They have not undergone a comprehensive security audit and should not be used in production environments without proper review and assessment.

Features

  • Comprehensive Examples: CosmWasm-Examples provides a diverse set of example contracts that cover different aspects of smart contract development with CosmWasm. Each example comes with detailed documentation and code explanations, making it easy for developers to learn and adapt.

  • Real-World Use Cases: The repository includes contracts that address real-world use cases, enabling developers to see how CosmWasm can be applied in practical scenarios. From token issuance and management to decentralized governance, these examples provide insights into building secure and robust applications on the Cosmos network.

  • Community-Driven: CosmWasm-Examples is maintained by a supportive community of developers. Contributions and feedback are encouraged, ensuring that the repository remains up to date and reflects the best practices and advancements in CosmWasm development.

Getting Started

To get started with CosmWasm-Examples, clone the repository to your local machine and explore the different example contracts. Each contract directory contains its own README file with instructions on how to build, test, and deploy the contract.

Getting Started

To get started with CosmWasm-Examples, clone the repository to your local machine and explore the different example contracts. Each contract directory contains its own README file with instructions on how to build, test, and deploy the contract.

Contributing

We welcome contributions to CosmWasm-Examples! If you have an interesting contract or application built with CosmWasm, feel free to submit a pull request. Please follow the contribution guidelines outlined in the repository to ensure a smooth and collaborative process.

Here are a few ways you can contribute:

  • Add New Examples: Have an innovative contract or application built on CosmWasm? Share it with the community by adding a new example to the repository. Provide clear documentation and code explanations to help others understand and learn from your work.

  • Improve Existing Examples: If you come across an example that can be enhanced or optimized, feel free to make improvements. Submitting pull requests with code refinements, bug fixes, or additional features can greatly benefit fellow developers.

  • Documentation: Help improve the documentation by fixing typos, clarifying instructions, or adding missing information. Clear and concise documentation is crucial for developers to understand and utilize the examples effectively.

  • Issue Reporting: If you encounter any issues or have suggestions for improvements, please open an issue in the repository. Be sure to provide a detailed description, including steps to reproduce the problem if applicable.

Please refer to the Contribution Guidelines for more details on how to contribute.

Resources

Join the growing community of CosmWasm developers and start building secure and scalable smart contracts on the Cosmos network today!

CosmWasm Logo

You might also like...
🖨 Template for Rust applications & smart contracts @okp4.

Rust Template Template for Rust projects @okp4. Purpose & Philosophy This repository holds the template for building Rust projects with a consistent s

A Multi-chain Decentralized Exchange (DEX) built on CosmWasm for the WYND DAO.

WynDex A Multi-chain Decentralized Exchange (DEX) built on CosmWasm for the WYND DAO. Overview License The initial pool types were copied from astropo

A framework for creating PoC's for Solana Smart Contracts in a painless and intuitive way

Solana PoC Framework DISCLAIMER: any illegal usage of this framework is heavily discouraged. Most projects on Solana offer a more than generous bug bo

A framework for publishing, deploying, invoking, and upgrading soroban smart contracts

SmartDeploy A framework for publishing, deploying, and upgrading Soroban smart contracts. Uses Loam-SDK Publishing Currently smart contracts are insta

CosmWasm multi-contract testing framework

Multi Test: Test helpers for multi-contract interactions Warning: Alpha Software Designed for internal use only. This is used for testing cw-plus cont

Example worker for ethereum-based applications

Ethsig-rs Example worker for ethereum-based applications. Features: Verify arbitrary messages and their signature from an Ethereum Address Verify EIP-

Galleries of NFTs using Solana and Rust for contracts

About this Package created to simplify the process of parsing NFTs on Solana. It consists of: Package basic things like fetch all NFTs for specific wa

A collection of libraries to be implemented for Automated Market Makers built in Sway.

🪓 🌴 Executor AMM 🪓 🌴 The Executor AMM is a reference implementation of Concentrated Liquidity in Sway. To run on the FuelVM many modifications had

An open source, high performance limit order book for the Seaport smart contracts. Implemented in Rust using ethers-rs, this offers a turnkey option for digital asset marketplaces.

Quay Quay is an open source, high performance backend for the Seaport smart contracts. The project is implemented in Rust, using Postgres as a storage

Comments
  • Topics to add

    Topics to add

    escrow - A basic escrow with timeout and partial release nameservice - Simple name service application to buy names and map values to those names voting - An example voting contract to create, manage, vote and deposit on polls simple-option - A contract that replicates options in finance cw20-pot - Basic smart contract using cw20 contact

    opened by tvcapital 1
Owner
Vitalii Tsyhulov
Vitalii Tsyhulov
Cosmwasm in Cosmwasm through ComposableFi/cosmwasm-vm

Cosmwasmception Running Fastest way to run this contract would be through our vm. But note that our vm runs an already built version this contract, so

Abdullah Eryuzlu 3 Oct 5, 2022
A simple example demonstrating cross-contract calls in CosmWasm smart contracts

Cross-contract calls This tutorial demonstrates cross-contract calls with CosmWasm v1. Overview An end user calls the reservation contract to register

csli Tools 3 Sep 12, 2022
An example CosmWasm contract for connecting contracts over IBC.

CosmWasm IBC Example This is a simple IBC enabled CosmWasm smart contract. It expects to be deployed on two chains and, when prompted, will send messa

ekez 64 Jun 21, 2023
CosmWasm/Sylvia counting contract w/ IBC enabled (Cosmos, Rust, CosmWasm, Sylvia)

CosmWasm/Sylvia counting contract w/ IBC enabled (Cosmos, Rust, CosmWasm, Sylvia) This repository contains counting contract created during the study

Alex Cryp 3 Nov 13, 2023
My code for the terra.academy course on CosmWasm smart contracts

CosmWasm Starter Pack This is a template to build smart contracts in Rust to run inside a Cosmos SDK module on all chains that enable it. To understan

Alex Incerti 0 Nov 7, 2021
A gRPC-based scripting library for interacting with CosmWasm smart-contracts.

Cosmos Rust Script Smart contract scripting library to ease CosmWasm smart contract development and deployment. cosm-script is inspired by terra-rust-

null 11 Nov 3, 2022
A blazingly fast compiling & optimization tool for CosmWasm smart contracts.

cw-optimizoor A blazingly fast alternative to CosmWasm/rust-optimizer for compiling & optimizing CW smart contracts. It's primarily meant to speed up

Sebastian Mandrean 37 Apr 15, 2023
Minimal Substrate node configured for smart contracts via pallet-contracts.

substrate-contracts-node This repository contains Substrate's node-template configured to include Substrate's pallet-contracts ‒ a smart contract modu

Parity Technologies 73 Dec 30, 2022
evm2near compiles Solidity contracts into NEAR WebAssembly contracts.

EVM → NEAR evm2near is a project for compiling EVM bytecode into wasm bytecode, with the particular goal of having that wasm artifact be executable on

Aurora 125 Dec 3, 2022
Ticketed Discreet Log Contracts (DLCs) to enable instant buy-in for wager-like contracts on Bitcoin.

dlctix Ticketed Discreet Log Contracts (DLCs) to enable instant buy-in for wager-like contracts on Bitcoin. This project is part of the Backdrop Build

null 7 Feb 29, 2024