Skip to content

Commit c604105

Browse files
committed
Replaced Polygon Mumbai with Amoy chain id
1 parent acfd5f6 commit c604105

File tree

18 files changed

+37
-57
lines changed
  • web-modal-sdk
    • blockchain-connection-examples/evm-modal-example/src
    • custom-authentication-modal-example/src
    • quick-starts/nuxt-modal-quick-start/components
  • web-no-modal-sdk
    • blockchain-connection-examples/multi-chain-no-modal-example/src
    • chrome-extension-no-modal-example/src
    • custom-authentication
      • aggregate-verifier-examples
        • auth0-google-aggregate-no-modal-example/src
        • firebase-google-aggregate-no-modal-example/src
      • single-verifier-examples
        • auth0-no-modal-example/src
        • cognito-no-modal-example/src
        • custom-jwt-no-modal-example/src
        • discord-no-modal-example/src
        • facebook-no-modal-example/src
        • firebase-no-modal-example/src
        • google-no-modal-example/src
        • telegram-no-modal-example/src
        • worldcoin-no-modal-example/src
    • other/xmtp-no-modal-example/src
    • quick-starts/angular-no-modal-quick-start/src/app

18 files changed

+37
-57
lines changed

web-modal-sdk/blockchain-connection-examples/evm-modal-example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import RPC from "./viemRPC"; // for using viem
99
import { useWalletServicesPlugin } from "@web3auth/wallet-services-plugin-react-hooks";
1010

1111
// Get custom chain configs for your chain from https://web3auth.io/docs/connect-blockchain
12-
const newChain = getEvmChainConfig(0x13881, clientId)!;
12+
const newChain = getEvmChainConfig(0x13882, clientId)!;
1313

1414
function App() {
1515
const {

web-modal-sdk/custom-authentication-modal-example/src/App.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { EthereumPrivateKeyProvider } from "@web3auth/ethereum-provider";
1313
import { WalletServicesPlugin } from "@web3auth/wallet-services-plugin";
1414

1515
const clientId = "BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ"; // get from https://dashboard.web3auth.io
16-
const chainId = 0x13881;
16+
const chainId = 0x13882;
1717

1818
function App() {
1919
const [web3auth, setWeb3auth] = useState<Web3Auth | null>(null);
@@ -45,7 +45,7 @@ function App() {
4545
defaultLanguage: "en", // en, de, ja, ko, zh, es, fr, pt, nl
4646
loginGridCol: 3,
4747
primaryButton: "externalLogin", // "externalLogin" | "socialLogin" | "emailLogin"
48-
loginMethodsOrder: ["google", "github", "twitter", "farcaster", "discord", "twitch", "facebook",],
48+
loginMethodsOrder: ["google", "github", "twitter", "farcaster", "discord", "twitch", "facebook"],
4949
},
5050
web3AuthNetwork: WEB3AUTH_NETWORK.SAPPHIRE_MAINNET,
5151
privateKeyProvider: privateKeyProvider,
@@ -109,7 +109,7 @@ function App() {
109109
domain: "https://web3auth.au.auth0.com",
110110
verifierIdField: "sub",
111111
isVerifierIdCaseSensitive: true,
112-
}
112+
},
113113
},
114114
google: {
115115
verifier: "aggregate-sapphire",
@@ -127,7 +127,7 @@ function App() {
127127
verifierIdField: "email",
128128
isVerifierIdCaseSensitive: false,
129129
connection: "github",
130-
}
130+
},
131131
},
132132
},
133133
},

web-modal-sdk/quick-starts/nuxt-modal-quick-start/components/Home.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default {
7474
// IMP END - Dashboard Registration
7575
7676
// IMP START - Chain Config
77-
const chainId = 0x13881; // Polygon Amoy Testnet
77+
const chainId = 0x13882; // Polygon Amoy Testnet
7878
// Get custom chain configs for your chain from https://web3auth.io/docs/connect-blockchain
7979
const chainConfig = getEvmChainConfig(chainId, clientId)!;
8080
// IMP END - Chain Config

web-no-modal-sdk/blockchain-connection-examples/multi-chain-no-modal-example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ function App() {
198198

199199
const polygonPrivateKeyProvider = new EthereumPrivateKeyProvider({
200200
config: {
201-
chainConfig: getEvmChainConfig(0x13881, clientId)!,
201+
chainConfig: getEvmChainConfig(0x13882, clientId)!,
202202
},
203203
});
204204
await polygonPrivateKeyProvider.setupProvider(privateKey);

web-no-modal-sdk/chrome-extension-no-modal-example/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function App() {
1818
const init = async () => {
1919
try {
2020
// Get custom chain configs for your chain from https://web3auth.io/docs/connect-blockchain
21-
const chainConfig = getEvmChainConfig(0x13881, clientId)!;
21+
const chainConfig = getEvmChainConfig(0x13882, clientId)!;
2222

2323
const privateKeyProvider = new EthereumPrivateKeyProvider({ config: { chainConfig } });
2424

@@ -30,7 +30,7 @@ function App() {
3030

3131
const authAdapter = new AuthAdapter({});
3232
web3auth.configureAdapter(authAdapter);
33-
33+
3434
setWeb3auth(web3auth);
3535

3636
await web3auth.init();

web-no-modal-sdk/custom-authentication/aggregate-verifier-examples/auth0-google-aggregate-no-modal-example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function App() {
1919
const init = async () => {
2020
try {
2121
// Get custom chain configs for your chain from https://web3auth.io/docs/connect-blockchain
22-
const chainConfig = getEvmChainConfig(0x13881, clientId)!;
22+
const chainConfig = getEvmChainConfig(0x13882, clientId)!;
2323

2424
const privateKeyProvider = new EthereumPrivateKeyProvider({ config: { chainConfig } });
2525

web-no-modal-sdk/custom-authentication/aggregate-verifier-examples/firebase-google-aggregate-no-modal-example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function App() {
3232
const init = async () => {
3333
try {
3434
// Get custom chain configs for your chain from https://web3auth.io/docs/connect-blockchain
35-
const chainConfig = getEvmChainConfig(0x13881, clientId)!;
35+
const chainConfig = getEvmChainConfig(0x13882, clientId)!;
3636

3737
const privateKeyProvider = new EthereumPrivateKeyProvider({
3838
config: { chainConfig },

web-no-modal-sdk/custom-authentication/single-verifier-examples/auth0-no-modal-example/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "./App.css";
77

88
//import RPC from "./web3RPC"; // for using web3.js
99
// import RPC from './ethersRPC' // for using ethers.js
10-
import RPC from './viemRPC' // for using viem
10+
import RPC from "./viemRPC"; // for using viem
1111

1212
const clientId = "BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ"; // get from https://dashboard.web3auth.io
1313

@@ -20,7 +20,7 @@ function App() {
2020
const init = async () => {
2121
try {
2222
// Get custom chain configs for your chain from https://web3auth.io/docs/connect-blockchain
23-
const chainConfig = getEvmChainConfig(0x13881, clientId)!;
23+
const chainConfig = getEvmChainConfig(0x13882, clientId)!;
2424

2525
const privateKeyProvider = new EthereumPrivateKeyProvider({ config: { chainConfig } });
2626

web-no-modal-sdk/custom-authentication/single-verifier-examples/cognito-no-modal-example/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "./App.css";
77

88
// import RPC from "./web3RPC"; // for using web3.js
99
// import RPC from './ethersRPC' // for using ethers.js
10-
import RPC from './viemRPC' // for using viem
10+
import RPC from "./viemRPC"; // for using viem
1111

1212
const clientId = "BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ"; // get from https://dashboard.web3auth.io
1313

@@ -20,7 +20,7 @@ function App() {
2020
const init = async () => {
2121
try {
2222
// Get custom chain configs for your chain from https://web3auth.io/docs/connect-blockchain
23-
const chainConfig = getEvmChainConfig(0x13881, clientId)!;
23+
const chainConfig = getEvmChainConfig(0x13882, clientId)!;
2424

2525
const privateKeyProvider = new EthereumPrivateKeyProvider({ config: { chainConfig } });
2626

web-no-modal-sdk/custom-authentication/single-verifier-examples/custom-jwt-no-modal-example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function App() {
1919
const init = async () => {
2020
try {
2121
// Get custom chain configs for your chain from https://web3auth.io/docs/connect-blockchain
22-
const chainConfig = getEvmChainConfig(0x13881, clientId)!;
22+
const chainConfig = getEvmChainConfig(0x13882, clientId)!;
2323

2424
const privateKeyProvider = new EthereumPrivateKeyProvider({ config: { chainConfig } });
2525

0 commit comments

Comments
 (0)