Repository navigation
Conversation
Register the Hashi BTC token on Sui mainnet and its OFC counterpart. Ticket: SCAAS-12506
Contributor
Contributor
|
|
arvind-bg
force-pushed
the
scaas-12506-hbtc-mainnet-statics-sdk-coin-sui
branch
from
December 5, 2026 11:36
c06d92a to
5245166
Compare
Contributor
Author
|
@claude review this pr |
Contributor
|
Claude finished @arvind-bg's task in 20s —— View job Review of #10324: enable Hashi hBTC on Sui mainnet
Verdict: Looks good. I found no blocking issues. I read the diff but did not run tests or check the on-chain values. What I checked
Minor suggestions (non-blocking)
|
arvind-bg
force-pushed
the
scaas-12506-hbtc-mainnet-statics-sdk-coin-sui
branch
2 times, most recently
from
December 5, 2026 12:09
dc7fdad to
79934b9
Compare
arvind-bg
marked this pull request as ready for review
December 5, 2026 12:58
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
Add the mainnet Hashi config and select it by network instead of rejecting non-testnet coins. Classify Hashi calls to either the testnet or mainnet package; a transaction built for one network is still rejected when parsed on the other. Ticket: SCAAS-12506
arvind-bg
force-pushed
the
scaas-12506-hbtc-mainnet-statics-sdk-coin-sui
branch
from
December 5, 2026 13:30
79934b9 to
587a75a
Compare
arvind-bg
marked this pull request as draft
December 5, 2026 13:44
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Adds the mainnet hBTC token to statics and makes the Hashi support in
sdk-coin-suiwork on mainnet as well as testnet.statics
sui:hbtc("Hashi BTC", 8 decimals, coin type0xd30fb3f8914efdbeb7b8e85fae1d65dc584b44a1281f66737b92bb9f03a59d06::btc::BTC) withSUI_TOKEN_FEATURESofcsui:hbtc, its OFC counterpartUnderlyingAsset['sui:hbtc']sdk-coin-sui
0x8d110642d9b5133bd661cda4873edf135ab6b91ff6918601015880874b950e5d, initial shared version920727622, Bitcoin mainnet. The config is selected by network type, andgetHashiConfigthrows for any value that is not a network type.Values were checked against Sui mainnet on 2026-12-05. The package has a single version (1), so the original package ID is also the one called.
Issue Number
SCAAS-12506
Type of change
How Has This Been Tested?
mochainmodules/statics: 44,045 passingmochainmodules/sdk-coin-sui: 345 passingnpx eslinton the changed files: no errorstsc --noEmitinmodules/sdk-coin-sui: clean