go-cash

command module
v0.0.0-...-892483d Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 12 Imported by: 0

README

Go Cash

Go Cash is a fictional centralized economy, built for the purpose of learning Go.

Installation

  1. Clone the respository:
    git clone https://github.com/Hypnophobe/go-cash.git && cd go-cash
    
  2. Build the desired binaries:
    go build -o gc-server .
    go build -o gc-wallet wallet/main.go
    go build -o gc-miner miner/main.go
    

Usage

Server

Start the server:

./gc-server -db (database)

To initialize the database (only required on the first run), use the -o flag:

./gc-server -db (database) -o

The -o flag will overwrite the database, so it should only be used when setting up for the first time or if you wish to reset the database.

Wallet

Run ./gc-wallet without any flags.

Miner

Run ./gc-miner without any flags.

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