Module moody.conf

Expand source code
from . import Config


def BSCTest() -> Config:
    return Config(
        network_name="BSCTestnet",
        rpc_url="https://data-seed-prebsc-1-s1.binance.org:8545",
        chain_id=97,
        symbol="BNB",
        block_explorer="https://testnet.bscscan.com/",
        link_token="0x84b9B910527Ad5C03A9Ca831909E21e236EA7b06",
        link_vrf_coordinator="0xa555fC018435bef5A13C6c6870a9d4C11DEC329C",
        link_keyhash="0xcaf3c3727e033261d383b315559476f48034c13b18f8cafed4d871abe5049186"
    )


def Ethereum() -> Config:
    return Config(
        network_name="EthereumMainnet",
        rpc_url="https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
        chain_id=1,
        symbol="ETH",
        block_explorer="https://etherscan.io/",
        link_token="0x514910771AF9Ca656af840dff83E8264EcF986CA",
        link_vrf_coordinator="0xf0d54349aDdcf704F77AE15b96510dEA15cb7952",
        link_keyhash="0xAA77729D3466CA35AE8D28B3BBAC7CC36A5031EFDC430821C02BC31A238AF445"
    )


def BSCMain() -> Config:
    return Config(
        network_name="BinanceMainnet",
        rpc_url="https://bsc-dataseed1.binance.org",
        chain_id=56,
        symbol="BNB",
        block_explorer="https://bscscan.com",
        link_token="0x404460C6A5EdE2D891e8297795264fDe62ADBB75",
        link_keyhash="0xc251acd21ec4fb7f31bb8868288bfdbaeb4fbfec2df3735ddbd4f7dc8d60103c",
        link_vrf_coordinator="0x747973a5A2a4Ae1D3a8fDF5479f1514F65Db9C31"
    )


def PolygonMumbai() -> Config:
    return Config(
        network_name="PolygonMumbaiTestnet",
        rpc_url="https://rpc-mumbai.maticvigil.com",
        chain_id=80001,
        symbol="MATIC",
        block_explorer="https://mumbai.polygonscan.com/",
        link_token="0x326C977E6efc84E512bB9C30f76E30c160eD06FB",
        link_keyhash="0x6e75b569a01ef56d18cab6a8e71e6600d6ce853834d4a5748b720d06f878b3a4",
        link_vrf_coordinator="0x8C7382F9D8f56b33781fE506E897a4F1e2d17255"
    )


def PolygonMainnet() -> Config:
    return Config(
        network_name="PolygonMainnet",
        rpc_url="https://polygon-rpc.com",
        chain_id=137,
        symbol="MATIC",
        block_explorer="https://explorer.matic.network/",
        link_token="0xb0897686c545045aFc77CF20eC7A532E3120E0F1",
        link_keyhash="0xf86195cf7690c55907b2b611ebb7343a6f649bff128701cc542f0569e2c549da",
        link_vrf_coordinator="0x3d2341ADb2D31f1c5530cDC622016af293177AE0"
    )


def KovanTestnet() -> Config:
    return Config(
        network_name="KovanTestnet",
        rpc_url="https://kovan.infura.io/v3/2019a99711c648f8951a640e8031ca33",
        chain_id=42,
        symbol="KETH",
        block_explorer="https://kovan.etherscan.io/",
        link_token="0xa36085F69e2889c224210F603D836748e7dC0088",
        link_vrf_coordinator="0xdD3782915140c8f3b190B5D67eAc6dc5760C46E9",
        link_keyhash="0x6c3699283bda56ad74f6b855546325b68d482e983852a7a82979cc4807b641f4"
    )


def RopstenTestnet() -> Config:
    return Config(
        network_name="RopstenTestnet",
        rpc_url="https://ropsten.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
        chain_id=3,
        symbol="RETH",
        block_explorer="https://ropsten.etherscan.io/"
    )


def GoerliTestnet() -> Config:
    return Config(
        network_name="GoerliTestnet",
        rpc_url="https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
        chain_id=5,
        symbol="ETH",
        block_explorer="https://goerli.etherscan.io"
    )


def RinkebyTestnet() -> Config:
    return Config(
        network_name="RinkebyTestnet",
        rpc_url="https://rinkeby.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
        chain_id=4,
        symbol="ETH",
        block_explorer="https://rinkeby.etherscan.io/"
    )


def MoonBeamTestnet() -> Config:
    return Config(
        # wss://wss.testnet.moonbeam.network
        network_name="MoonbaseAlphanet",
        rpc_url="https://rpc.testnet.moonbeam.network",
        chain_id=1287,
        symbol="DEV",
        block_explorer="https://moonbase-blockscout.testnet.moonbeam.network/"
    )


def HuobiChainMainnet() -> Config:
    return Config(
        network_name="Heco",
        rpc_url="https://http-mainnet.hecochain.com",
        chain_id=128,
        symbol="HT",
        block_explorer="https://hecoinfo.com/"
    )


def HuobiChainTestnet() -> Config:
    return Config(
        network_name="HecoTest",
        rpc_url="https://http-testnet.hecochain.com",
        chain_id=256,
        symbol="HT",
        block_explorer="https://testnet.hecoinfo.com/"
    )


def XDaiMainnet() -> Config:
    """
    more resources on
    https://www.xdaichain.com/for-developers/developer-resources#json-rpc-endpoints
    :return:
    """
    return Config(
        network_name="xDaiStake",
        rpc_url="https://rpc.xdaichain.com",
        # rpc_url="https://xdai.poanetwork.dev",
        # rpc_url="https://stake.getblock.io/mainnet/?api_key=bc690eca-e18a-4c53-b8e9-0f413e225e69",
        chain_id=100,
        symbol="xDai",
        block_explorer="https://explorer.anyblock.tools/ethereum/poa/xdai/",
        bridge="https://bridge.xdaichain.com/"
    )


def OKChainMainnet() -> Config:
    return Config(
        network_name="OKExChainMainnet",
        rpc_url="https://exchainrpc.okex.org",
        chain_id=66,
        symbol="OKT",
        block_explorer="https://www.oklink.com/okexchain/"
    )


def OKChainTestnet() -> Config:
    return Config(
        network_name="OKExChainTestnet",
        rpc_url="https://exchaintestrpc.okex.org",
        chain_id=65,
        symbol="OKT",
        block_explorer="https://www.oklink.com/okexchain-test/"
    )


def RSCMainnet() -> Config:
    return Config(
        network_name="RSCMainnet",
        rpc_url="https://rpc-mainnet.raisc.io",
        chain_id=1023,
        symbol="RSC",
        block_explorer="http://explorer.raisc.io/",
        link_token="0x79e93714E4049Ae8745F1FA21838d6FdfDCa9cA6",
        link_vrf_coordinator="0x3c89bdbfF0B1a27c126b89e78F21a7B66DA2dbeC",
        link_keyhash="0x66c8089c4313b58a4344f69f796705ea1a7b2c180836e56f4785bde84f7af32f"
    )


def AvalancheFujiTestnet() -> Config:
    return Config(
        network_name="AvalancheTestnet",
        rpc_url="https://api.avax-test.network/ext/bc/C/rpc",
        chain_id=43113,
        symbol="AVAX",
        block_explorer="https://testnet.snowtrace.io/"
    )


def AvalancheMainnet() -> Config:
    return Config(
        network_name="AvalancheMainnet",
        rpc_url="https://api.avax.network/ext/bc/C/rpc",
        chain_id=43114,
        symbol="AVAX",
        block_explorer="https://snowtrace.io/"
    )


def OptimisticEthereum() -> Config:
    return Config(
        network_name="OptimisticEthereumMainnet",
        rpc_url="https://mainnet.optimism.io",
        chain_id=10,
        symbol="ETH",
        block_explorer="https://optimistic.etherscan.io/"
    )


def OptimisticEthereumTestnet() -> Config:
    return Config(
        network_name="OptimisticEthereumMainnet",
        rpc_url="https://kovan.optimism.io",
        chain_id=69,
        symbol="ETH",
        block_explorer="https://kovan-optimistic.etherscan.io/"
    )


# https://github.com/aurora-is-near/aurora-engine
def NearAuroraTestnet() -> Config:
    return Config(
        network_name="AuroraTestnet",
        rpc_url="https://testnet.aurora.dev",
        chain_id=1313161555,
        symbol="NEAR",
        block_explorer="https://explorer.testnet.near.org/"
    )


def NearAuroraMainnet() -> Config:
    return Config(
        network_name="AuroraTestnet",
        rpc_url="https://rpc.ankr.com/near",
        chain_id=1313161554,
        symbol="NEAR",
        block_explorer="https://explorer.near.org/"
    )


def ArbitrumOne() -> Config:
    return Config(
        network_name="ArbitrumOne",
        rpc_url="https://rpc.ankr.com/arbitrum",
        chain_id=42161,
        symbol="ETH",
        block_explorer="https://arbiscan.io/"
    )


def FantomOperaMainnetRPC() -> Config:
    return Config(
        network_name="FantomOpera",
        rpc_url="https://rpc.ftm.tools",
        chain_id=250,
        symbol="FTM",
        block_explorer="https://ftmscan.com/"
    )


def FantomTestnetRPC() -> Config:
    return Config(
        network_name="FantomTestnet",
        rpc_url="https://rpc.testnet.fantom.network",
        chain_id=4002,
        symbol="FTM",
        block_explorer="https://testnet.ftmscan.com/"
    )


def HarmonyMainnet() -> Config:
    return Config(
        network_name="HarmonyMainnet",
        rpc_url="https://api.harmony.one",
        chain_id=1666600000,
        symbol="ONE",
        block_explorer="https://explorer.harmony.one/"
    )


def HarmonyTestnet() -> Config:
    return Config(
        network_name="HarmonyTestnet",
        rpc_url="https://api.s0.b.hmny.io",
        chain_id=1666700000,
        symbol="ONE",
        block_explorer="https://explorer.harmony.one/"
    )


def Kucoin() -> Config:
    return Config(
        network_name="KucoinMainnet",
        rpc_url="https://rpc-mainnet.kcc.network",
        chain_id=321,
        symbol="KCS",
        block_explorer="https://scan.kcc.network/"
    )


def KucoinTestnet() -> Config:
    return Config(
        network_name="KucoinTestnet",
        rpc_url="https://scan-testnet.kcc.network",
        chain_id=322,
        symbol="KCS",
        block_explorer="https://scan-testnet.kcc.network/"
    )


def Elastos() -> Config:
    return Config(
        network_name="Elastos",
        rpc_url="https://api.elastos.io/eth",
        chain_id=20,
        symbol="KCS",
        block_explorer="https://explorer.elaeth.io/"
    )


def Gnosis() -> Config:
    return Config(
        network_name="Gnosis",
        rpc_url="https://rpc.gnosischain.com",
        chain_id=100,
        symbol="XDAI",
        block_explorer="https://blockscout.com/xdai/mainnet/"
    )


def Ubiq() -> Config:
    return Config(
        network_name="Ubiq",
        rpc_url="https://rpc.octano.dev",
        chain_id=8,
        symbol="UBQ",
        block_explorer="https://ubiqscan.io/"
    )


def Cronos() -> Config:
    return Config(
        network_name="Cronos",
        rpc_url="https://evm-cronos.crypto.org",
        chain_id=25,
        symbol="CRO",
        block_explorer="https://cronos.crypto.org/explorer/"
    )


def Solana() -> Config:
    return Config(
        network_name="SOL",
        rpc_url="https://rpc.ankr.com/solana",
        chain_id=25221,
        symbol="CRO",
        block_explorer="https://solscan.io/"
    )


def SmartBCH() -> Config:
    return Config(
        network_name="BCHMainnet",
        rpc_url="https://smartbch.fountainhead.cash/mainnet",
        chain_id=10000,
        symbol="BCH",
        block_explorer="https://www.smartscan.ca.sh/"
    )


def CeloMainnet() -> Config:
    return Config(
        network_name="CeloMainnet",
        rpc_url="https://rpc.ankr.com/celo",
        chain_id=42220,
        symbol="CELO",
        block_explorer="https://celoscan.com/"
    )

Functions

def ArbitrumOne() ‑> Config
Expand source code
def ArbitrumOne() -> Config:
    return Config(
        network_name="ArbitrumOne",
        rpc_url="https://rpc.ankr.com/arbitrum",
        chain_id=42161,
        symbol="ETH",
        block_explorer="https://arbiscan.io/"
    )
def AvalancheFujiTestnet() ‑> Config
Expand source code
def AvalancheFujiTestnet() -> Config:
    return Config(
        network_name="AvalancheTestnet",
        rpc_url="https://api.avax-test.network/ext/bc/C/rpc",
        chain_id=43113,
        symbol="AVAX",
        block_explorer="https://testnet.snowtrace.io/"
    )
def AvalancheMainnet() ‑> Config
Expand source code
def AvalancheMainnet() -> Config:
    return Config(
        network_name="AvalancheMainnet",
        rpc_url="https://api.avax.network/ext/bc/C/rpc",
        chain_id=43114,
        symbol="AVAX",
        block_explorer="https://snowtrace.io/"
    )
def BSCMain() ‑> Config
Expand source code
def BSCMain() -> Config:
    return Config(
        network_name="BinanceMainnet",
        rpc_url="https://bsc-dataseed1.binance.org",
        chain_id=56,
        symbol="BNB",
        block_explorer="https://bscscan.com",
        link_token="0x404460C6A5EdE2D891e8297795264fDe62ADBB75",
        link_keyhash="0xc251acd21ec4fb7f31bb8868288bfdbaeb4fbfec2df3735ddbd4f7dc8d60103c",
        link_vrf_coordinator="0x747973a5A2a4Ae1D3a8fDF5479f1514F65Db9C31"
    )
def BSCTest() ‑> Config
Expand source code
def BSCTest() -> Config:
    return Config(
        network_name="BSCTestnet",
        rpc_url="https://data-seed-prebsc-1-s1.binance.org:8545",
        chain_id=97,
        symbol="BNB",
        block_explorer="https://testnet.bscscan.com/",
        link_token="0x84b9B910527Ad5C03A9Ca831909E21e236EA7b06",
        link_vrf_coordinator="0xa555fC018435bef5A13C6c6870a9d4C11DEC329C",
        link_keyhash="0xcaf3c3727e033261d383b315559476f48034c13b18f8cafed4d871abe5049186"
    )
def CeloMainnet() ‑> Config
Expand source code
def CeloMainnet() -> Config:
    return Config(
        network_name="CeloMainnet",
        rpc_url="https://rpc.ankr.com/celo",
        chain_id=42220,
        symbol="CELO",
        block_explorer="https://celoscan.com/"
    )
def Cronos() ‑> Config
Expand source code
def Cronos() -> Config:
    return Config(
        network_name="Cronos",
        rpc_url="https://evm-cronos.crypto.org",
        chain_id=25,
        symbol="CRO",
        block_explorer="https://cronos.crypto.org/explorer/"
    )
def Elastos() ‑> Config
Expand source code
def Elastos() -> Config:
    return Config(
        network_name="Elastos",
        rpc_url="https://api.elastos.io/eth",
        chain_id=20,
        symbol="KCS",
        block_explorer="https://explorer.elaeth.io/"
    )
def Ethereum() ‑> Config
Expand source code
def Ethereum() -> Config:
    return Config(
        network_name="EthereumMainnet",
        rpc_url="https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
        chain_id=1,
        symbol="ETH",
        block_explorer="https://etherscan.io/",
        link_token="0x514910771AF9Ca656af840dff83E8264EcF986CA",
        link_vrf_coordinator="0xf0d54349aDdcf704F77AE15b96510dEA15cb7952",
        link_keyhash="0xAA77729D3466CA35AE8D28B3BBAC7CC36A5031EFDC430821C02BC31A238AF445"
    )
def FantomOperaMainnetRPC() ‑> Config
Expand source code
def FantomOperaMainnetRPC() -> Config:
    return Config(
        network_name="FantomOpera",
        rpc_url="https://rpc.ftm.tools",
        chain_id=250,
        symbol="FTM",
        block_explorer="https://ftmscan.com/"
    )
def FantomTestnetRPC() ‑> Config
Expand source code
def FantomTestnetRPC() -> Config:
    return Config(
        network_name="FantomTestnet",
        rpc_url="https://rpc.testnet.fantom.network",
        chain_id=4002,
        symbol="FTM",
        block_explorer="https://testnet.ftmscan.com/"
    )
def Gnosis() ‑> Config
Expand source code
def Gnosis() -> Config:
    return Config(
        network_name="Gnosis",
        rpc_url="https://rpc.gnosischain.com",
        chain_id=100,
        symbol="XDAI",
        block_explorer="https://blockscout.com/xdai/mainnet/"
    )
def GoerliTestnet() ‑> Config
Expand source code
def GoerliTestnet() -> Config:
    return Config(
        network_name="GoerliTestnet",
        rpc_url="https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
        chain_id=5,
        symbol="ETH",
        block_explorer="https://goerli.etherscan.io"
    )
def HarmonyMainnet() ‑> Config
Expand source code
def HarmonyMainnet() -> Config:
    return Config(
        network_name="HarmonyMainnet",
        rpc_url="https://api.harmony.one",
        chain_id=1666600000,
        symbol="ONE",
        block_explorer="https://explorer.harmony.one/"
    )
def HarmonyTestnet() ‑> Config
Expand source code
def HarmonyTestnet() -> Config:
    return Config(
        network_name="HarmonyTestnet",
        rpc_url="https://api.s0.b.hmny.io",
        chain_id=1666700000,
        symbol="ONE",
        block_explorer="https://explorer.harmony.one/"
    )
def HuobiChainMainnet() ‑> Config
Expand source code
def HuobiChainMainnet() -> Config:
    return Config(
        network_name="Heco",
        rpc_url="https://http-mainnet.hecochain.com",
        chain_id=128,
        symbol="HT",
        block_explorer="https://hecoinfo.com/"
    )
def HuobiChainTestnet() ‑> Config
Expand source code
def HuobiChainTestnet() -> Config:
    return Config(
        network_name="HecoTest",
        rpc_url="https://http-testnet.hecochain.com",
        chain_id=256,
        symbol="HT",
        block_explorer="https://testnet.hecoinfo.com/"
    )
def KovanTestnet() ‑> Config
Expand source code
def KovanTestnet() -> Config:
    return Config(
        network_name="KovanTestnet",
        rpc_url="https://kovan.infura.io/v3/2019a99711c648f8951a640e8031ca33",
        chain_id=42,
        symbol="KETH",
        block_explorer="https://kovan.etherscan.io/",
        link_token="0xa36085F69e2889c224210F603D836748e7dC0088",
        link_vrf_coordinator="0xdD3782915140c8f3b190B5D67eAc6dc5760C46E9",
        link_keyhash="0x6c3699283bda56ad74f6b855546325b68d482e983852a7a82979cc4807b641f4"
    )
def Kucoin() ‑> Config
Expand source code
def Kucoin() -> Config:
    return Config(
        network_name="KucoinMainnet",
        rpc_url="https://rpc-mainnet.kcc.network",
        chain_id=321,
        symbol="KCS",
        block_explorer="https://scan.kcc.network/"
    )
def KucoinTestnet() ‑> Config
Expand source code
def KucoinTestnet() -> Config:
    return Config(
        network_name="KucoinTestnet",
        rpc_url="https://scan-testnet.kcc.network",
        chain_id=322,
        symbol="KCS",
        block_explorer="https://scan-testnet.kcc.network/"
    )
def MoonBeamTestnet() ‑> Config
Expand source code
def MoonBeamTestnet() -> Config:
    return Config(
        # wss://wss.testnet.moonbeam.network
        network_name="MoonbaseAlphanet",
        rpc_url="https://rpc.testnet.moonbeam.network",
        chain_id=1287,
        symbol="DEV",
        block_explorer="https://moonbase-blockscout.testnet.moonbeam.network/"
    )
def NearAuroraMainnet() ‑> Config
Expand source code
def NearAuroraMainnet() -> Config:
    return Config(
        network_name="AuroraTestnet",
        rpc_url="https://rpc.ankr.com/near",
        chain_id=1313161554,
        symbol="NEAR",
        block_explorer="https://explorer.near.org/"
    )
def NearAuroraTestnet() ‑> Config
Expand source code
def NearAuroraTestnet() -> Config:
    return Config(
        network_name="AuroraTestnet",
        rpc_url="https://testnet.aurora.dev",
        chain_id=1313161555,
        symbol="NEAR",
        block_explorer="https://explorer.testnet.near.org/"
    )
def OKChainMainnet() ‑> Config
Expand source code
def OKChainMainnet() -> Config:
    return Config(
        network_name="OKExChainMainnet",
        rpc_url="https://exchainrpc.okex.org",
        chain_id=66,
        symbol="OKT",
        block_explorer="https://www.oklink.com/okexchain/"
    )
def OKChainTestnet() ‑> Config
Expand source code
def OKChainTestnet() -> Config:
    return Config(
        network_name="OKExChainTestnet",
        rpc_url="https://exchaintestrpc.okex.org",
        chain_id=65,
        symbol="OKT",
        block_explorer="https://www.oklink.com/okexchain-test/"
    )
def OptimisticEthereum() ‑> Config
Expand source code
def OptimisticEthereum() -> Config:
    return Config(
        network_name="OptimisticEthereumMainnet",
        rpc_url="https://mainnet.optimism.io",
        chain_id=10,
        symbol="ETH",
        block_explorer="https://optimistic.etherscan.io/"
    )
def OptimisticEthereumTestnet() ‑> Config
Expand source code
def OptimisticEthereumTestnet() -> Config:
    return Config(
        network_name="OptimisticEthereumMainnet",
        rpc_url="https://kovan.optimism.io",
        chain_id=69,
        symbol="ETH",
        block_explorer="https://kovan-optimistic.etherscan.io/"
    )
def PolygonMainnet() ‑> Config
Expand source code
def PolygonMainnet() -> Config:
    return Config(
        network_name="PolygonMainnet",
        rpc_url="https://polygon-rpc.com",
        chain_id=137,
        symbol="MATIC",
        block_explorer="https://explorer.matic.network/",
        link_token="0xb0897686c545045aFc77CF20eC7A532E3120E0F1",
        link_keyhash="0xf86195cf7690c55907b2b611ebb7343a6f649bff128701cc542f0569e2c549da",
        link_vrf_coordinator="0x3d2341ADb2D31f1c5530cDC622016af293177AE0"
    )
def PolygonMumbai() ‑> Config
Expand source code
def PolygonMumbai() -> Config:
    return Config(
        network_name="PolygonMumbaiTestnet",
        rpc_url="https://rpc-mumbai.maticvigil.com",
        chain_id=80001,
        symbol="MATIC",
        block_explorer="https://mumbai.polygonscan.com/",
        link_token="0x326C977E6efc84E512bB9C30f76E30c160eD06FB",
        link_keyhash="0x6e75b569a01ef56d18cab6a8e71e6600d6ce853834d4a5748b720d06f878b3a4",
        link_vrf_coordinator="0x8C7382F9D8f56b33781fE506E897a4F1e2d17255"
    )
def RSCMainnet() ‑> Config
Expand source code
def RSCMainnet() -> Config:
    return Config(
        network_name="RSCMainnet",
        rpc_url="https://rpc-mainnet.raisc.io",
        chain_id=1023,
        symbol="RSC",
        block_explorer="http://explorer.raisc.io/",
        link_token="0x79e93714E4049Ae8745F1FA21838d6FdfDCa9cA6",
        link_vrf_coordinator="0x3c89bdbfF0B1a27c126b89e78F21a7B66DA2dbeC",
        link_keyhash="0x66c8089c4313b58a4344f69f796705ea1a7b2c180836e56f4785bde84f7af32f"
    )
def RinkebyTestnet() ‑> Config
Expand source code
def RinkebyTestnet() -> Config:
    return Config(
        network_name="RinkebyTestnet",
        rpc_url="https://rinkeby.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
        chain_id=4,
        symbol="ETH",
        block_explorer="https://rinkeby.etherscan.io/"
    )
def RopstenTestnet() ‑> Config
Expand source code
def RopstenTestnet() -> Config:
    return Config(
        network_name="RopstenTestnet",
        rpc_url="https://ropsten.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
        chain_id=3,
        symbol="RETH",
        block_explorer="https://ropsten.etherscan.io/"
    )
def SmartBCH() ‑> Config
Expand source code
def SmartBCH() -> Config:
    return Config(
        network_name="BCHMainnet",
        rpc_url="https://smartbch.fountainhead.cash/mainnet",
        chain_id=10000,
        symbol="BCH",
        block_explorer="https://www.smartscan.ca.sh/"
    )
def Solana() ‑> Config
Expand source code
def Solana() -> Config:
    return Config(
        network_name="SOL",
        rpc_url="https://rpc.ankr.com/solana",
        chain_id=25221,
        symbol="CRO",
        block_explorer="https://solscan.io/"
    )
def Ubiq() ‑> Config
Expand source code
def Ubiq() -> Config:
    return Config(
        network_name="Ubiq",
        rpc_url="https://rpc.octano.dev",
        chain_id=8,
        symbol="UBQ",
        block_explorer="https://ubiqscan.io/"
    )
def XDaiMainnet() ‑> Config
Expand source code
def XDaiMainnet() -> Config:
    """
    more resources on
    https://www.xdaichain.com/for-developers/developer-resources#json-rpc-endpoints
    :return:
    """
    return Config(
        network_name="xDaiStake",
        rpc_url="https://rpc.xdaichain.com",
        # rpc_url="https://xdai.poanetwork.dev",
        # rpc_url="https://stake.getblock.io/mainnet/?api_key=bc690eca-e18a-4c53-b8e9-0f413e225e69",
        chain_id=100,
        symbol="xDai",
        block_explorer="https://explorer.anyblock.tools/ethereum/poa/xdai/",
        bridge="https://bridge.xdaichain.com/"
    )