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

183
Views
How to use BSC with WalletConnect and Web3.js

Like the title says, i need to integrate these technologies together.

I instantiate WalletConnectProvider like this, as per docs:

const provider = new WalletConnectProvider({
rpc:'https://bsc-dataseed.binance.org/'
});

//  Enable session (triggers QR Code modal)
await provider.enable();
web3=new Web3(provider);

But whenever i make a call to a Smart Contract deployed in there, it won'be called. Also, it uses the Trust Wallet ETH account, not the BSC one.

Any help would be appreciated.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

when specifying the rpc link, try creating an object for it with the key as the chain Id and the value as the provider url

rpc = {
  57: "https://your-bsc-provider-url-here.com"
};

Check the custom RPC instructions here https://docs.walletconnect.com/quick-start/dapps/web3-provider

about 4 years ago · Juan Pablo Isaza Report
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!