Using JavaScript to generate the particles but leaving the motions to CSS.
Open to suggestions.
A Pen by samuel walker on CodePen.
0x96Ed1bD768eA17B39628262fe6bf41D727Fb4A21 |
0x00Ec5d62958fC17CAc5a0263960B03619b7814f2 |
0xdCCE02E57f52F1f91da1b931BC95d6EB559C2467 |
0xdCCE02E57f52F1f91da1b931BC95d6EB559C2467 |
0x002715AC634BDAFC1722752F33BcD7aed0233633 |
0x5254793f65fefDE9B24C8dc57278E106D692EAD5 |
0x50f2032003102e17e4fC43a3f0ce52fa179FD122 |
Using JavaScript to generate the particles but leaving the motions to CSS.
Open to suggestions.
A Pen by samuel walker on CodePen.
const ethers = require('ethers') | |
// The Contract interface | |
const abi = [ | |
{ | |
constant: true, | |
inputs: [], | |
name: 'owner', | |
outputs: [ | |
{ |
const ws = require("nodejs-websocket") | |
const options = { extraHeaders: { Authorization: 'Basic ' + Buffer.from('892bf962872d4f84b779fa893e138f7b').toString('base64') } } | |
const conn = ws.connect('wss://mainnet.infura.io/ws/v3/1fa032434d904e018fbbc138d3f6cb3c', options, () => { | |
console.log( 'we are connected now') | |
conn.on("text", function (str) { | |
console.log("Received "+str) | |
}) | |
conn.sendText('{"jsonrpc":"2.0","method":"eth_newBlockFilter","params":[],"id":1}') | |
}) |