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

221
Views
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 answers
Answer question

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 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!