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
Run OSP with pre-built docker image (recommended)
Follow instructions in the binary folder.
Connect webclient locally
- Checkout celer-light-client.
- Update
ospEthAddress
to the OSP account address and ospNetworkAddress
to the network address of the web proxy.
- Follow the README in celer-light-client.
Run OSP from source code
Requirements
- go 1.12 or later
- geth for generating keystore file
Steps
- update ./profile/ropsten.json
gateway
field to Ropsten RPC, eg. https://ropsten.infura.io/v3/xxxxx
- run
geth account new --keystore .
to generate new keystore file, rename it to ospks.json
- fund the address in ospks.json 11 or more ETH
- setup OSP onchain:
go run setup/main.go -ks ospks.json -profile ./profile/ropsten.json -amt 10
- 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