Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hstsethi/peartok-go

PearTok("/pɛrtoʊk/") is a peer-to-peer, token transfer app made with Go, Gin and JavaScript.
https://github.com/hstsethi/peartok-go

cryptocurrency decentralized gin go hacktoberfest p2p peer-to-peer

Last synced: about 2 hours ago
JSON representation

PearTok("/pɛrtoʊk/") is a peer-to-peer, token transfer app made with Go, Gin and JavaScript.

Awesome Lists containing this project

README

        

PearTok("/pɛrtoʊk/") is a peer-to-peer, token transfer app made with Go, Gin and JavaScript. Instead of relying on centralized servers, it uses direct TCP connections to connect with peers.

Disclaimer: This software is provided "as is" without any warranty of any kind. These tokens do not have any monetary value.

## Usage

1. Build the project by `go build -o peartok-go .`

2. Copy `wallet-receiver.tok` and `wallet-sender.tok` into same directory as the executable.

3. Start the http server by `./peartok-go`. Default is 8080.

From now you can visit http://localhost:8080 on receiver's machine and enter port to start a server and then send tokens. Or use the script below.

- Review `peartok-curl.sh`. You can edit port, amount, host if you want to.

- Run the script, and optionally see the updated balance by printing `*.tok` files to stdout.