Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0age/thecyberclubhousedapp
A frontend for granting admission to events based on valid contract events from theCyberClubhouse.
https://github.com/0age/thecyberclubhousedapp
dapp ethereum ethereum-contract ethereum-dapp frontend react web3
Last synced: 26 days ago
JSON representation
A frontend for granting admission to events based on valid contract events from theCyberClubhouse.
- Host: GitHub
- URL: https://github.com/0age/thecyberclubhousedapp
- Owner: 0age
- License: mit
- Created: 2018-05-12T03:38:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-12T04:00:25.000Z (over 6 years ago)
- Last Synced: 2024-11-07T19:52:04.628Z (3 months ago)
- Topics: dapp, ethereum, ethereum-contract, ethereum-dapp, frontend, react, web3
- Language: JavaScript
- Homepage: https://thecyberclub.house
- Size: 19.5 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# theCyberClubhouseDapp
A proof of concept for a dapp that grants admission to a clubhouse (or any event or area). The prospective attendee requests a ticket, which the dapp will only approve once it detects a `GrantAdmission` contract event with a passphrase string equal to the passphrase associated with the ticket. The clubhouse only allows transactions originating from theCyber to trigger said event. Note that the clubhouse dapp subscribes to contract events but does not actually sign or broadcast any transactions.
To run a development version of the frontend (It will use infura's websocket by default, you can include a `REACT_APP_WEB3_PROVIDER` environment variable pointing to another web3 provider that will override it):
```
$ PORT=3001 yarn start
```To build the production frontend (compiles to `build` folder), set the `homepage` field in `package.json` followed by:
```
$ yarn run build
```Feel free to collaborate!