Skip to content

Commit

Permalink
Merge branch 'devrel' into aurora-brand-kit
Browse files Browse the repository at this point in the history
  • Loading branch information
cordt-sei authored May 26, 2024
2 parents 78c7cee + 1c418c2 commit 89c7a29
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions components/EvmWalletConnect/EvmWalletConnect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,33 @@ import { ChainRpcUrls } from "viem/_types/types/chain";
import CustomConnectButton from './CustomConnectButton';

export default function EvmWalletConnect() {
const rpcUrl: ChainRpcUrls = {
http: ["https://evm-rpc.sei-apis.com"],
webSocket: ["wss://evm-ws.sei-apis.com"],
};
const seiDevnet: Chain = {
id: 513,
name: "Sei Network",
network: "Sei",
nativeCurrency: {
decimals: 18,
name: "Sei",
symbol: "SEI",
},
rpcUrls: {
public: rpcUrl,
default: rpcUrl,
},
testnet: true,
blockExplorers: {
default: { name: "Seitrace", url: "https://seitrace.com" },
},
};
const rpcUrl: ChainRpcUrls = {
http: ["https://evm-rpc.sei-apis.com"],
webSocket: ["wss://evm-ws.sei-apis.com"],
};
const sei: Chain = {
id: 531,
name: "Sei Network",
network: "Sei",
nativeCurrency: {
decimals: 18,
name: "Sei",
symbol: "SEI",
},
rpcUrls: {
public: rpcUrl,
default: rpcUrl,
},
testnet: true,
blockExplorers: {
default: { name: "Seitrace", url: "https://seitrace.com" },
},
};

const { chains, publicClient } = configureChains(
[seiDevnet],
[publicProvider()]
);
const { chains, publicClient } = configureChains(
[sei],
[publicProvider()]
);

const projectId = "385413c214cb74213e0679bc30dd4e4c";
const connectors = connectorsForWallets([
Expand Down

0 comments on commit 89c7a29

Please sign in to comment.