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
Have a look at a working prototype.
- Clone the repo and
npm install - Uncomment lines in following files to allow for local development with the HTTP requests:
app.module.ts: import statements and import declaration inNgModuleforHttpClientInMemoryWebApiModuleandInMemoryDataServiceevaulators.service.ts:private evaluatorsUrlorgs.service.ts:private orgsUrl
- Adjust environment variables as appropriate inside
src/environmentsfolder (i.e., add API keys) for Block Native and Etherscan integration (optional). ng serveand navigate tohttp://localhost:4200/
Run ng test to execute the unit tests via Karma. Run ng e2e to execute the end-to-end tests via Protractor.
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:
- API: https://github.com/fuguefoundation/ff-api
- Smart Contracts: https://github.com/fuguefoundation/ff-contracts
- Docs: https://github.com/fuguefoundation/ff-docs
This is an open source project. Contributions are welcomed & encouraged! 😄 If you'd like to improve the code base, please see Contributing Guidelines.
- Angular: v12
- Angular CLI: v12
- Node: v14

