Web3.js

Using Javascript from SpiderBasic
skinkairewalker
Posts: 120
Joined: Tue Jun 14, 2016 7:17 pm

Web3.js

Post by skinkairewalker »

does anyone know how to add the Web3.js library (Ethereum) with spiderbasic?

https://github.com/ChainSafe/web3.js
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: Web3.js

Post by Peter »

I'm not familiar with the Ethereum stuff (and I'm not interested in it either), but the first step would be to put the library in the head section of your page:

Code: Select all

! $("<script src='https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js'></script>").appendTo("head");
skinkairewalker
Posts: 120
Joined: Tue Jun 14, 2016 7:17 pm

Re: Web3.js

Post by skinkairewalker »

Wow, thanks :D
Post Reply