Note: Make sure to have solc
installed.
- Install dependencies
npm i
- Run Geth
npm run ethnode
- In a new terminal, run gsn
npm run gsn
- Copy paste the addresses of the contracts in the
config
file. - Deploy the Capture the Flag contract with
npm run deploy
. - Run the test with
npm run test
.