Skip to content

Comments

Added test WBTC token support for Sepolia testnet#524

Open
suhasdasari wants to merge 2 commits intoerc7824:mainfrom
suhasdasari:main
Open

Added test WBTC token support for Sepolia testnet#524
suhasdasari wants to merge 2 commits intoerc7824:mainfrom
suhasdasari:main

Conversation

@suhasdasari
Copy link

@suhasdasari suhasdasari commented Feb 3, 2026

Summary

Adding support for Wrapped Bitcoin (WBTC) on Sepolia testnet.

Token Details

  • Name: Wrapped Bitcoin
  • Symbol: wbtc
  • Contract Address: 0x7d36f97fefac3d3ecffc7b45157b8ec1c01e8a57
  • Blockchain: Sepolia (Chain ID: 11155111)
  • Decimals: 18
  • Total Supply: 21,000,000 WBTC

Verification

  • Token is deployed on Sepolia
  • Contract is verified on Etherscan
  • Follows ERC20 standard
  • Configuration follows existing pattern

Use Case

This token is being used for hackathon development and testing on Yellow Network's sandbox environment.

Etherscan Link

https://sepolia.etherscan.io/token/0x7d36f97fefac3d3ecffc7b45157b8ec1c01e8a57

Summary by CodeRabbit

  • New Features
    • Wrapped Bitcoin (wBTC) token added on the Sepolia testnet, listed with 8-decimal precision.

@suhasdasari suhasdasari requested a review from a team as a code owner February 3, 2026 02:44
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @suhasdasari, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request integrates Wrapped Bitcoin (WBTC) for the Sepolia testnet into the system's asset configuration. This enables the use of WBTC for development and testing purposes within the Yellow Network's sandbox environment, particularly for hackathons, ensuring that a widely used token is available for simulated transactions and smart contract interactions.

Highlights

  • WBTC Support: Added support for Wrapped Bitcoin (WBTC) on the Sepolia testnet.
  • Configuration Update: Integrated WBTC token details, including contract address and decimals, into the assets.yaml configuration file.
  • Use Case: This addition facilitates hackathon development and testing within the Yellow Network's sandbox environment.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • clearnode/chart/config/sandbox/assets.yaml
    • Added a new asset entry for "Wrapped Bitcoin" (symbol "wbtc").
    • Configured the token for blockchain_id: 11155111 (Sepolia) with the address 0x7d36f97fefac3d3ecffc7b45157b8ec1c01e8a57 and decimals: 18.
Activity
  • The pull request was initiated by suhasdasari to add WBTC support for Sepolia.
  • The author provided a comprehensive description including token details, verification checks (deployment, Etherscan verification, ERC20 compliance, configuration pattern), and the intended use case for hackathon development.
  • An Etherscan link for the token was also provided for easy reference.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 3, 2026

📝 Walkthrough

Walkthrough

Adds a Wrapped Bitcoin (wbtc) token entry under Ether in clearnode/chart/config/sandbox/assets.yaml for Sepolia (blockchain_id 11155111) with address 0x7d36f97fefac3d3ecffc7b45157b8ec1c01e8a57 and decimals: 8; no other entries changed.

Changes

Cohort / File(s) Summary
Asset Configuration
clearnode/chart/config/sandbox/assets.yaml
Appended a new wbtc token entry under the Ether asset for Sepolia (blockchain_id 11155111) with address 0x7d36f97fefac3d3ecffc7b45157b8ec1c01e8a57 and decimals: 8. No existing entries removed or modified.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested reviewers

  • nksazonov
  • dimast-x

Poem

🐰 A tiny hop, a new token found,
Sepolia soil, a soft new sound.
WBTC tucked in the sandbox bed,
Decimals set, address is said.
Hooray — the chart now skips ahead! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding WBTC token support for Sepolia testnet, which is exactly what the changeset does.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Important

Action Needed: IP Allowlist Update

If your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:

  • 136.113.208.247/32 (new)
  • 34.170.211.100/32
  • 35.222.179.152/32

Reviews will stop working after February 8, 2026 if the new IP is not added to your allowlist.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds configuration for a Wrapped Bitcoin (WBTC) token on the Sepolia testnet. My review found a critical issue with the token's decimal configuration, which does not match the information on the blockchain explorer. I've also pointed out a minor formatting inconsistency. Please address the critical issue to ensure correct token value calculations.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@clearnode/chart/config/sandbox/assets.yaml`:
- Around line 28-33: Update the Wrapped Bitcoin entry: change the decimals value
for the token under name "Wrapped Bitcoin" / symbol "wbtc" from 18 to 8 and
replace the lowercase address "0x7d36f97fefac3d3ecffc7b45157b8ec1c01e8a57" with
the checksummed address "0x7D36f97FeFAc3d3eCFfC7b45157b8EC1c01E8a57" for the
token object that has blockchain_id 11155111 (Sepolia) so balances are
calculated correctly and formatting matches other entries.
🧹 Nitpick comments (2)
clearnode/chart/config/sandbox/assets.yaml (2)

32-32: Consider using checksummed address format for consistency.

Other token addresses in this file use EIP-55 checksummed format (e.g., 0xDB9F293e3898c9E5536A3be1b0C56c89d2b32DEb), but the new address is all lowercase. Using checksummed addresses helps prevent typos and maintains consistency.

Suggested change
-        address: "0x7d36f97fefac3d3ecffc7b45157b8ec1c01e8a57"
+        address: "0x7D36F97FeFAc3d3eCFfc7B45157B8ec1C01E8A57"

Note: Please verify the correct checksummed address from Etherscan before applying.


27-27: Minor: Remove trailing whitespace on blank line.

Line 27 contains a space character on what should be an empty line.

Suggested change
- 
+

@suhasdasari
Copy link
Author

Thanks for the review!

Fixed both issues:

  • Changed decimals from 18 to 8 (Bitcoin standard)
  • Removed extra blank line
    Updated commit pushed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant