warp-contracts-plugin-fetch
v0.1.5
Published
Fetch custom plugin for Warp contracts
Downloads
1
Readme
Custom Warp Contracts Plugin Fetch
node-fetch extension for warp contracts.
Installation
yarn add warp-contracts-plugin-fetch
Using the plugins in the project
import { WarpFactory } from "warp-contracts";
import { FetchExtension } from "warp-contracts-plugin-fetch";
const warp = WarpFactory.forMainnet().use(new FetchExtension());
You can cascade the plugins (use multiple plugins) like this,
const warp = WarpFactory.forMainnet()
.use(new FetchExtension())
.use(new SnarkjsExtension());