warp-contracts-plugin-fetch
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

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());

Readme

Keywords

none

Package Sidebar

Install

npm i warp-contracts-plugin-fetch

Weekly Downloads

2

Version

0.1.5

License

MIT

Unpacked Size

5.34 kB

Total Files

11

Last publish

Collaborators

  • firstbatch