@polymarket/fpmm-factory-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

fpmm-factory-sdk

Lightweight wrapper around the Polymarket FPMM Factory contracts

Usage

import { FpmmFactory } from "@polymarket/fpmm-factory-sdk";
import { ethers } from "ethers";

const signer = new Wallet("0x" + process.env.KEY);
const factory = new FpmmFactory(signer, 137);

// Deploy fpmm
await factory.deployFPMM(
    conditionalTokensAddress, 
    usdc,
    [conditionId], 
    ethers.BigNumber.from("200")
);

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.24latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.24
0.0.11

Package Sidebar

Install

npm i @polymarket/fpmm-factory-sdk

Weekly Downloads

3

Version

0.0.2

License

MIT

Unpacked Size

28.1 kB

Total Files

31

Last publish

Collaborators

  • schestakov
  • chloe-tan
  • javamonnnn
  • nickbytes
  • niraek
  • poly-rodr
  • mshrieve
  • esinger93457
  • jonamen
  • l-kov
  • sherrbss
  • mttwlkr