AlphaWallet / Web3E

Web3E Ethereum for Embedded devices running Arduino framework
MIT License
142 stars 45 forks source link

Help with interacting on mainnet #7

Open andrewhong5297 opened 3 years ago

andrewhong5297 commented 3 years ago

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

JamesSmartCell commented 2 years ago

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 commented 1 year ago

Update: Now just use:

Web3 web3 = new Web3(MAINNET_ID);