Skip to content

fuguefoundation/ff-dapp

Repository files navigation

GitHub

About the Project

Fugue Foundation is a nonprofit dedicated to using open source, decentralized technology to achieve charitable goals rooted in the principles of effective altruism (EA). Read this blog post to learn more about the use case and architecture of our flagship project, the Fugue Foundation charitable donation platform and effective altruism research API.

This dapp also includes the following functionality, with more features on the way:

  • Data queries of EA charities through a RESTful API
  • Decentralized voting platform (Ropsten testnet) for registered voters
  • Link to crypto donation impact calculator
  • Explore on-chain data from the donation and voting contracts

Setup

Have a look at a working prototype.

  1. Clone the repo and npm install
  2. Uncomment lines in following files to allow for local development with the HTTP requests:
    • app.module.ts: import statements and import declaration in NgModule for HttpClientInMemoryWebApiModule and InMemoryDataService
    • evaulators.service.ts: private evaluatorsUrl
    • orgs.service.ts: private orgsUrl
  3. Adjust environment variables as appropriate inside src/environments folder (i.e., add API keys) for Block Native and Etherscan integration (optional).
  4. ng serve and navigate to http://localhost:4200/

Testing

Run ng test to execute the unit tests via Karma. Run ng e2e to execute the end-to-end tests via Protractor.

Integration

The live prototype is pulling data from a RESTful API, and the web3 occurs on smart contracts currently deployed to the Goerli Ethereum testnet. For more information, see these repos:

Contributing to the project

This is an open source project. Contributions are welcomed & encouraged! 😄 If you'd like to improve the code base, please see Contributing Guidelines.

Workspace

  • Angular: v12
  • Angular CLI: v12
  • Node: v14

References

About

Web3 Charitable Donation Platform and Effective Altruism Research API

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors