balancednetwork / balanced-network-interface

An open-source interface for the Balanced Network protocol (https://balanced.network)
https://app.balanced.network/
22 stars 21 forks source link

Feat/add bsc & arb chain #1341

Closed 0xmilktea closed 2 weeks ago

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
balanced-network-interface ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 19, 2024 9:02am
parrot9design commented 1 month ago


Screenshot 2024-06-06 at 4 44 30 PMScreenshot 2024-06-06 at 4 44 46 PM


Thorswap allows you to see the wallet balance for multiple EVM chains, but you have to add each one explicitly.

Screenshot 2024-06-06 at 4 38 45 PM


hetfly commented 4 weeks ago
FezBox commented 4 weeks ago

Can confirm - after I connected my keplr wallet my screen went white image

parrot9design commented 4 weeks ago

For the sign-in modal:


Current Ideal
Screenshot 2024-06-11 at 9 30 11 AM Screenshot 2024-06-11 at 5 05 11 PM

No EVM-based wallet detected.

Add a wallet like [Hana](), [MetaMask](), or [Raby]() to your browser, then try again.


Outstanding from my previous comment:

AntonAndell commented 4 weeks ago

Hey, Could we also add BTCB and WTBC linked to BTC on this PR? BNB BTCB: 0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c ARB WBTC: 0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f

ICON BTC: cx07b184a37f03c6ab681fcbd0b45aec6dc3eafbeb

parrot9design commented 3 weeks ago

Sign-in modal


Other


Let's tackle these issues, in addition to the outstanding comments left by myself and Anton, then this PR should be ready to go. @swiftcc624 @0xmilktea If any of these items can't/won't be addressed before launch, please mention it here so I know where we stand.

parrot9design commented 3 weeks ago
hetfly commented 3 weeks ago

so it might be a good time to revisit which of ETH's many faces we use

I'd say the purple one with its own background, so it doesn't matter where it's shown.

Add a Close option to the modal when the screen size is below 600px

Updated, but there is a device check rather then width check, so you might not see it, depending on where you test.

parrot9design commented 3 weeks ago

Ok, here's what we need to take care of before we launch (ignore everything above unless I've called it out specifically):

Current Ideal
Screenshot 2024-06-11 at 9 30 11 AM Screenshot 2024-06-11 at 5 05 11 PM

No EVM-based wallet detected.

Add a wallet like Hana, MetaMask, or Raby to your browser, then try again.


As mentioned in Discord, the UI is taking a long time to register the state of transactions.


show 1 item per transaction in bridge activity

Thanks for this, @0xmilktea! We were planning to rework the design next week to accommodate the previous behaviour, but this keeps it simple.

parrot9design commented 3 weeks ago

Current Preferred
Screenshot 2024-06-17 at 10 23 57 AM Screenshot 2024-06-17 at 10 24 25 AM


parrot9design commented 3 weeks ago

https://github.com/balancednetwork/balanced-network-interface/assets/63842577/855288f9-4d21-49eb-8570-96a15e550baf

EDIT: when I have enough BNB to cover BNB Chain transactions, it works without issue. It's not clear what's causing this behaviour, though, so it would be better to prefill 0.0000 or something instead of appearing non-responsive.

parrot9design commented 3 weeks ago

When I try to swap or transfer ETH on BNB Chain, clicking Transfer in the confirmation modal doesn't trigger the wallet. I'm not sure what the gas requirement is for this transaction, but my balance is 0.03438 BNB and I have no issue when I swap/transfer bnUSD or BNB from BNB Chain.

FezBox commented 3 weeks ago

just tried to bridge eth from arbi to bsc and it has been pending for 7 minutes now - noticed this transaction has not shown up on xcallscan yet either image

parrot9design commented 3 weeks ago

My BSC <> ARB transactions are also stuck in a pending state (one for almost an hour now). I think it's related to ETH, though, as my last bnUSD transfer from ARB > BSC was done in 20 seconds.


0xmilktea commented 3 weeks ago

merge executeTransfer and executeSwap core logic into one internal function in archway and evm.

parrot9design commented 3 weeks ago

Still a few decimal-related issues to take care of:

Screenshot 2024-06-19 at 9 58 38 AM Screenshot 2024-06-19 at 10 25 44 AM Screenshot 2024-06-19 at 10 00 18 AMScreenshot 2024-06-19 at 10 15 29 AM


This is not the correct error message to display for this issue:

Screenshot 2024-06-19 at 11 34 15 AM

Unknown errors should use this message:

Couldn't complete your transaction. View common transaction issues.

Known errors should be more specific, and concise. This one should say:

Couldn't approve ETH transfer.

That's it. There's no reason to link to the docs, because that won't help them here.