etherboy-core

command module
v0.0.0-...-7ae6ecb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2018 License: BSD-3-Clause Imports: 8 Imported by: 0

README

Etherboy Smart contracts

This repo contains the smart contracts for the Etherboy Game.

For the Unity frontend see this game repo

Animation

Docs

Docs Site

Building

cd $GOPATH/src/github.com/loomnetwork
# clone into gopath
git clone git@github.com:loomnetwork/etherboy-core.git
# switch to the loom repo
cd $GOPATH/src/github.com/loomnetwork/etherboy-core
# build the contract plugin, cmd plugin and indexer
make

Running the node

# start the node
cd run
export LOOM_EXE="path/to/loom_executable'
$LOOM_EXE init
# modify genesis.json similar to below
./loom run 2>&1 | tee -a etherboy.log

Creating an account and running transactions

export ETHERBOY_CLI="/path/to/etherboycli"

# create a key pair
LOOM_CMDPLUGINDIR=cmds/ $ETHERBOY_CLI genkey -k priv

# send a create account tx
LOOM_CMDPLUGINDIR=cmds/ $ETHERBOY_CLI create-acct -k priv -u loom 

# send a set stage tx
LOOM_CMDPLUGINDIR=cmds/ $ETHERBOY_CLI set -v 1010 -k priv -u loom

Regenerating Protobufs

make proto

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
tools
Package txmsg is a generated protocol buffer package.
Package txmsg is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL