GithubHelp home page GithubHelp logo

ethereumhn / hackathonmunon Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 3.0 8.77 MB

Decentralized hackathon that fosters your creativity and rewards you with tangible and transparent feedback.

TypeScript 56.87% JavaScript 9.36% HTML 17.29% Solidity 6.82% SCSS 9.65%
blockchain smart-contracts dapp ethereum solidity angular governance angular8 typescript truffle blockchain-technology

hackathonmunon's Introduction

Logo

Discord Travis

Hackathon Muñón: Dapp Edition

Hack, review and split the pot!

Hackathon Muñón: Dapp Edition is a decentralized event where creators gather to build, network and have a good time. Every participant is a judge and reviews their peers to split a pot. The pot is created and distributed in form of Ether with the help of this Ethereum smart contract and Angular frontend.

For more information, visit the wiki.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

  1. Install truffle, Angular CLI and an Ethereum client. If you don't have a test environment
npm install -g truffle
npm install -g @angular/cli
npm install -g ganache-cli
  1. Download the box. (if you want a boilerplate to make a proyect like this)
truffle unbox ng-es/angulartruffledapp
  1. Run your Ethereum client. For Ganache CLI:
ganache-cli

Note the mnemonic 12-word phrase printed on startup, you will need it later.

  1. Run the tests.
truffle test
  1. Compile and migrate your contracts.
truffle compile && truffle migrate
  1. Change the port in truffle-config.js
change the port in truffle-config.js 8545 in windows the port is 7545 but in linux the defaul port is  8545
  • Common errors and their solutions
Error Solution
Module not found: Error: Can't resolve '../../../../build/contracts/HackathonMunon.json' during ng serve Run truffle compile
Error: the tx doesn't have the correct nonce. in MetaMask Reset MetaMask: Settings -> Reset Account
Error getting balance; see log. in UI, with Error: MetaCoin has not been deployed to detected network (network/artifact mismatch) in browser console Ensure you have started ganache, run truffle migrate and configured MetaMask to point to ganache

Developped on top of Truffle Make Your Own Truffle Box and ng-es's Boilerplate.

Code contributions welcome!

  1. Fork it
  2. Add new features
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
  1. Create a pull request

Visit Landing Page

https://munonhack.com/

hackathonmunon's People

Contributors

antoniocardenas avatar crisgarner avatar dependabot[bot] avatar edsphinx avatar enano4k avatar magded avatar turupawn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hackathonmunon's Issues

Incentive participants to rate, and even re-rate

Currently, rating is not incentivized because you spend gas.
Maybe we could at least pre pay the gas fee or something...
Or maybe unlock a reward for rating

Also, it would be great to incentivize re-rating (aka correcting rates) this is for participants wishing to update they rates. This would depend on #12

Set Hackathon entry cost

Currently, the hackathon cost is set to 0.03 ether. This could be passed as parameter on the createHackathon function.

Rewrite in vyper

I like the contract, if you want I can rewrite it in vyper and merge the contribution

Hackathon inspector analytics

It would be helpful to create a tool to inspect the hackathon data such as:

  • check all submitted ratings
  • check how much points everyone has earned
  • check if someone forgot to vote

Add Hackathon name

Para que sea mas facil saber en el frontend en que hackathon se esta trabajando

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.