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

223
Vistas
Get a variable from Github

I have a json file that's an ABI for a smart contract. I am building a site in Webflow, but due to the 10000 character custom code limit, I need to host the json for the smart contract elsewhere.

I have it on Github at: https://github.com/learyjk/baddognft/blob/main/ABI.js

What I would like to do is have a variable in the custom code section of Webflow and just be able to call ABI so that I can instantiate a web3 contract. I was able to get it working using gitcdn.link but it's not working anymore for some reason.

Another option I played around with but wasn't able to get working were $.get("link here"). I also tried jsdelivr

but I keep getting "ABI not defined" error.

Thanks!

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You need to grab the raw version of the file from github, try changing the link to this:

https://raw.githubusercontent.com/learyjk/baddognft/main/ABI.js

Looking at the file though, you have var ABI = [// your stuff]. Which is invalid json. You have the extension correct so maybe that was just a typo in your question...

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