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(wallet): use atomWithStorage for walletStarknetkitLatestAtom #26

Merged

Conversation

espaciofuturoio
Copy link
Contributor

@espaciofuturoio espaciofuturoio commented Jan 24, 2025

Pull Request

Changes description

Replace the current atomWithReset implementation with atomWithStorage; it uses local storage to save the current wallet config.

Current output

session.mp4

Time spent breakdown

2 hours.

Comments

Refs:
https://www.argent.xyz/blog/integrating-the-starknetkit-sdk-in-your-dapp
https://jotai.org/docs/utilities/storage

@espaciofuturoio espaciofuturoio force-pushed the ruben/feat/atomWithStorage branch from 9997b3b to beb5ede Compare January 24, 2025 22:18
@adrianvrj adrianvrj linked an issue Jan 27, 2025 that may be closed by this pull request
@adrianvrj
Copy link
Member

@espaciofuturoio can you add a commit (just adding a comment or something like that) and add in the issue number in the commit message? ex: #21 using atom with storage

@adrianvrj adrianvrj merged commit 5ec25d6 into undefinedorgcr:dev Jan 27, 2025
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.

[feat] Update get wallet Atom Hook in connectwallet.ts
2 participants