1.0.30 • Published 3 years ago

culturestake-contracts v1.0.30

Weekly downloads
7
License
AGPL-3.0
Repository
github
Last release
3 years ago

CultureStake

CultureStake is a web-based voting system for cultural decision making and investment.

Credits

CultureStake is a Furtherfield/DECAL initiative.

Development

Requires node version 12

Clone down this repo and npm install

Copy the example env file and add your configuration details: cp .env.example .env

With ganache running (npm run ganache), in a new console window, node_modules/.bin/truffle compile then node_modules/.bin/truffle migrate

Note: This is a work in progress and this should be done only for contribution and exploration purposes.

Testing

Requires node version 12 npm test will re-build the contracts / tests and run all of the tests in the test directory.

Tests are executed with the help of Truffle and written in javascript using Mocha with the Chai assertion library.

When you run npm test a new local blockchain will be started with ganache-cli (unless you already have one running). The contracts will be deployed and the javascript tests will make transactions to this chain.

Helper functions defined in test/helpers provides functionality for more complicated tests such as: reading the event log, or checking for an EVM "revert / throw", or changing the blockstamp times.

License

GNU Affero General Public License v3.0 AGPL-3.0

1.0.30

3 years ago

1.0.29

3 years ago

1.0.28

4 years ago

1.0.24

4 years ago

1.0.23

4 years ago

1.0.22

4 years ago

1.0.19

4 years ago

1.0.21

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.10

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago