Skip to content

Where inizialize the provider/web3Instance? #1

Description

@leoplct

Where is the best way to put this code to have it available everywhere in the app?

let provider = window.web3.currentProvider;
let web3Instance = this.get('web3').setup(provider);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions