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

177
Vistas
How to add global variable like window.ethereum in metamask in chrome extension

I'm building chrome extension wallet from scratch and I want to add global variable like window.ethereum from metamask.
I've tried to simply add this code to the background.js but it does not work.😅

window.alternativeForEthereum = {};

Now I want to find a way to provide interface for all web pages which interacts with my wallet so that the pages can send requests to the wallet directly.
The target workflow is extremely similar to accessing account logic from metamask.

Thank you in advance and any answer will be highly appreciated.

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