-
Notifications
You must be signed in to change notification settings - Fork 12
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: Add tokens to Wallet #133 - USDV 👛 🔵 #169
base: main
Are you sure you want to change the base?
Conversation
…' on higher icon size #tasty
…rted!), fix CSS for small screen devices on #DIY instructions & badges, add hover toggle on Token items to set current active token for #DIY, add clipboard 'easy copy-pasta' handler for contract address badge + cleanup
…fig boilerplate & code lines #DRY
…s both dark & light variants)
…rovider hook helpers
… add popup-request, refactor page to use new Container & Row components #simplify #prettify
…dd route link to /tokens page + hide button in wallet context menu when route matches #minimal
…nVader side, we have 🌚🍪🌝
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/vaderprotocol/vader-dapp/CkAxB33h6dAA837izVBhJTspWZ8W |
You don't need any of these
because the information you look for is already in const wallet = useWallet() |
Yes & no. It's faster, and i'm using both of them in the app, |
useWallet contains everything that you need. You can even find if it's Metamask. The wallet object should be used in all such cases whenever possible. The wallet object is properly propagated thus can be used and updated from anywhere. This might introduce inconsistency between components. We don't use global state management for reason here. Spawning extra timeouts for such minor things is a waste of resources. |
…provider info), rename old hook 'anytime' (doesn't require wallet to be connected)
…Provider & detectMetaMask hooks
…oken component - can't detect ahead anymore if meta, needs connected status :(
Hello Comrade,
I agree that we should use The problem with Also: This is the same package that I used to build the Anyways :) For the sake of 'consistency':
For the Ξmpire! @yellowgh0st : Thoughts ? |
e016301
to
9d1a9aa
Compare
# Conflicts: # src/components/WalletConnectionToggle.js # src/messages.js
@yellowgh0st : Merged / synced with latest |
Ok
Ok this is very solid argument. I haven't realized that. It would allow us to do things before they init.
Yes, I know that's why I have seen it redundant. |
From a design perspective, I still have an issue with this because having such dedicated space for such a minor feature seems wrong to me. The elements you are using I have been adding with the intention to reserve them for core features so they can stand out. |
I suggest putting that into the context menu and making it more comprehensive or alternatively spawn a modal window. |
Indeed ;) #iddqd #cheats
Aren't tokens a
It is in the context menu, but instead of 3 buttons (for each token), they are grouped under 1 button that opens the The reason(s) for this and why not a modal or 3 tokens buttons (thought of that initially) :
¯\_(ツ)_/¯ |
@yellowgh0st : Ship it, Captain? 🚀 |
46a333e
to
6b09771
Compare
# Conflicts: # src/messages.js
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Issues solved in this PR:
logoURI
to use SVG #crips #pixelzDepends on: PR #168 + future branch
feat/enableUSDV
to be merged first.Preview: