Skip to content

Commit 6b28d46

Browse files
committed
fix twmanager defaults // add sepolia
1 parent e689610 commit 6b28d46

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

Assets/Thirdweb/Core/Prefabs/ThirdwebManager.prefab

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ MonoBehaviour:
4444
m_Script: {fileID: 11500000, guid: 56d9559a79e304f44b5ac4d726f1ee68, type: 3}
4545
m_Name:
4646
m_EditorClassIdentifier:
47-
chain: goerli
47+
activeChain: goerli
4848
supportedChains:
4949
- identifier: ethereum
5050
chainId: 1
@@ -88,10 +88,14 @@ MonoBehaviour:
8888
- identifier: binance-testnet
8989
chainId: 97
9090
rpcOverride:
91+
- identifier: sepolia
92+
chainId: 11155111
93+
rpcOverride:
94+
clientId:
95+
initializeOnAwake: 1
9196
appName:
9297
appDescription:
93-
appIcons:
94-
-
98+
appIcons: []
9599
appUrl:
96100
storageIpfsGatewayUrl:
97101
relayerUrl:
@@ -102,7 +106,6 @@ MonoBehaviour:
102106
walletConnectProjectId:
103107
paperClientId:
104108
factoryAddress:
105-
thirdwebApiKey:
106109
gasless: 0
107110
bundlerUrl:
108111
paymasterUrl:

Assets/Thirdweb/Core/Scripts/ThirdwebManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public void Initialize(string chainIdentifier)
206206
{
207207
appName = string.IsNullOrEmpty(appName) ? "thirdweb powered dApp" : appName,
208208
appDescription = string.IsNullOrEmpty(appDescription) ? "thirdweb powered dApp" : appDescription,
209-
appIcons = string.IsNullOrEmpty(appIcons[0]) ? new string[] { "https://thirdweb.com/favicon.ico" } : appIcons,
209+
appIcons = (appIcons == null || appIcons.Length == 0 || string.IsNullOrEmpty(appIcons[0])) ? new string[] { "https://thirdweb.com/favicon.ico" } : appIcons,
210210
appUrl = string.IsNullOrEmpty(appUrl) ? "https://thirdweb.com" : appUrl,
211211
magicLinkApiKey = string.IsNullOrEmpty(magicLinkApiKey) ? null : magicLinkApiKey,
212212
walletConnectProjectId = string.IsNullOrEmpty(walletConnectProjectId) ? "145769e410f16970a79ff77b2d89a1e0" : walletConnectProjectId,

0 commit comments

Comments
 (0)