Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Add network switching capabilities to Truffle Dashboard #5045

Closed
wants to merge 80 commits into from

Conversation

MicaiahReid
Copy link
Contributor

No description provided.

michaeljohnbennett and others added 30 commits March 22, 2022 10:51
These markers are there for possible change points.
Also amended the browserlist as it causes an issue with craco and the current version of the library: wevm/wagmi#220 for more info.

Committing yarn.lock file also as part of this install.
Code and all elements changed to use wagmi features.

Added new code into connector component to also use walletconnct.

Tested connections to both metamask and walletconnect to infinity wallet and its working as expected.

Still to fully test the transaction loading code from the CLI to the dashboard.
added .idea folder to .gitignore file.

reverting yarn.lock as some ursa-optional compiler errors were happening locally.
Web3Provider is now fixed and working as it was with web3react.

useProvider hook is not working, had to call connector.getProvider() instead.
Walletconnect RPC return variables are not transformed as they aren't the same as metmask ones.
Hook up example events -> dashboard communication
button to allow disconnecting the wallet and resetting state in app.
…_wagmi

Allow connecting Truffle Dashboard via WalletConnect
Cleaned up imports to be all package relative.

Also DashboardProvider.tsx renamed to be default packed export.

Buttons cleaned up around site and disconnect button made a small red button.
The joys of MacOS Case Insensitive FS.
…on_component

# Conflicts:
#	packages/dashboard/src/components/common/Button.tsx
#	packages/dashboard/src/components/dashboardprovider/IncomingRequest.tsx
@cliffoo cliffoo mentioned this pull request Jul 23, 2022
23 tasks
@eggplantzzz
Copy link
Contributor

closing this as we're now tracking it somewhere else

@eggplantzzz eggplantzzz deleted the feat/dash-network-management-clean branch January 31, 2023 18:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants