Badger-Finance / Badger-Finance/gitcoin
Build Bitcoin Yield Strategies on Fantom, with the Vaults 1.5 Mix
- Dominant language
- No language data
- Stars
- 8
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Badger DAO's core mission is to bring Bitcoin to DeFi. Once it gets there, we need to offer competitive yields to our users. We are always looking for more great strategists to find/code new, SAFU strategies to extract yields on Bitcoin across all of EVM compatible DeFi (we currently have footprints on Mainnet, Polygon and BSC).
While we look forward to some good usable strategies out of this hack-a-thon, our real goal is to find great minds to continue to work with. Please keep this in mind when submitting, and put your best foot forward.
Write, Test and Deploy a Strategy for Bitcoin ERC20 (wBTC, tBTC, renBTC, sBTC, BTCb, hBTC, oBTC, etc) on Fantom for big prizes!
## Video version:
https://drive.google.com/file/d/1uMyOMOxqSGcI-lkIp4JbzxzgWbA-Wy_x/view?usp=sharing
## Bounty:
Develop a successfully Yield Farming Strategy, earn $2k in BADGER for valid submission, $3k for any strat that we decide to bring to our review board and another $3k for any Strategy we launch.
Up to $5k for any valid submission! (+ 3k bonus)
## List of Valid Submissions
- Geist Levered
- Scream Levered
- AAVE Levered
- Locking Vaults (locked 0xDao, locked Solidex)
### Levered Strats intuition
For these 3, given want, deposit in the Protocol, Lever up (by borrowing more of the same want and depositing again and again), harvest token rewards, auto-compound for more want
### Locked Strats intuition
Lock asset, vote, claim bribes and rewards for more underlying and [emit bribes to the badgerTree](https://github.com/Badger-Finance/badger-sett-1.5/blob/86a586cf30b806dc1ab7ea090f002e06a59d0706/contracts/BaseStrategy.sol#L281)
[More info about BadgerTree](https://docs.badger.com/badger-finance/badger-tree/tree-summary)
## Steps
- Use the Mix as Template https://github.com/Badger-Finance/badger-vaults-mix-v1.5
- Write your [Strategy.sol]
- Set up the [Configuration File] in `_setup/config.py`
- Specify checks for ordinary operations in [StrategyResolver] in `_setup/StrategyResolver.py`
- Write custom tests in `/tests`
## Requirements:
- Code Must Compile
- The Strategy must pass all tests, any submission without written tests will be scrapped, no exceptions.
- The Strategy needs to be profitable (give us an estimate of the yield it should make)
- The Strategy needs to have a brief introduction, explaining what it is supposed to do, the expected yield and the potential security risks. (See Example Submissions Below)
- You did deploy the strategy (gas refunds for winners) and the strategy is being profitable for you
- [Bonus Points] You wrote custom tests
- [Bonus Points] Visualization of Strategy
- [Bonus Points] You deployed for a week or two and it's been working
## Talk to us:
If you have questions/need help building your strategy you can find us in the hack-a-thon channel on our [Dev Discord](https://discord.gg/Tf2PucrXcE). Note that this is a bounty for senior solidity devs and we are quite busy, so we will answer one or two intelligent questions, but expect you to work independently on this project.
## DAO Contributor Hiring Policy
A bounty is the first step for longer term engagements with BadgerDAO, the successful applicants will be offered 1-1 bounties with the goal of onboarding them into the DAO as Core Contributor
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the badger-vaults-mix-v1.5 template, then read Strategy.sol, _setup/config.py, and _setup/StrategyResolver.py to understand the required integration points. Review the existing strategy examples and tests/ before choosing a Bitcoin ERC20 strategy for Fantom. Done means the strategy compiles, passes written tests, is deployed and profitable, with yield and security risks documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, solidity
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100