This repository contains necessary infrasctucture for compiling and deploying one-2-n payment channel smart contracts. Implementation one-2-n payment channel smart contract can be found in file contracts/L2Dex.sol.
To compile all presented smart contracts for both Ethereum and QTUM just run compile.sh script:
compile.sh
Note that solidity
version 0.4.25 should be installed and available with command solc
.
Another tool which is required is abigen
. It can be installed with following commands:
go get -u github.com/ethereum/go-ethereum
cd $GOPATH/src/github.com/ethereum/go-ethereum
godep go install ./cmd/abigen