Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/hstsethi/peartok-go
- Owner: hstsethi
- Created: 2024-07-23T03:45:05.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-07T06:25:04.000Z (10 days ago)
- Last Synced: 2024-11-07T07:26:20.638Z (10 days ago)
- Topics: cryptocurrency, decentralized, gin, go, hacktoberfest, p2p, peer-to-peer
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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.