A blockchain e-timetable project
It is now testing, please use Metamask and Rinkeby Test Network
Metamask: https://metamask.io/
Get some coin in test network: https://faucets.chain.link/
Example
https://ramwong.github.io/Owl-Calendar/
Run
- Get npm: https://nodejs.org/en/
- cd into extracted folder which contains file "package.json"
- npm install
- npm run dev
- browser http://localhost:3000
If you want to deploy your own
- update ./ethereum/deploy.js
const provider = new HDWalletProvider(
'REPLACE_WITH_MNEMONIC',
"https://rinkeby.infura.io/v3/36d64c099c50404692eb8be07f68db77" // for testing
// "https://mainnet.infura.io/v3/36d64c099c50404692eb8be07f68db77" // for production
);
- if you updated the contracts source file (./ethereum/contracts/E-timetable.sol), run
npm run compile
npm run deploy
How to use
Use Calendar:
- skip 1-3 if you already had/joined a calendar
- not a must to use with group
- Click "Manage Calendar"
- create a new Calendar or join a existing Calendar
- select joined calednar
- click on the date you want to add event
- fill and click create button
Use Group:
- skip 1-3 if you already had/joined a group
- Click "Manage Group"
- create a new Group or join a existing Group
- select joined group
- Use canledar
References
UI component:
- https://react.semantic-ui.com/
- https://github.com/jquense/react-big-calendar
- https://www.npmjs.com/package/react-datetime-picker
Github page: