Skip to content

Conversation

@tomiiide
Copy link
Contributor

This PR decouples bigmi chain ids from LI.FI internal chain ids during bigmi client creation.

part of lifinance/bigmi#31

export const toXOnly = (pubKey: Uint8Array) =>
pubKey.length === 32 ? pubKey : pubKey.subarray(1, 33)

export const lifiToBigmiChainId = (lifiChainId: ChainId): BigmiChainId => {
Copy link
Member

Choose a reason for hiding this comment

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

Let's rename to just toBigmiChainId and lifiChainId -> chainId

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

@tomiiide tomiiide marked this pull request as ready for review August 26, 2025 09:44
@chybisov chybisov merged commit aeb7d2a into main Aug 28, 2025
0 of 2 checks passed
@chybisov chybisov deleted the refactor-bigmi-chain-id branch August 28, 2025 08:02
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.

3 participants