Skip to content
Rock-paper-scissors with Raiden Network, on Ethereum. Star Wars flavored.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
server
LICENSE
README.md

README.md

cryptowars

To play the game, you need to install the client part on your local computer, which runs a Raiden node:

git clone https://github.com/loredanacirstea/cryptowars.git
cd cryptowars/client
npm install
npm run serve

Then go to http://127.0.0.1:8080/ to play the game!

The game client will need to make Raiden payments on your behalf, so you need to run Raiden with the correct --rpccorsdomain flag. Currently, the game server runs on Raiden version raiden-v0.18.1.dev57+g786347b2-macOS - you can find installation instructions here: https://github.com/raiden-network/workshop.

Start your local Raiden node with:

./raiden-v0.18.1.dev57+g786347b2-macOS --network-id kovan --environment-type development --accept-disclaimer --gas-price 20000000000 --eth-rpc-endpoint "https://kovan.infura.io/v3/ebca4c2a0f4b4cf9ba4669ac26d3dde2" --log-config "raiden:debug" --keystore-path ~/Library/Ethereum/kovan/keystore --rpccorsdomain http://127.0.0.1:8080,http://localhost:*/* --api-address http://127.0.0.1:5010

May the tokens be with you!

You can’t perform that action at this time.