Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devendra116/cosmos-cw20-token
https://github.com/devendra116/cosmos-cw20-token
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devendra116/cosmos-cw20-token
- Owner: Devendra116
- Created: 2023-07-24T10:50:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-26T08:46:31.000Z (over 1 year ago)
- Last Synced: 2024-04-11T09:21:48.786Z (9 months ago)
- Language: Rust
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Custom CW20 token for Cosmos Ecosystem
## Introduction
This repository contains a custom implementation of a CW20 (CosmWasm 20) token with some additional features. The CW20 token standard is designed for fungible tokens on the Cosmos blockchain ecosystem. This custom implementation have a default mint amount and a 24-hour interval constraints for minting new tokens.## Features
- Custom CW20 Token: Follows the CW20 token standard for fungible tokens on Cosmos blockchains.
- Default Mint Amount: Comes with a pre-defined default mint amount of 1,000,000 tokens. Minters can only mint this default amount.
- 24-Hour Interval Constraint: Allows minting new tokens once every 24 hours. Users must wait until 24 hours have passed since their last minting.## Requirement
- You will need Rust 1.44.1+ with `wasm32-unknown-unknown` target installed.## Clone Project
```
git clone https://github.com/Devendra116/cosmos-cw20-token.git
cd cosmos-cw20-token
```## Test
Run unit test for testing smart contract working
```
cargo test
```
## Build smart contractfor Windows (tested in powershell)
```
.\build.bat
```for linux/Mac (tested in git bash)
```
./build.sh
```