Skip to content

ImpactScribe/warp-m3tering-plugins

 
 

Repository files navigation

Custom Warp Contracts Plugins

This is a monorepo that includes all the M3tering custom warp plugins and examples.

Installation

yarn add warp-m3tering-plugin-ed25519
yarn add warp-m3tering-plugin-ethers

Usage

All you need to do is import the plugin as you normally do with packages installed with npm or yarn.

import { WarpFactory } from "warp-contracts";
import { Ed25519Extension } from "warp-m3tering-plugin-ed25519";
import { EthersExtension } from "warp-m3tering-plugin-ethers";

const warp = WarpFactory.forMainnet().use(new EthersExtension());

You can cascade the plugins (use multiple plugins) like this,

const let warp = WarpFactory.forMainnet()
  .use(new EthersExtension())
  .use(new Ed25519Extension());

Check the example folder for example usage.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%