Skip to content

feat: add BSC chain helper#308

Merged
mattsse merged 1 commit into
mainfrom
mattsse/add-is-bsc-helper
Jul 15, 2026
Merged

feat: add BSC chain helper#308
mattsse merged 1 commit into
mainfrom
mattsse/add-is-bsc-helper

Conversation

@mattsse

@mattsse mattsse commented Jul 15, 2026

Copy link
Copy Markdown
Member

Adds is_bsc(&self) predicates to both NamedChain and Chain, backed by a bsc registry tag for BNB Smart Chain mainnet and testnet. This lets callers identify BSC-family chains without duplicating variant matches while keeping the generated registry as the source of truth.

@grandizzy grandizzy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@mattsse
mattsse merged commit a14deca into main Jul 15, 2026
21 checks passed
@mattsse
mattsse deleted the mattsse/add-is-bsc-helper branch July 15, 2026 13:36
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.

2 participants