Skip to content
프로젝트

소개

Play decentralised chess on the Ethereum blockchain!

비즈니스 및 금융

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

On Chain Chess

Stories in Ready

This application can be used to play chess over the Ethereum block-chain. It is build in the scope of a project of the ise TU Berlin.

Information

This is loosely based on ethereum-webpack-example-dapp.

How to run

  1. Run a local Ethereum node with JSON-RPC listening at port 8545 (default). testrpc would be the most straight-forward method.
# Using testrpc (recommended)
testrpc

# -----------OR-----------

# If you are running Geth, 
# make sure to run in testnet or private net and enable rpc
geth --testnet --rpc
  1. Install dependencies
npm install
  1. Run, during development
npm start

This starts the build process and also a local dev server. Open the given URL in your favorite web browser.

Webpack is now started in watch mode, any changes done at JavaScript or Solidity files will automatically rebuild the affected modules.

  1. Run SHH proxy, for P2P functions to work

  2. Build, for deployment

npm run build

Only index.html and bundle.js are required to be hosted and served.

  1. Run tests
npm run test
  1. You can run only one test file if you like: npm test -- test/test_elo.js

FAQ

  • Deployment fails with out-of-gas
    When using testrpc, try raising the gas limit. Install any version newer than this: npm install -g git://github.com/ethereumjs/testrpc.git#b3ec03eb8e2615453adcea7a93188ceb578a4094 and then run with testrpc -l 4000000, for example.

관련 프로젝트 살펴보기

불러오는 중…