Skip to content

feat(network): add harmony network - #5835

Merged
guanbinrui merged 48 commits into
DimensionDev:developfrom
developerfred:harmony-network
May 9, 2022
Merged

feat(network): add harmony network#5835
guanbinrui merged 48 commits into
DimensionDev:developfrom
developerfred:harmony-network

Conversation

@developerfred

@developerfred developerfred commented Mar 8, 2022

Copy link
Copy Markdown
Contributor

Description

add Integration Harmony One

Closes #5832

Type of change

  • Documentation
  • Code refactoring (Restructuring existing code w/o changing its observable behavior)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (a fix or feature that would make something no longer possible to do/require old user must upgrade their Mask Network to this new version)

Previews

Contracts List

Assets

Jack-Works
Jack-Works previously approved these changes Mar 12, 2022

@UncleBill UncleBill left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

image

Fails at Trader(swap). Updating token.json file would resolve it.

You should test( include but not limited to):

  • Trader(swap)
  • Claim/ITO
  • Assets in dashboard

Comment thread packages/mask/src/plugins/Trader/constants/openocean.ts Outdated
Comment thread packages/web3-constants/evm/explorer.json Outdated
Comment thread packages/web3-constants/evm/coinmarketcap.json Outdated
Comment thread packages/web3-constants/evm/debank.json Outdated
Comment thread packages/web3-constants/evm/coingecko.json Outdated
Comment thread packages/web3-constants/evm/token.json
Jack-Works
Jack-Works previously approved these changes Mar 16, 2022
Comment thread packages/web3-constants/evm/debank.json Outdated
@guanbinrui

Copy link
Copy Markdown
Member

@developerfred Any updates?

@developerfred

Copy link
Copy Markdown
Contributor Author

@wenluomask the other dex's are disabled when I investigate what might be going on.

@wenluomask

Copy link
Copy Markdown
Contributor

@wenluomask the other dex's are disabled when I investigate what might be going on.

Did you try the swap pair 1USDC -> ONE?

@developerfred

Copy link
Copy Markdown
Contributor Author

Yes, working on sushiswap

Comment thread packages/mask/src/plugins/Trader/trader/useGetTradeContext.ts Outdated
Comment thread packages/mask/src/plugins/Trader/trader/useTradeContext.ts Outdated
@wenluomask

Copy link
Copy Markdown
Contributor

Yes, working on sushiswap

But VenonSwap and OpenSwap were disabled?
By the way, your latest build was failed, please build again.

@developerfred

Copy link
Copy Markdown
Contributor Author

Yes, working on sushiswap

But VenonSwap and OpenSwap were disabled? By the way, your latest build was failed, please build again.

I disabled it because the approve function is not working with these two specific routes, my thought is that these dexa were holding up the network implementation.

@developerfred

Copy link
Copy Markdown
Contributor Author

@wenluomask I will make a new build version

@developerfred

Copy link
Copy Markdown
Contributor Author

@wenluomask latest version:
Screenshot 2022-05-07 at 07 25 48

test movie
https://youtu.be/c73L3TbTR8s

@developerfred
developerfred requested a review from guanbinrui May 7, 2022 06:45
@wenluomask

Copy link
Copy Markdown
Contributor
  1. The estimate gas should be "<$ 0.01", currently is "~$<$ 0.01"

截屏2022-05-07 下午3 49 27

6 is fixed.

@developerfred

developerfred commented May 7, 2022

Copy link
Copy Markdown
Contributor Author

Comment thread packages/mask/shared-ui/locales/en-US.json Outdated
@developerfred
developerfred requested a review from UncleBill May 7, 2022 14:31

@UncleBill UncleBill left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please fix KingDoms and leave the i18n change in another PR.

Comment thread packages/mask/src/plugins/Trader/pipes.ts Outdated
Comment thread packages/mask/shared-ui/locales/en-US.json Outdated
@developerfred
developerfred requested a review from UncleBill May 7, 2022 15:21

@UncleBill UncleBill left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@wenluomask

Copy link
Copy Markdown
Contributor

Congrats! Issues of Harmony were all fixed and I want to thank you for you efforts.

@guanbinrui
guanbinrui merged commit c83643d into DimensionDev:develop May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bounty] Integrate Harmony, an L2 blockchain built on Ethereum, into Mask

6 participants