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

Help with interacting on mainnet #7

Open
andrewhong5297 opened this issue Oct 31, 2020 · 2 comments
Open

Help with interacting on mainnet #7

andrewhong5297 opened this issue Oct 31, 2020 · 2 comments

Comments

@andrewhong5297
Copy link

Looking for help or examples of using this library, I want to interact with a mainnet contract. Thanks!

@JamesSmartCell
Copy link
Member

Hi, the examples contain a lot of code that shows how you can interact with testnets. To interact with mainnet, you can just change the Infura settings.

@JamesSmartCell
Copy link
Member

Update: Now just use:

Web3 web3 = new Web3(MAINNET_ID);

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

No branches or pull requests

2 participants