Tellus-Cooperative / bountyhunter

The project is an open source bounty hunting application that allows users to post and apply for jobs using their Stellar Blockchain wallets. The application uses Soroban Smart Contracts written in Rust and NextJS for the frontend.
https://bountyhunter-eight.vercel.app/
MIT License
2 stars 0 forks source link

Use React Context for array of bounty objects. Also use async fetch #6

Closed esteblock closed 1 year ago

esteblock commented 1 year ago

We will construct the array of Bounty objects making calls to the blockchain. This will take some time. For now, we can create a dummy array (.json) and place it somewhere, so we can call some fetch and simulate the blockchain calls. This function will save this array in a React Context, so we can take the array from everywhere in the app.

This function will be called: