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

Adds widget #1947

Merged
merged 150 commits into from
Feb 1, 2024
Merged

Adds widget #1947

merged 150 commits into from
Feb 1, 2024

Conversation

abtestingalpha
Copy link
Collaborator

No description provided.

abtestingalpha and others added 30 commits November 29, 2023 11:32
Adds instructions on running locally
Adds instructions on running locally
* Testing Provider Behavior

* Update `Bridge` to accept `web3Provider` prop from Consumer

* `useEthereumWallet` hook to handle mocking Consumer Wallet

* Pass in Consumer web3Provider to Bridge component

* `getAccounts` util function to grab current connect address to window.ethereum object

* Consumer Provider state

* useEthereumWallet utility hook to grab current browser ethereum data

* Mock Consumer Provider

* Log when Consumer chain/account updates

* Add `Web3Provider`

* ...

* Update for merge

* Start migration of Widget component to allow for index to be app setup

* Declare `WidgetProps` type

* Migrate Bridge contents to Widgets component

* Wrap `Widget` with `Web3Provider` to provide Context access

* Fetch Web3 Provider data when provider detected from Consumer

* Update Context values

* Construct `handleBridge` callback to test Consumer Provider

* Add Button to invoke handleBridge

* Add prettier config

* Format code with Prettier

* ...
@abtestingalpha abtestingalpha force-pushed the adds-widget branch 2 times, most recently from 619de05 to 56de7b2 Compare January 31, 2024 22:58
@abtestingalpha abtestingalpha force-pushed the adds-widget branch 3 times, most recently from cb7870f to 8f64774 Compare February 1, 2024 04:21
@abtestingalpha
Copy link
Collaborator Author

@coderabbitai pause

@abtestingalpha abtestingalpha marked this pull request as ready for review February 1, 2024 05:34
@abtestingalpha abtestingalpha changed the title [WIP] Adds widget to sanguine Adds widget Feb 1, 2024
@abtestingalpha abtestingalpha merged commit 9b9afec into master Feb 1, 2024
31 of 33 checks passed
@abtestingalpha abtestingalpha deleted the adds-widget branch February 1, 2024 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants