How to Add a Custom Remote Procedure Call (RPC) to OKX Wallet?

·

Remote Procedure Call (RPC) is a protocol that enables your OKX Wallet to exchange data with a specific blockchain network. By adding a custom RPC, you can manually connect to various networks (e.g., testnets or specialized EVM-compatible blockchains) not preloaded in the wallet. This is particularly useful for developers or users exploring new or lesser-known networks.

Custom RPCs allow you to manually link the OKX Web3 Wallet to a blockchain network not supported by default. This is essential for accessing testnets, niche EVM-compatible blockchains, or private networks. To add a custom RPC to OKX Wallet (website or extension), follow these steps:


In the Mobile App

  1. Download the OKX Web3 Wallet app.
  2. Tap the network menu at the top of the wallet interface.
  3. Select Custom or Add Network.
  4. Enter the required network details (see below).
  5. Tap Confirm or Save.

In the Web Extension

  1. Log in to your OKX Wallet.
  2. Click the network switcher (e.g., Ethereum, BNB Chain) at the top of the wallet interface.
  3. Select Add Network.
  4. Enter the following network details:

    • Network Name: Assign a name (e.g., "My Test Network").
    • New RPC URL: Custom RPC endpoint (must be a valid HTTPS address).
    • Chain ID: Unique network identifier (e.g., 137 for Polygon).
    • Currency Symbol (optional): e.g., ETH, BNB, etc.
    • Block Explorer URL (optional): For transaction tracking (e.g., Etherscan).
  5. Click Save or Add. Your custom RPC network will now appear in the network list.

Key Considerations

👉 Best practices for secure RPC integration


FAQs

1. Why add a custom RPC?

Custom RPCs enable access to unsupported networks, such as private chains or experimental testnets, expanding your Web3 capabilities.

2. Where can I find reliable RPC URLs?

Check the official documentation of the blockchain you’re connecting to or trusted infrastructure providers like Infura or Alchemy.

3. Can I use multiple custom RPCs?

Yes, OKX Wallet supports multiple custom networks. Manage them via the network settings menu.

4. What if my transactions fail after adding a custom RPC?

Verify the RPC URL and Chain ID. If issues persist, consult the network’s support team or switch to a different endpoint.

5. Is there a risk in using custom RPCs?

Only if the RPC provider is unreliable. Stick to reputable sources to avoid security risks.


Final Tips

👉 Optimizing your OKX Wallet experience

By following these steps, you can seamlessly integrate custom RPCs into your OKX Wallet, unlocking broader blockchain interoperability. Whether for development, testing, or exploration, custom RPCs empower you to connect beyond default networks.