Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

265
Views
How to limit WalletConnect to only connect to Binance Smart Chain?

I am trying to create a Dapp which works on Binance Smart Chain only. I have used walletConnect CDN:

<script src="https://cdn.jsdelivr.net/npm/@walletconnect/web3-provider@1.7.8/dist/umd/index.min.js"></script> 

In the RPC section I have only used the rpc for binance smart chain like the following:

 function getProvider() {
    // const provider = new WalletConnectProvider.default({
    //   infuraId: "27e484dcd9e3efcfd25a83a78777cdf1",
    // });

    var provider = new WalletConnectProvider.default({
      rpc: {
        56: "https://bsc-dataseed.binance.org",
      },
      // bridge: "https://bridge.walletconnect.org",
    });

    return provider;
  }

I am trying to connect Trust Wallet to my dapp but it shows Ethereum Mainnet only. I can provide the complete code as well (its a very simple html js site at this moment). Can someone please tell me how do I limit it to only BSC? I am new to web3 world, I will highly appreciate the help from the community. Thanks

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!