dessert

command module
v0.0.0-...-017134c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

🙇 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL