ethers-io / ethers.objc

Fast, simple and complete library for Ethereum in Objective-C.
MIT License
157 stars 57 forks source link

How to convert Mainnet to Testnet in ether? #14

Closed TBSMobile closed 6 years ago

TBSMobile commented 6 years ago

Account account = [Account accountWithMnemonicPhrase:mnemonicPhrase]; Address address = account.address;

API URL: "api.etherscan.io"

For, Getting all value means gasPrice, estimate gas. please provide proper solution.

ricmoo commented 6 years ago

To get query the network, you should look at the Provider API. For example:

Provider *provider = [[InfuraProvider alloc] initWithChainId:chainId];