Welcome to Blockscape, a distributed application developer framework leveraging Blockchain technology. The project is still pre-alpha, and lacks a comprehensive reference implementation for widespread use. There is no public blockchain at this time. We provide a minimal checkers database application as a proof of concept.
This repository includes an in-development reference implementation--a video game--demonstrating much of the usecase for the platform.
This project is still in active development, but we are happy to accept quality code. Please open a merge request to do so.
Using Docker, build a simple checkers PoC DApp:
cd scripts
./build-dockerTo run:
docker run -d --rm --net host --name blockscape dcr.buyme360.com/plu-capstone/blockscape -F -h <your network IP> --rpcbind 0.0.0.0 --seed-node <optional remote IP>:35653Or for a more convienient command:
./start-blockscape-standalone.shEnsure UDP traffic on port 35653 is unfiltered between nodes.
To play checkers, first get your player ID, and optionally the opponents:
# get public key identifier for the play registered on the current node. You will need this later!
./run-blockscape-standalone register_my_playerPlay a game against yourself:
# see the current state of a checkers game
./run-blockscape-standalone get_checkers_board 0 0
# start the game and play a move
./run-blockscape-standalone new_checkers_game 0 0 <id returned from register earlier>
./run-blockscape-standalone play_checkers 0 0 d6 move NW
# to do a 3-point jump
./run-blockscape-standalone play_checkers 0 0 d6 jump NW SW NWWith larger networks, other players can register themselves and you can start a game with them arbitrarily.