Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(sbtc): display sbtc balance market data #5991

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

kyranjamie
Copy link
Collaborator

@kyranjamie kyranjamie commented Nov 27, 2024

Try out Leather build 190d197Extension build, Test report, Storybook, Chromatic

This PR ensures sBTC displays correctly, with market data.

There are several design variants I'm not entirely sure which we should go for. No icon for now because apparently there's a new one on the way.

I'm a bit uncertain how we should handle sBTC specific behaviour. Either we can treat is separately from other SIP-10s or, manipulate the data/events we pass to the SIP-10 components such that it displays/behaves as we expect. Trying to avoid lots of if (symbol === 'sBTC')-like code.

@kyranjamie kyranjamie force-pushed the feat/display-sbtc branch 5 times, most recently from e1fff05 to 949532f Compare November 27, 2024 18:51
@kyranjamie kyranjamie force-pushed the feat/display-sbtc branch 4 times, most recently from cf5e2f4 to ac141e6 Compare November 29, 2024 14:19
@@ -181,7 +181,7 @@
"@stacks/profile": "6.15.0",
"@stacks/rpc-client": "1.0.3",
"@stacks/storage": "6.15.0",
"@stacks/transactions": "6.17.0",
"@stacks/transactions": "7.0.2",
Copy link
Contributor

Choose a reason for hiding this comment

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

I am hitting a lot of errors with @stacks/transactions imports with this change, what am I missing?

Copy link
Contributor

Choose a reason for hiding this comment

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

All good if I revert it back...

Screenshot 2024-11-30 at 1 23 40 PM

Copy link
Contributor

Choose a reason for hiding this comment

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

I see we prob need lib update for the sbtc tx. Still looking thru this so ignore me, haha.

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