Abstract Comment
This bounty will enable interactions with the new PoolTogether Prize Pool on Optimism through app.pooltogether.com, tools.pooltogether.com, v4-client-js
, PoolTogether Contract Address CloudFlare Worker and add data to the Zapper API. This is in support of Project: Optimism.
Motivation
Optimism is an Ethereum L2 with significantly lower transaction costs than Ethereum. Our Ethereum users will be able to migrate their funds to Optimism to take advantage of lower fees.
Additionally, Optimism is launching an incentive program for dapps. By deploying, PoolTogether will become eligible to receive incentives.
Rationale
We need to update our app to support Optimism!
Deliverables
There are two sets of deliverables for this bounty. The deliverables in this bounty are ordered and build upon each other. You can work on all of this locally without them being deployed by using yalc. You can then present each individual step for approval.
First Set of Deliverables (Testnets)
@pooltogether/v4-pool-data
Pull Requestv4-pool-data
needs an updated testnet contract list that include the new deployments. This will come from PTB-1: Deploy USDC Prize Pool to Optimism.@pooltogether/react-components
Pull Request- Add an image for the Optimism Kovan network (you can add the image for Optimism at this step as well)
- Add the image & update the
NetworkIcon
component @pooltogether/wallet-connection
Pull Request- Update to the latest
@pooltogether/react-components
- Fix the Optimism chain id in constants
- Ensure the RPC works with Infura keys
v4-ui
Pull Request- Update to the latest
v4-pool-data
- Update to the latest
@pooltogether/react-components
- Update to the latest
@pooltogether/wallet-connection
- Ensure the
config
accounts for the new deployments tools-ui
Pull Request- Add supported chain id and TWAB Delegator to the
config
for the TWAB Delegator
Second Set of Deliverables (Mainnets)
@pooltogether/v4-pool-data
Pull Requestv4-pool-data
needs an updated mainnet contract list that includes the new deployments. This will come from PTB-1: Deploy USDC Prize Pool to Optimism.@pooltogether/react-components
Pull Request- Add an image for the Optimism network if it was not already added
- Add the image & update the
NetworkIcon
component @pooltogether/wallet-connection
Pull Request- Update to the latest
@pooltogether/react-components
if it was not already updated - Fix the Optimism chain id in constants
- Ensure the RPC works with Infura keys
v4-ui
Pull Request- Update to the latest
v4-pool-data
- Update to the latest
@pooltogether/react-components
if needed - Update to the latest
@pooltogether/wallet-connection
if needed - Ensure the
config
accounts for the new mainnet deployments tools-ui
Pull Request- Add supported chain id and TWAB Delegator to the
config
for the TWAB Delegator
Skills
Required
- Javascript & Typescript
Nice to Haves
- PoolTogether Architecture
- React, Next.js
Reviewers
Dylan and Chuck will be reviewing the submission and are available for mentorship.
Budget
Total: $4000 USD
Split: $3,500 USDC and $500 USD of POOL
Estimated Time: 3 days
Timeline:
- 50% will be paid after the Optimism-Kovan deployment
- 50% will be paid after Optimism-Mainnet deployment
Payout will be at full discretion of the reviewers. The requirements of the bounty and expectations of the reviewers must be met for the contributor to receive payment. It’s recommend to be in regular communication with the Bounty manager.
Recruitment
Referral Reward: 100 POOL
Know someone that can do it? Connect us with a qualified candidate. If that person is selected to complete the bounty, then you will be paid upon successful bounty completion. Reach out to Brendan for more info.
Additional Resources
Docs
Repos