Skip to content

Updated UI for SFA Swift #758

New issue

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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ struct EthereumClient {

init() {
self.web3Client = EthereumHttpClient(
url: URL(string: "https://1rpc.io/sepolia")!,
url: URL(string: "https://api.web3auth.io/infura-service/v1/11155111/BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ")!,
network: .fromString(networkId)
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ struct EthereumClient {

init() {
self.web3Client = EthereumHttpClient(
url: URL(string: "https://1rpc.io/sepolia")!,
url: URL(string: "https://api.web3auth.io/infura-service/v1/11155111/BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ")!,
network: .fromString(networkId)
)
}
Expand Down
2 changes: 1 addition & 1 deletion mpc-core-kit-node/mpc-core-kit-node-quick-start/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ async function removeItem(key) {
const chainConfig = {
chainNamespace: CHAIN_NAMESPACES.EIP155,
chainId: "0x1", // Ethereum Mainnet
rpcTarget: "https://rpc.ankr.com/eth",
rpcTarget: `https://api.web3auth.io/infura-service/v1/1/${clientId}`,
displayName: "Ethereum Mainnet",
blockExplorerUrl: "https://etherscan.io",
ticker: "ETH",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const web3AuthClientId = "BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZ
const chainConfig = {
chainNamespace: CHAIN_NAMESPACES.EIP155,
chainId: "0x1", // Please use 0x1 for Mainnet
rpcTarget: "https://rpc.ankr.com/eth",
rpcTarget: `https://api.web3auth.io/infura-service/v1/1/${clientId}`,
displayName: "Ethereum Mainnet",
blockExplorer: "https://etherscan.io/",
ticker: "ETH",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const web3AuthClientId = "BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZ
const chainConfig = {
chainNamespace: CHAIN_NAMESPACES.EIP155,
chainId: "0x1", // Please use 0x1 for Mainnet
rpcTarget: "https://rpc.ankr.com/eth",
rpcTarget: `https://api.web3auth.io/infura-service/v1/1/${clientId}`,
displayName: "Ethereum Mainnet",
blockExplorer: "https://etherscan.io/",
ticker: "ETH",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const verifier = "w3a-firebase-demo";
const chainConfig = {
chainNamespace: CHAIN_NAMESPACES.EIP155,
chainId: "0x1", // Please use 0x1 for Mainnet
rpcTarget: "https://rpc.ankr.com/eth",
rpcTarget: `https://api.web3auth.io/infura-service/v1/1/${clientId}`,
displayName: "Ethereum Mainnet",
blockExplorer: "https://etherscan.io/",
ticker: "ETH",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class MainActivity : AppCompatActivity() {
val chainConfig = ChainConfig(
chainNamespace = ChainNamespace.EIP155,
chainId = "0x1",
rpcTarget = "https://rpc.ankr.com/eth"
rpcTarget = "https://api.web3auth.io/infura-service/v1/1/BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ"
)

val params = JsonArray().apply {
Expand All @@ -122,7 +122,7 @@ class MainActivity : AppCompatActivity() {
val chainConfig = ChainConfig(
chainNamespace = ChainNamespace.EIP155,
chainId = "0x1",
rpcTarget = "https://rpc.ankr.com/eth"
rpcTarget = "https://api.web3auth.io/infura-service/v1/1/BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ"
)

val launchWalletCompletableFuture = singleFactorAuth.showWalletUI(
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Thu Apr 13 13:56:35 IST 2023
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading