Boilerplate and tests for the first Solidity Gas Golfing Contest
Go to file
emizzle 08bd865c98
chore: add embark v5 deprecation notice
2019-11-25 16:28:45 +11:00
contracts initial commit 2018-05-24 12:11:29 -04:00
data initial commit 2018-05-24 12:11:29 -04:00
test update to embark 3.1 2018-07-08 12:23:36 +03:00
.gitignore initial commit 2018-05-24 12:11:29 -04:00
README.md chore: add embark v5 deprecation notice 2019-11-25 16:28:45 +11:00
contracts.js update to embark 3.1 2018-07-08 12:23:36 +03:00
embark.json feat(sggc): Add support for Embark 4.0.0 2019-03-27 09:36:11 +09:00
package.json feat(sggc): Add support for Embark 4.0.0 2019-03-27 09:36:11 +09:00

README.md

1st Solidity Gas Golfing Contest

The Solidity Gas Golfing Contest is a competition for Solidity coders to produce the most gas-efficient code they can for a series of straightforward challenges. The 1st SGGC will run from 23 May to 30 June 2018.

For more details, and entry instructions, see the competition site at g.solidity.cc.

This repository contains boilerplate for the contracts for each of the five challenges, along with test vectors and runners to test your implementation against before submitting it.

Note that constructor code will not be run, and state will not persist between tests.

Installation

Clone this repository and install its dependencies:

git clone https://github.com/embark-framework/sggc.git
npm install -g embark@4.1.1

Please note: Support for this template has been deprecated in Embark v5.

Usage

Implement one or more of the contracts in the contracts directory. Run the corresponding test with embark test; for instance, if you implemented Sort, run:

embark test test/Sort.js

You can also run all the tests with:

embark test

If all the tests pass, you can submit your entry at g.solidity.cc and see how it stacks up against the competition!