Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

181
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda