allinbits / cosmos-cash-agent

Cosmos cloud agent based on Hyperledger Aries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Cosmos cloud agent based on Hyperledger Aries

License:Apache License 2.0


Languages

Language:Go 94.5%Language:Shell 3.0%Language:Makefile 2.0%Language:Dockerfile 0.5%