Skip to content

venode/proposal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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