https://github.com/abstractsdk/old-app-template
Template for writing an Abstract App Module
https://github.com/abstractsdk/old-app-template
abstract-os blockchain cosmos cosmwasm rust
Last synced: 4 months ago
JSON representation
Template for writing an Abstract App Module
- Host: GitHub
- URL: https://github.com/abstractsdk/old-app-template
- Owner: AbstractSDK
- Created: 2022-11-01T00:00:58.000Z (over 3 years ago)
- Default Branch: mainline
- Last Pushed: 2022-11-26T14:36:47.000Z (over 3 years ago)
- Last Synced: 2025-08-16T16:47:10.737Z (10 months ago)
- Topics: abstract-os, blockchain, cosmos, cosmwasm, rust
- Language: Rust
- Homepage:
- Size: 85.9 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Abstract App Module Template
This is a repository for developing an app using [Abstract-OS](https://abstract.money).
It includes a template for the app module, deployment interfaces, and deployment scripts.
## Features
- Abstracted handlers for `instantiate`, `query`, `execute`, `migrate`, and `replies`
- Deployment scripts
- Asset value calculation using Abstract Name Service (ANS)
## Instructions
### Option 1
Use the template using [`cargo generate`](https://cargo-generate.github.io/cargo-generate/index.html)
```shell
cargo generate gh:Abstract-OS/app-template -b template
```
### Option 2:
Fork this repository and delete `template-scripts`, then rename the appropriate variables.
## Commands
- `cargo build`: Build the app
- `cargo test`: Run the tests
- `cargo deploy`: Deploy the app to Abstract Version Control
- `cargo wasm`: Compile the app to wasm
- `cargo doc`: Generate the documentation
- `cargo clippy`: Run the linter
## References
- [Getting Started with Abstract — How to create a Modular App | by Abstract | Nov, 2022 | Medium](https://medium.com/@abstractos/getting-started-with-abstract-how-to-create-your-own-app-module-5ddd644534f3)