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

fix: instruct user to install Frame as their Ethereum provider in electron environments #619

Merged
merged 4 commits into from
Feb 19, 2019

Conversation

sohkai
Copy link
Contributor

@sohkai sohkai commented Feb 15, 2019

Fixes #614

Also fixes the detection of no injected Ethereum provider.

@sohkai sohkai requested review from bpierre and AquiGorka February 15, 2019 12:43
@sohkai sohkai added this to the A1 Sprint: 4.1 milestone Feb 15, 2019
@sohkai sohkai changed the title fix(Onboarding): instruct user to install Frame as their Ethereum provider in electron environments fix: instruct user to install Frame as their Ethereum provider in electron environments Feb 15, 2019
@@ -118,6 +119,9 @@ export function getUnknownBalance() {

// Returns an identifier for the provider, if it can be detected
export function identifyProvider(provider) {
if (provider && isElectron()) {
Copy link
Contributor Author

@sohkai sohkai Feb 15, 2019

Choose a reason for hiding this comment

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

Note that there's not a really good way to check for if we're connected to frame yet (could try checking against localhost:1234).

See #621 on detecting frame better.

Copy link
Contributor

@bpierre bpierre left a comment

Choose a reason for hiding this comment

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

@sohkai sohkai merged commit efb2f94 into master Feb 19, 2019
@sohkai sohkai deleted the fix-desktop-onboarding-frame branch February 19, 2019 23:55
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.

Replace metamask for frame when in electron
3 participants