Development resources at your finger tips
Build with the coolest Web3 projects
Recurring funding for Open Source
Learn about Web3 & earn rewards
Show appreciation for each other
Meet fellow developers, designers, futurists and more. Collaborate and BUIDL awesome projects together.
Discover great web3 organizations, work on meaningful projects and build relationships with like minded people. Browse Tribes
Meet the top hunters and contributors from our community.
Heyo, Gitcoiners! May is over, along with our biggest, coolest, most impactful hackathon to date – New York Blockhain Week. It was the best of …
Hello, Gitcoiners! At Gitcoin, we love bringing good news — new projects built, relationships formed, skills learned. Even better when we find …
Gitcoin is GDPR complaint. Learn more in
Gitcoin's Terms & Conditions.
Check out the Issue Explorer
Looking to fund some work? You can submit a new Funded Issue here.
1. Incorporate API calls to the Kraken exchange ([API docs](https://www.kraken.com/features/api#get-ticker-info) - no API keys required) to get live price feed of [BTCUSD](https://api.kraken.com/0/public/Ticker?pair=XBTUSD), [ETHUSD](https://api.kraken.com/0/public/Ticker?pair=ETHUSD), and [DAIUSD](https://api.kraken.com/0/public/Ticker?pair=DAIUSD) trading pairs. These links are the API data you'll need to call, but we only care about the price. This value should appear properly inside the Grid ([where value goes in the code](https://github.com/fuguefoundation/ff-impact-calculator/blob/0b3d43034b1d40d8fb4774c82bbc06d6f4d36e6c/src/components/CryptoRichAmI/index.js#L155), make the UX/UI consistent with app) and update as the user changes the amount of their donation.
2. Write a test (in Jest) for this API capability.
3. The user should be able to enter a donation with up to two decimal points (e.g., .01 BTC, 2.25 ETH) and have the calculations in the app still work properly. I believe the problem of input is related to some validation/regex in [`index.js`](https://github.com/fuguefoundation/ff-impact-calculator/blob/0b3d43034b1d40d8fb4774c82bbc06d6f4d36e6c/src/components/CryptoRichAmI/index.js#L64) in either the `parseNumericInput` or `validInteger` functions. I'm not sure if adding decimals subsequently screws up the math, but please ensure that adding decimals still enables the full calculation abilities of the app.
I have a [working prototype](https://fuguefoundation.org/dev/impact) of the app for reference. See the README.md file in the repo for more information and background.