The Land of Strife
  • 公告:LOS V3版本更新(11月10日)
  • 公告:LOS大版本内容更新
  • 故事背景
  • Story
  • 职业介绍
  • Character
  • 角色养成
  • Role cultivation
  • 宝箱钥匙
  • Treasure Key
  • 纷争之地--PVE
    • 关于英雄
    • PVE战斗
  • The land of Strife--PVE
    • About the hero
    • PVE
  • 纷争之地--PVP
  • The land of Strife--PVP
  • 交易市场
  • NFT Trading Market
  • 路线图
  • Road Map
  • 代币信息
  • Token
  • 官方社群信息
  • MetaMask with OKExChain(Mainnet)
  • 小狐狸钱包教程
  • 新手打金教程
Powered by GitBook
On this page
  • Mainnet JSON-RPC Endpoint (chain-id: exchain-66)
  • Mainnet Websocket Endpoint
  • Testnet JSON-RPC Endpoint (chain-id: exchain-65):
  • Testnet Websocket Endpoint

Was this helpful?

MetaMask with OKExChain(Mainnet)

Used by

  • exchain-java-sdk

  • Metamask

Mainnet JSON-RPC Endpoint (chain-id: exchain-66)

  • https://exchainrpc.okex.org

Mainnet Websocket Endpoint

  • wss://exchainws.okex.org:8443

How to configure MetaMask with OKExChain(Mainnet) in one step

currentProvider.send({
    "method": "wallet_addEthereumChain",
    "params": [
        {
            "chainId": "0x42",
            "chainName": "OKExChain Main",
            "rpcUrls": ["https://exchainrpc.okex.org/"],
            "nativeCurrency": {
                "name": "OKT",
                "symbol": "OKT",
                "decimals": 18
            },
            "blockExplorerUrls": ["https://www.oklink.com/okexchain"]
        }
    ]
})

Testnet JSON-RPC Endpoint (chain-id: exchain-65):

  • https://exchaintestrpc.okex.org

Testnet Websocket Endpoint

  • wss://exchaintestws.okex.org:8443

How to configure MetaMask with OKExChain(Testnet) in one step

currentProvider.send({
  "method": "wallet_addEthereumChain",
  "params": [
    {
      "chainId": "0x41",
      "chainName": "OKExChain Testnet",
      "rpcUrls": ["https://exchaintestrpc.okex.org"],
      "nativeCurrency": {
        "name": "OKT",
        "symbol": "OKT",
        "decimals": 18
      },
      "blockExplorerUrls": ["https://www.oklink.com/okexchain-test"]
    }
  ]
})
Previous官方社群信息Next小狐狸钱包教程

Last updated 3 years ago

Was this helpful?