goCeler-oss

module
v0.0.0-...-ab58f20 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: GPL-3.0

README

Celer State Channel Network

This repo is the go/grpc implementation of the off-chain parts of Celer state channel network.

For more information regarding the Celer state channel architecture, please refer to https://www.celer.network/docs/celercore.

Instructions

Follow instructions in the binary folder.

Connect webclient locally

  1. Checkout celer-light-client.
  2. Update ospEthAddress to the OSP account address and ospNetworkAddress to the network address of the web proxy.
  3. Follow the README in celer-light-client.

Run OSP from source code

Requirements
  • go 1.12 or later
  • geth for generating keystore file
Steps
  1. update ./profile/ropsten.json gateway field to Ropsten RPC, eg. https://ropsten.infura.io/v3/xxxxx
  2. run geth account new --keystore . to generate new keystore file, rename it to ospks.json
  3. fund the address in ospks.json 11 or more ETH
  4. setup OSP onchain: go run setup/main.go -ks ospks.json -profile ./profile/ropsten.json -amt 10
  5. start OSP: go run server/server.go -profile ./profile/ropsten.json -ks ospks.json -rtc ./profile/rtconfig.json -routeData ./profile/routes/channels-ropsten-2020-02-12.json

Directories

Path Synopsis
util package to handle various types and hex string, bytes etc
util package to handle various types and hex string, bytes etc
Package rpc is a reverse proxy.
Package rpc is a reverse proxy.
Package main implements rpc server logic defined in rpc/rpc.proto
Package main implements rpc server logic defined in rpc/rpc.proto
cmd
rpc

Jump to

Keyboard shortcuts

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