This is the front-end repo for Hector that allows users be part of the future of Greece.
Required:
$ git clone https://github.com/Hector-DAO/HectorDAO.git
$ cd hectordao
# set up your environment variables
# read the comments in the .env files for what is required/optional
$ cp .env.example .env
# fill in your own values in .env, then =>
$ yarn
$ yarn start
The site is now running at http://localhost:3000
!
Open the source code and start editing!
The app is written in React using Redux as the state container.
The files/folder structure are a WIP and may contain some unused files. The project is rapidly evolving so please update this section if you see it is inaccurate!
./src/
โโโ App.tsx // Main app page
โโโ abi/ // Contract ABIs from etherscan.io
โโโ actions/ // Redux actions
โโโ assets/ // Static assets (SVGs)
โโโ components/ // Reusable individual components
โโโ constants.js/ // Mainnet Addresses & common ABI
โโโ contracts/ // TODO: The contracts be here as submodules
โโโ helpers/ // Helper methods to use in the app
โโโ hooks/ // Shared reactHooks
โโโ themes/ // Style sheets for dark vs light theme
โโโ views/ // Individual Views
- Join our Discord and ask how you can get involved with the DAO!