Workers Auto Approve
Modify web3 interaction to allow for use of MetaMask
Our current implementation correctly allows for `MarketContract` deployment and test query interactions when using truffle or ganache environments for a web3 provider. The functionality does not work the same way when we attempt to use the injected web3 provider with MetaMask. We need to fix these calls to allow for interaction with MetaMask as we attempt to move from a local testnet to a public testnet like kovan or rinkeby
# Needed changes
See the `meta_mask` branch which has the injected web3 provider enabled. The two main pieces of functionality that need to be fixed are
- `actions/deploy.js` - we need to batch these transactions to allow the user to correctly authorize them in MetaMask, currently on the first transaction gets approved, and the rest do not proceed. See [here](https://web3js.readthedocs.io/en/1.0/web3-eth.html#batchrequest) for the documentation on creating batched transactions. Keep in mind all the transactions are dependent on the completion of the previous transaction completing.
- `actions/testQuery.js` - this works when injected web3 is disabled (as in the `master` branch). The testQuery is submitted and the result is retrieved when it becomes available. However when we enable an injected web3 provider, it allows the testQuery to be submitted, but the results never seem to be reported back to the user.
In order for this bounty to be released, all of the current functionality that works in regards to deploying contracts as well as creating test queries needs to be extended so we can use the MetaMask extension and web3. We hope to migrate this functionality onto a public test net in the near future. Thanks for your interest in our project!
Setup your profile
Tell us a little about you:
No results found for
Type to search skills..
Required [[totalcharacter]] / 240
Are you currently looking for work?
[[ option.string ]]
Setup your profile
Our tools are based on the principles of earn (💰), learn (📖), and meet (💬).
Select the ones you are interested in. You can change it later in your settings.
I'm also an organization manager looking for a great community.
Enable your organization profile
Gitcoin products can help grow community around your brand. Create your tribe, events, and incentivize your community with bounties. Announce new and upcoming events using townsquare. Find top-quality hackers and fund them to work with you on a grant.
These are the organizations you own. If you don't see your organization here please be sure that information is public on your GitHub profile. Gitcoin will sync this information for you.
Select the products you are interested in:
Out of the box you will receive Tribes Lite for your organization. Please provide us with a contact email: