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

BSC improvements #2729

Merged
merged 12 commits into from
Dec 9, 2022
Merged

BSC improvements #2729

merged 12 commits into from
Dec 9, 2022

Conversation

kkosiorowska
Copy link
Contributor

@kkosiorowska kkosiorowska commented Dec 7, 2022

Closes #2569

This PR adds support for Binance Smart Chain by including some improvements.

Changes in PR

  • Coming Soon page for Gas Price Adjust
  • ENS Name Resolution
  • rename constant for MetaMask
  • add bscscan.com to impersonate MetaMask list
  • Gas Price Preview
  • Improving NFTs support

UI Changes in PR

Screenshot 2022-12-07 at 09 23 40

Screenshot 2022-12-08 at 19 02 12

Screenshot 2022-12-08 at 19 01 00

To Test:

Set SUPPORT_BINANCE_SMART_CHAIN to true.

Required points

  • check that Coming Soon page for Gas Price Adjust is visible
  • ENS Name Resolution
  • Gas Price Preview

Additional requirements to close #2569

  • Send / Receive Assets
  • Swaps
  • Dapp connection / tx signing
  • Ledger Support
  • Assets showing up in Overview
  • Test interactions with dApps
  • Check NFT Support

Latest build: extension-builds-2729 (as of Fri, 09 Dec 2022 10:28:11 GMT).

@kkosiorowska kkosiorowska marked this pull request as ready for review December 8, 2022 18:11
@@ -112,6 +113,39 @@ const getArbitrumPrices = async (
}
}

const getLegacyGasPrices = async (
network: EVMNetwork,
baseFeePerGas: bigint,
Copy link
Contributor

Choose a reason for hiding this comment

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

lets call this parameter gasPrice

@@ -86,18 +89,22 @@ export default function SignTransactionDetailPanel({
setNetworkSettingsModalOpen(false)
}

const hight = `${
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we might benefit from pulling the logic in here into its own function

Copy link
Contributor

@0xDaedalus 0xDaedalus left a comment

Choose a reason for hiding this comment

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

NFTs don't seem to be working - looks like we're not querying simplehash when opening up the NFT tab - likely just some missing configuration somewhere.

@kkosiorowska
Copy link
Contributor Author

NFTs don't seem to be working - looks like we're not querying simplehash when opening up the NFT tab - likely just some missing configuration somewhere.

Good catch! Now it should be fine.

Screenshot 2022-12-09 at 11 21 00

Copy link
Contributor

@0xDaedalus 0xDaedalus left a comment

Choose a reason for hiding this comment

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

Fantastic! I think with these changes we are ready to flip the feature flag on :)

@0xDaedalus 0xDaedalus merged commit 811cb58 into main Dec 9, 2022
@0xDaedalus 0xDaedalus deleted the bsc-improvements branch December 9, 2022 20:29
@greg-nagy greg-nagy mentioned this pull request Dec 14, 2022
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.

Add Native Binance Smart Chain Support to Tally Ho
2 participants