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 593cd8b commit 9af6496Copy full SHA for 9af6496
Sources/web3swift/Web3/Web3.swift
@@ -25,6 +25,12 @@ public struct Web3 {
25
let infura = await InfuraProvider(Networks.Mainnet, accessToken: accessToken)!
26
return web3(provider: infura)
27
}
28
+
29
+ /// Initialized Web3 instance bound to Infura's goerli provider.
30
+ public static func InfuraGoerliWeb3(accessToken: String? = nil) async -> web3 {
31
+ let infura = await InfuraProvider(Networks.Goerli, accessToken: accessToken)!
32
+ return web3(provider: infura)
33
+ }
34
35
/// Initialized Web3 instance bound to Infura's rinkeby provider.
36
public static func InfuraRinkebyWeb3(accessToken: String? = nil) async -> web3 {
0 commit comments