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

Appview doesn't inject account wallets on testnets #256

Closed
Spejbl opened this issue Nov 23, 2018 · 0 comments · Fixed by #257
Closed

Appview doesn't inject account wallets on testnets #256

Spejbl opened this issue Nov 23, 2018 · 0 comments · Fixed by #257
Labels
bug Something isn't working

Comments

@Spejbl
Copy link
Contributor

Spejbl commented Nov 23, 2018

Environment/Browser

Version 1.1.0

Description

When you deploy your contract to testnet, it's not possible to get account wallet from metamask with web3.

Steps to reproduce

  1. Create and deploy Voting template
  2. In app.js call window.web3.eth.accounts[0]

Expected result

window.web3.eth.accounts[0] should return default wallet address

Actual result

window.web3.eth.accounts[0] returns undefined

Reproducible

100%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant