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.
In partnership with Protocol Labs, we’re excited to welcome builders from everywhere to APOLLO, your mission control to engage with the builder…
We’re excited to publically announce that Matic Network is partnering with Gitcoin to launch the Build-n-Earn Program – assisting dApps t…
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.
## Before you `start work`
Please read our contribution [guidelines](https://docs.marketprotocol.io/#contributing) and if there is a bounty involved please also see [here](https://docs.marketprotocol.io/#gitcoin-and-bounties)
If you have ongoing work from other bounties with us where funding has not been released, please do not pick up a new issue. We would like to involve as many contributors as possible and parallelize the work flow as much as possible.
Please make sure to comment in the issue here immediately after starting work so we know your plans for implementation and a timeline.
Please also note that in order for work to be accepted, all code must be accompanied by test cases as well.
### User Story
As a dev, I would like the dApp to only use market.js and remove all legacy interactions that happen directly with web3 / truffle contracts.
### Why Is this Needed?
*Summary*: Standardization across dApp and simplification.
### Current Behavior
Currently, we're using `web3` and `truffle-contract` ABIs in order to deploy contracts
### Expected Behavior
Refactor to use the existing functionality of deploying contracts via `MARKET.js`
*Summary*: update `deploy.js` to use MARKET.js library
### Definition of Done
- [ ] update /actions/deploy.js to use `deployMarketContractOraclizeAsync` and `deployMarketCollateralPoolAsync`
- [ ] update all tests
- [ ] clean up unused imports
### Additional Information
Once a call to deployMarketContractOraclizeAsync is made, we must wait for the transaction to be mined, and then determine the deployed address in order to then call `deployMarketCollateralPoolAsync`. There is a funciton in MARKET.js called `getDeployedMarketContractAddressFromTxHash` that should allow for us to get the deployed address in order for this to work.