We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can't find func 'Web3.InfuraKovanWeb3()', how to change to Kovan Testnet?
let web3 = Web3.InfuraMainnetWeb3() let web3 = Web3.InfuraRopstenWeb3() let web3 = Web3.InfuraRinkebyWeb3() // let web3 = Web3.InfuraKovanWeb3()
The text was updated successfully, but these errors were encountered:
You can set the URL yourself by creating a provider. If the Kovan isn't hard coded in just set the url.
Sorry, something went wrong.
extension Web3 { /// Initialized Web3 instance bound to Infura's kovan provider. public static func InfuraKovanWeb3(accessToken: String? = nil) -> web3 { let infura = InfuraProvider(Networks.Kovan, accessToken: accessToken)! return web3(provider: infura) } }
👍 Thanks!!!
No branches or pull requests
I can't find func 'Web3.InfuraKovanWeb3()', how to change to Kovan Testnet?
The text was updated successfully, but these errors were encountered: