Grant Title:
Ethers.js v5 to v6 Upgrade and SDK Agnosticism for Cow Protocol
Author:
This implementation of the project will be carried out by: @AbhishekKochar
About You:
I’m a blockchain engineer with over 4 years of experience, specialising in working with multiple DeFi protocols. My expertise primarily lies in developer tools and smart contract development.
Additional Links:
Github: Abhishekkochar (Abhishek kochar) · GitHub
Grant Category:
Developer tools
Grant Description:
In response to this RFG, I aim to upgrade the @cowprotocol/cow-sdk
& cowswap
from ether-V5 to ether-V6.
This will also require me to do the following:
- Remove dependency on
@cowprotocol/contracts
package. Import all the necessary function to@cowprotocol/cow-sdk
. - Refractor
Cowswap
dependency from@cowprotocol/contracts
to@cowprotocol/cow-sdk
. - Investigating 3rd-party packages dependency on ether.js. Updating packages to appropriate version accordingly,
- Similar changes will be made on related sub-projects like
explorer
. - Thorough testing of updated projects in staging environments.
- Finalize documentation and migration guides.
- Deploy and monitor updated versions.
Note: Github repository will be public. Changes will be made to the existing repository.
ether-v6
will serve as a main branch. All changes related to this upgrade will be made to this branch.- Upon successful completion of the migration to Ether-V6, a PR will be created to push the changes to
main
branch.
RFP: Ethers.js v5 to v6 Upgrade and SDK Agnosticism for Cow Protocol
Funding Request:
A total of 15,000 EURO denominated in xDAI token (Gnosis Chain).
Milestones
Milestone | Task | Due Date | Payment | |
---|---|---|---|---|
Milestone 1 | Remove dependency @cowprotocol/contracts package on both @cowprotocol/cow-sdk and Cowswap along with passing affected tests. Migration to ether-v6 on both @cowprotocol/cow-sdk and Cowswap , along with existing passing and additional tests if required. |
2 weeks | 6000 EURO | |
Milestone 2 | Changes to all sub-projects like explorer . Update documents and examples |
1 week | 2000 EURO | |
Milestone 3 | Modular adapters for blockchain interactions, utilising both Ether.js and Viem, along with documentation. | 3 weeks | 7000 EURO | |
NOTE: Payment denominated in xDAI. |
Gnosis Chain Address (to receive the grant):
gno:0xa87a0BE15A8507e0e652f80B0f898301c9a7906D
Terms and Conditions:
By submitting this grant application, I acknowledge and agree to be bound by the CoW DAO Participation Agreement and the CoW Grant Terms and Conditions.