A simple decentralized file-sharing application powered by DolphinCoin.
- Go 1.17 or newer
- Linux-like terminal environment to run the servers in
- Adding btcd, btcwallet, and btcctl to your PATH environment variable
- MongoDB
- Clone the repository:
git clone git@github.com:MazenIbrahim1/PHAJAM.git
-
Install dependencies:
cd PHAJAM npm install
go back to the /PHAJAM directory after.
cd ..
-
Edit the
node_id
variable in dht/dht.go to be your SBU ID -
Running Servers: (Each server gets its own terminal, starting from /PHAJAM)
- BTCD
btcd --configfile=btcd/btcd.conf
- Wallet API Server
cd server go run .
- DHT Server
cd dht go run .
- Proxy server
cd proxy go run runProxy.go
- BTCD
- To run the app:
cd PHAJAM #(.../PHAJAM/PHAJAM) npm run dev