@coin-voyage/paykit
Version:
Seamless crypto payments. Onboard users from any chain, any coin into your app with one click.
173 lines (172 loc) • 4.19 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import Logos from "../../assets/chains";
// Note: these rpcUrls are incomplete, and are subject to change from their respective providers
// More RPC URLs can be found: https://chainid.network/chains.json
export const chainConfigs = [
{
id: 1,
name: "Ethereum",
logo: _jsx(Logos.Ethereum, {}),
rpcUrls: {
alchemy: {
http: ["https://eth-mainnet.g.alchemy.com/v2"],
webSocket: ["wss://eth-mainnet.g.alchemy.com/v2"],
},
infura: {
http: ["https://mainnet.infura.io/v3"],
webSocket: ["wss://mainnet.infura.io/ws/v3"],
},
},
},
{
id: 3,
name: "Rinkeby",
logo: _jsx(Logos.Ethereum, { testnet: true }),
rpcUrls: {},
},
{
id: 4,
name: "Ropsten",
logo: _jsx(Logos.Ethereum, { testnet: true }),
},
{
id: 5,
name: "Görli",
logo: _jsx(Logos.Ethereum, { testnet: true }),
},
{
id: 42,
name: "Kovan",
logo: _jsx(Logos.Ethereum, { testnet: true }),
},
{
id: 10,
name: "Optimism",
logo: _jsx(Logos.Optimism, {}),
},
{
id: 69, // nice
name: "Optimism Kovan",
logo: _jsx(Logos.Optimism, { testnet: true }),
},
{
id: 420, // nice
name: "Optimism Goerli",
logo: _jsx(Logos.Optimism, { testnet: true }),
},
{
id: 11155420,
name: "Optimism Sepolia",
logo: _jsx(Logos.Optimism, { testnet: true }),
},
{
id: 137,
name: "Polygon",
logo: _jsx(Logos.Polygon, {}),
},
{
id: 80001,
name: "Polygon Mumbai",
logo: _jsx(Logos.Polygon, { testnet: true }),
},
{
id: 31337,
name: "Hardhat",
logo: _jsx(Logos.Ethereum, { testnet: true }),
},
{
id: 1337,
name: "Localhost",
logo: _jsx(Logos.Ethereum, { testnet: true }),
},
{
id: 42161,
name: "Arbitrum",
logo: _jsx(Logos.Arbitrum, {}),
},
{
id: 421611,
name: "Arbitrum Rinkeby",
logo: _jsx(Logos.Arbitrum, { testnet: true }),
},
{
id: 421613,
name: "Arbitrum Goerli",
logo: _jsx(Logos.Arbitrum, { testnet: true }),
rpcUrls: {
alchemy: {
http: ["https://arb-goerli.g.alchemy.com/v2"],
webSocket: ["wss://arb-goerli.g.alchemy.com/v2"],
},
infura: {
http: ["https://arbitrum-goerli.infura.io/v3"],
webSocket: ["wss://arbitrum-goerli.infura.io/ws/v3"],
},
},
},
{
id: 43114,
name: "Avalanche",
logo: _jsx(Logos.Avalanche, {}),
},
{
id: 43113,
name: "Avalanche Fuji",
logo: _jsx(Logos.Avalanche, { testnet: true }),
},
{
id: 100,
name: "Gnosis",
logo: _jsx(Logos.Gnosis, {}),
},
{
id: 56,
name: "BNB Smart Chain",
logo: _jsx(Logos.BinanceSmartChain, {}),
},
{
id: 97,
name: "Binance Smart Chain Testnet",
logo: _jsx(Logos.BinanceSmartChain, { testnet: true }),
},
{
id: 11155111,
name: "Sepolia",
logo: _jsx(Logos.Sepolia, {}),
},
{
id: 324,
name: "zkSync",
logo: _jsx(Logos.zkSync, {}),
},
{
id: 280,
name: "zkSync Testnet",
logo: _jsx(Logos.zkSync, { testnet: true }),
},
{
id: 250,
name: "Fantom",
logo: _jsx(Logos.Fantom, {}),
},
{
id: 4002,
name: "Fantom Testnet",
logo: _jsx(Logos.Fantom, { testnet: true }),
},
{
id: 8453,
name: "Base",
logo: _jsx(Logos.Base, {}),
},
{
id: 84531,
name: "Base Goerli",
logo: _jsx(Logos.Base, { testnet: true }),
},
{
id: 84532,
name: "Base Sepolia",
logo: _jsx(Logos.Base, { testnet: true }),
},
];