We’re going to realize an automated event organization blockchain platform. Our solution is a DApp, where participants can sign up, get their tickets and easily check in on the event. All these operations occur in the network of smart contracts and the entrance tickets are ERC721 tokens
If you want to run tests you need next dependencies
Clone this repository
git clone https://github.com/cyberacademia/cyberevents
Make sure that you run all next commands in the repository root
Install project node dependencies
npm install
To run all tests with npm
npm test
To run all tests with truffle
# <testrpc> : testrpc you're running (eg --network-ganache, in the truffle-config.js you can find all networks names)
truffle test --network-<testrpc>
To run the specified test
# <path-to-test> : path to the test file you're going to run (eg test/TestTicket.test.js)
truffle test <path-to-test> --network-ganache
Licensed under the MIT license, copyright © 2018 Cyber Academy