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

Create a provider using ethers.getDefaultProvider() #115

Closed
wants to merge 0 commits into from

Conversation

Elemino
Copy link

@Elemino Elemino commented Dec 20, 2018

Attempted to create the ethers.js provider but not sure if this should be declared globally and if so, where it should be declared.

Once the provider is successfully instantiated, the next step should be to migrate all the read-only method calls for listing cards, adding wallet signers etc.

I have a lot of gumption to keep working on this great project but might need a bit more guidance.

@mikhaildobs
Copy link
Contributor

Attempted to create the ethers.js provider but not sure if this should be declared globally and if so, where it should be declared.

Let's make a separate ethersService like https://github.com/VolcaTech/cryptoxmas.xyz/blob/master/src/services/web3Service.js
with the similar setup method and getProvider instead of getWeb3

@Elemino Elemino changed the title Add default provider to index.js Create a provider using ethers.getDefailtProvider() Dec 26, 2018
@Elemino Elemino changed the title Create a provider using ethers.getDefailtProvider() Create a provider using ethers.getDefaultProvider() Dec 26, 2018
@Elemino
Copy link
Author

Elemino commented Jan 7, 2019

Had the wrong conceptions of a few basic things but I'm getting there via trial and error. I expect to complete the PR in two days. Thanks.

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.

2 participants