ZapJS Packages

ZapJS packages are npm modules to help developers integrating Zap contracts

Installing ZapJs packages

Yarn or node is required

$ yarn add @zapjs/provider 

Once you installed the packages, you can use them to call ZAP Contracts :

// Example with @zapjs/provider package to create Oracle

import {ZapProvider} from "@zapjs/provider"
import * as Web3 from "web3"
const myWeb3 = new Web3("nodeURL")
const newOracle = new ZapProvider(yourAddress,{networkId:1,networkProvider:myWeb3})

For more docs on ZapJS packages, check out our github :

Last updated