Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Web3 must set a defaultAccount #32

@dmihal

Description

@dmihal

When trying to run through a deposit, I ran into an issue where transactions can't be sent because web3.eth.defaultAccount wasn't set.

I don't think its a common practice for devs to set this value, at least I've never used it.

Options to address this would be:

  • Update the documentation, making it clear that this value should be set
  • Query web3.eth.getAccounts() and use account[0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions