VisionWeb Object

Create an instance of the visionWeb javascript library. In addition to the utility functions, it includes all related modules.

Returns

Object

Example

const VisionWeb = require('visionweb');
const HttpProvider = VisionWeb.providers.HttpProvider;
  
const FullNode = new HttpProvider("https://infragrid.v.network/");
const SolidityNode = new HttpProvider("https://infragrid.v.network/");
const EventServer = new HttpProvider("https://infragrid.v.network/");
const PrivateKey = "your private key";
const visionWeb = new VisionWeb(FullNode, SolidityNode, EventServer, PrivateKey);