Giter Club home page Giter Club logo

tomteman / attendr Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 6.0 1.29 MB

An Ethereum decentralized application that helps event organizers prevent no-shows by requiring attendees to make a deposit into a smart contract in order to gain entrance to the event. Deposits are refunded upon arrival (by scanning the wallet address QR code). All funds of no-shows are transferred to a charity wallet address defined in the contract in advance.

Home Page: https://attendr.io

TypeScript 7.48% JavaScript 2.14% CSS 86.53% HTML 3.85%
blockchain dapp dapps decentralization decentralized decentralized-applications ethereum ethereum-blockchain ethereum-contract ethereum-dapp javascript portis smart-contracts truffle web3 web3js

attendr's People

Contributors

liebeskind avatar tomteman avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

attendr's Issues

TS error when running npm test

After npm install I tried npm test and here is the error

ERROR in /home/vagrant/repos/attendr/node_modules/@types/node/index.d.ts (73,13): Subsequent variable declarations must have the same type.  Variable 'require' must be of type 'any', but here has type 'NodeRequire'.

Running on node 8.11.2, npm 5.6.0

"My events"

Users should be able to easily see their events (both as event organizers and attendees).
Add a relevant method to the smart contract to fetch that data and call that method when the user goes to a new page called "my events".

Each event in that page should be on a material design card and clicking on it will fetch the attendees of that event, the charity address and the datetime it will end (add required smart contract methods if needed)

Improve charity funds release behaviour

  1. Event creation should have "Date" value (of when the event is over - date and time) - should also update front end to provide that value to the relevant contract method (should be provided by the event organizer)
  2. Charity funds should be automatically released after 48 hours of event date - remove current manual release by event organizer
  3. Frontend should fetch ether value in USD from a public API and display that value alongside the ether value in the relevant pages (create event and register to event)

Optimize and add features to EventStorage contract

  1. Update contract code style to latest solidity specifications
  2. Optimize contract performance
    1. replace return as code breaks with assert statements
    2. Remove name from Attendee object and all relevant methods in the contract and update frontend app so it will not be required (in the future - to be saved off chain). List of attendees should return the addresses.
    3. Currently, all funds of all events are stored together in the contract - this should be improved, as it is probably a security concern.
    4. Find and fix additional inefficiencies

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.