We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 262d48b commit 0506c2aCopy full SHA for 0506c2a
Sources/web3swift/Web3/Web3.swift
@@ -76,4 +76,10 @@ public struct Web3 {
76
return web3(provider: infura)
77
}
78
79
+ /// Initialized Web3 instance bound to Infura's kovan provider.
80
+ public static func InfuraKovanWeb3(accessToken: String? = nil) -> web3 {
81
+ let infura = InfuraProvider(Networks.Kovan, accessToken: accessToken)!
82
+ return web3(provider: infura)
83
+ }
84
+
85
0 commit comments