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

Refactor chain connections to share the one interface #1239

Open
alecdwm opened this issue Dec 31, 2024 · 0 comments
Open

Refactor chain connections to share the one interface #1239

alecdwm opened this issue Dec 31, 2024 · 0 comments
Assignees
Labels

Comments

@alecdwm
Copy link
Member

alecdwm commented Dec 31, 2024

Most of the UI is using this recoil atom, refactoring it into a facade around the jotai apiPromiseAtom will cover most cases.

// TODO: Convert this into a facade for the `@/domains/common/atoms/apiPromiseAtom.ts` atom.
//
// That atom is superior to this one because:
// a) It uses jotai (our preferred state management tool) instead of recoil.
// b) It proxies websocket requests through to Talisman Wallet,
// so that users can maintain the one websocket connection per chain across both Talisman Wallet and Talisman Portal.
// For Talisman Wallet users, this means there will be zero websocket overhead when browsing Talisman Portal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant