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.
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:
at the beggining, to load all the bounties.
after each submission (new bounty and apply button)
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: