You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds Hardhat configuration and example scripts for deployment and on-chain operations, including native transfer, ETH wrapping, and Uniswap V3 swap.
Why
This update enhances developer experience by providing complete setup and runnable examples for testing and integrating the Transfers contract. It ensures that developers can quickly deploy and interact with the protocol without manual configuration or missing dependencies.
How
Added missing Hardhat configuration for deployment and verification
Included Permit2 contract used by Transfer but missing from the repository
Added example scripts for deployment, native transfers, wrapping, and Uniswap V3 swaps
Hey, I tried your solution — here’s what I noticed:
Contract verification issue with Sourcify
Successfully verified contract Transfers on the block explorer.
https://sepolia.etherscan.io/address/<>
Verification failed: Failed to send contract verification request.
Endpoint URL: https://sourcify.dev/server
The HTTP server response is not ok. Status code: 400 Response text: {"error":"Invalid or missing sources in Transfers:\nMissing sources: contracts/interfaces/ITransfers.sol\nInvalid sources: ","message":"Invalid or missing sources in Transfers:\nMissing sources: contracts/interfaces/ITransfers.sol\nInvalid sources: "}
Since the contract was already verified on Etherscan, I just disabled Sourcify in hardhat.config.js.
There’s an unused env var: VALUE_WEI.
The Quoter address for V2 and V3 derived from the same env var, and the provided ABI I found incorrect for eth mainnet - I had to rewrite the quoting logic completely to make it work.
Overall, thanks for sharing the example - it was a good starting point.
Review Error for Nickwittastick23 @ 2025-12-15 08:47:50 UTC
User failed mfa authentication, either user does not exist or public email is not set on your github profile. \ see go/mfa-help
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds Hardhat configuration and example scripts for deployment and on-chain operations, including native transfer, ETH wrapping, and Uniswap V3 swap.
Why
This update enhances developer experience by providing complete setup and runnable examples for testing and integrating the Transfers contract. It ensures that developers can quickly deploy and interact with the protocol without manual configuration or missing dependencies.
How
Transferbut missing from the repository