cosmos-cash-agent

module
v0.0.0-...-88a98bb Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0

README

Cosmos Cash Agent

This project implements a demo interface for the Cosmos Cash project to showcase the interactions from the user perspective.

Architecture

Note: The project has been developed as a proof of concept!

The entrypoint for the desktop client is cmd/edge-agent/main.go

The project is composed of the following components:

The components run in their own isolated event loop, events for each component are dispatched via channels.

The messages are implemented as AppMsg struct that is:

// AppMsg are messages that are exchanged within the app
type AppMsg struct {
    Typ     int         // message type (see list above)
    Payload interface{} // content of the message, the recipient must know how to process it
}

Messages related code is defined here.

Component logic

Most of the logic is concentrated in the following source files:

Setup

The ui is built using fyne framework.

Note: make sure that you have the prerequisites installed before running

To run the app targeting the Cosmos Cash testnet, run

make run-live

Screenshots

Directories

Path Synopsis
cmd
pkg
ui

Jump to

Keyboard shortcuts

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