Skip to content

MathPoem/wisdom-of-work

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt text

wisdom-of-work

This is a client and a protected with the Proof of Work protocol TCP server.

Hashcash chosen as a proof-of-work algorithm as it is a simple and effective way to prevent spam and DDoS attacks.

Hashcash is a proof-of-work system that requires a client to solve a cryptographic puzzle before it can send data to the server.


Usage

Enshure you have docker desktop installed


👜 👜 👜 copy .env file 👜 👜 👜

cp ./server/.env.example ./server/.env
cp ./client/.env.example ./client/.env

🚒🚒🚒 create SERVER container 🚒🚒🚒

docker compose up -d server

🔌 🔌 🔌 create CLIENT container 🔌 🔌 🔌

docker compose up -d client

🎬🎬🎬 look at the logs 🎬🎬🎬

docker compose logs -f server
docker compose logs -f client

About

Learn the wisdom of work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors