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

Replace walletconnet library #832

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

henrypalacios
Copy link
Contributor

@henrypalacios henrypalacios commented Nov 29, 2021

Summary

Closes #671

Proposal:
Update dependencias related to walletconnect and adjust the code that resolve this conflict.


Credit to @nenadV91 who referenced.

@@ -63,7 +63,7 @@
},
"dependencies": {
"@amcharts/amcharts4": "^4.10.13",
"@anxolin/walletconnect-connector": "6.1.9",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@josojo What would we have to have from this @anxolin library to adapt to this repository?

I have tested the minerva wallet with the new web3-react library, and found no problems.

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 you don't need to use my library any more :)
u are welcome to use it, but this was a temporal fix while they would accept my PR

import { WalletLinkConnector } from '@web3-react/walletlink-connector'

import { NETWORK_URL_MAINNET, PORTIS_ID } from '../constants/config'
import { ChainId, NETWORK_CONFIGS } from './../utils/index'

const POLLING_INTERVAL = 10000
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Polling has now been disabled as mentioned here

@henrypalacios henrypalacios requested a review from josojo November 29, 2021 12:41
@henrypalacios henrypalacios force-pushed the 671-wcmodal-appears-after-discn branch from e7edda6 to 1c16ba3 Compare November 29, 2021 12:43
@github-actions
Copy link

  • 🔭 IDO UI: Easy IDO auction

Copy link
Contributor

@josojo josojo left a comment

Choose a reason for hiding this comment

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

Super nice. Thanks a lot for this clean up PR

Copy link

@elena-zh elena-zh left a comment

Choose a reason for hiding this comment

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

Hi @henrypalacios , great that you have added these changes!
But I would vote not for deploying them now due to I have found several issues:

  1. Wallet is unknown when connected to a WC wallet
    unknown

  2. I can't connect to TrustWallet, imToken wallet: I get the connected message in the wallet, but no active connection log in the app settings. Eternal loader is displayed in the GA app
    image
    trust

  3. WC connection is closed when

  • the page reload the app
  • then open any auction details page --> the wallet is disconnected inside the connected app, but connection is still active in the GA app
    See the video: it is recorded for the Gnosis safe wallet, but the same behavior is applicable to the TockenPocket, DeFi, MM wallet.

As the result, I can't place an order:
image

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.

Walletconnect modal appears again after a wallet disconnection
4 participants