Skip to content
This repository was archived by the owner on May 24, 2024. It is now read-only.
This repository was archived by the owner on May 24, 2024. It is now read-only.

Improve CodePen Examples #42

Closed
Closed
@micahalcorn

Description

@micahalcorn

Now that CodePen examples have been added, they need to be less fragile. They currently detect whether or not the reader has a web3-enabled browser and, if not, suggest MetaMask. They don't, however, detect whether or not a MetaMask user is signed in, or validate the currently-selected network. To resolve this issue, fork each of our CodePens and add the following:

  • Move web3 detection into another Pen that is added as an "external resource" in each forked Pen
  • In the external Pen, detect that web3 is set to the Rinkeby network validation and serve an appropriate message if it is not
  • In the external Pen, detect that a web3 account is available and serve an appropriate message if it is not

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions