Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 425 Bytes

readme.md

File metadata and controls

11 lines (9 loc) · 425 Bytes
const thorify = require("thorify").thorify;
const Web3 = require("web3");

// BAD [X] developer needs to host a node
const web3 = thorify(new Web3(), "http://localhost:8669");

// GOOD [O] developer don't need to run the complicated infrastructure themselves
const web3 = thorify(new Web3(), "http://test.venode.io"); connect to testnet
const web3 = thorify(new Web3(), "http://main.venode.io"); connect to mainnet