Git Product home page Git Product logo

cleanvote's Introduction

Clear Vote

Blockchain Learning Circle 스터디그룹의 결과물로, 이더리움에서 동작하는 Voting App을 만들었습니다. Atlantis의 새로운 대통령 후보를 선출하는 DApp(탈중앙화된 앱)으로, 스마트 컨트랙을 작성하여 Rinkeby 테스트 네트워크에 배포하였습니다.

Architecture

Clear Vote 앱의 Architecture는 다음과 같습니다. Voting 기능을 수행하는 스마트 컨트랙을 작성하여 이더리움의 Rinkeby 네트워크에 배포를 했고, Web3.js를 이용하여 Ethereum과 통신합니다. 001

DApp의 모습

프론드엔드 구성은 React를 이용하였고, 서버사이드 랜더링을 위해 Next를 함께 사용하였습니다. 투표를 할 수 있는 메인화면과, 현재 누가 가장 많은 표를 얻었는지 확인할 수 있는 Status 화면, 새로운 후보를 등록할 수 있는 Candidate 화면으로 구성되었습니다. Campaign 및 Register to vote는 아직 구현하지 못하였습니다.

[Home] 002 원하는 후보를 선택하고 Voter 옆의 텍스트박스에 자신의 Rinkeby Account 주소를 넣으면 투표하실 수 있습니다.

[Status] 003 Status 버튼을 누르시면 누가 가장 많은 표를 얻었는지 실시간으로 확인하실 수 있습니다.

[Candidate] 004 Candidate 화면에서는 새로운 후보를 등록할 수 있습니다. 단, 새로운 후보 등록은 Owner만이 할 수 있도록 제한되어 있습니다. (즉, 메인화면에서 주황색 박스에 표기되어있는 0x152cf54f29E36bbC2f32f838056F6225C0aFce72 주소의 주인만이 후보자 등록을 할 수 있습니다.)

Contributing

CleanVote 프로젝트에는 아래 사진의 판타스틱4 멤버들이 함께했습니다.

005

cleanvote's People

Contributors

angie4u avatar kay2live avatar

Watchers

James Cloos avatar  avatar

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.