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/connect button updates #35

Merged
merged 7 commits into from
Dec 14, 2023

Conversation

bluecco
Copy link
Contributor

@bluecco bluecco commented Nov 24, 2023

No description provided.

@@ -0,0 +1,5 @@
import { Hex } from "../schemas/hexSchema"

export const uint256ToBigInt = (low: Hex, high: Hex): bigint => {
Copy link
Contributor

Choose a reason for hiding this comment

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

we do theoretically have this in starknet.js. Do we have that dependency in packages/ui?

Copy link
Contributor Author

@bluecco bluecco Nov 27, 2023

Choose a reason for hiding this comment

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

we do theoretically have this in starknet.js

I couldn't find this, but I'll check again when I'll work on this pr again

packages/ui/src/helpers/formatBalance.ts Outdated Show resolved Hide resolved
Base automatically changed from fix/restructure-project to feat/react-components November 27, 2023 12:03
@bluecco
Copy link
Contributor Author

bluecco commented Dec 14, 2023

@vladutjs pr updated with tests, we should discuss for the notifications component (will be done in a followup pr)

symbol: string
}

export function formatBalance(
Copy link
Contributor

Choose a reason for hiding this comment

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

can we use the same approach here as in argentx?

Copy link
Contributor

Choose a reason for hiding this comment

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

checkout prettifyNumber

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure, updated @vladutjs

@bluecco bluecco merged commit 8719926 into feat/react-components Dec 14, 2023
@bluecco bluecco deleted the feat/connect-button-updates branch December 14, 2023 16:47
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