Skip to content

🍫 This project is like dessert that gives you an appetite of how to work with Cosmos SDK 🍩

License

Notifications You must be signed in to change notification settings

jaybxyz/dessert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🙇 Welcome to Dessert 🙇

[WARNING]: THIS PROJECT IS CURRENTLY A WORK IN PROGRESS.

Overview

This project is a very simple project that I am using as a toy project to hack with Comsos SDK. This enables you to query your account balance, your accumulated rewards, and to create different types of transactions and broadcast them to either gaia testnet or mainnet.

I called this project dessert because it is like dessert that gives you an appetite of how to work with Cosmos SDK. I hope that this will help any developer out there to grasp an understanding of how to hack with Cosmos SDK.

Give ⭐️ if anyone who finds this useful, and feel free to add comments or requests in issues. I will be working from time to time.

Enjoy 😄

Table of Contents

Requirements

This project assumes that you already know Go language and know how to use Go Modules

  • Require Go 1.13+
  • Prepare endpoints for your own full node and REST server. If you don't have one, ask Riot channel for any available public full node to connect to.

Installation

Clone this repository using git.

$ git clone https://github.com/kogisin/dessert.git

Dessert has a simple way to create a configuration file. (Other option: copy example.toml file and paste it in the same directory and change the name as config.toml

$ dessert init

Install an executable file dessert

$ go build

OR

$ make install 

Usage

Dessert has a few subcommands that you can hack around. By putting your mnemonic in config.toml, dessert has full control over your wallet. I recommend you to use test wallet.

  • Init
  • Version
  • Query
  • Tx
  • Wallet

Examples

Check your account balance

$ dessert q balance

Progress

  • Add more queries
  • Add unit tests
  • Implement REST Server that behaves as Comsos SDK Light Client.

Contributing

The best way to submit feedback and report bugs is to Open a GitHub issue.

If you want to contribute code, please see CONTRIBUTING.md and read the requirement sections carefully.

Support ⭐️

Give it a ⭐️star if you find this project useful

License

Apache License Version 2.0

About

🍫 This project is like dessert that gives you an appetite of how to work with Cosmos SDK 🍩

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published