@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")
);

/@polymarket/fpmm-factory-sdk/

    Package Sidebar

    Install

    npm i @polymarket/fpmm-factory-sdk

    Weekly Downloads

    2

    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