-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* tailwind refinements * variable naming wip * adds --brand color to CustomTheme * Removes unused fields * Removes unused type * Feat/wallet provider (#24) * 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 * ... * Add settings (#25) * Update merge conflict missing code * Fix prop error --------- Co-authored-by: Lawson Kight <lawsonkight@users.noreply.github.com> Co-authored-by: abtestingalpha <abtestingalpha@gmail.com>
- Loading branch information
1 parent
fe5bac0
commit de653f5
Showing
8 changed files
with
277 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.