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

0.1.0 • Public • Published

Markets SDK Client

This is a simple wrapper around the markets sdk. The markets-sdk doesn't directly interact with the onchain contracts(for flexibility), it generates transactions which can be executed by others.

This client takes in:

  • The address where the MarketsRegistry contract is deployed

  • An ethers provider/signer that populates and executes the transactions that are generated by the sdk.

Usage

const sdkClient = MarketsSdkClient(kovanMarketsRegistryAddress, provider); //Initialize the client

await sdkClient.getMarkets();

await sdkClient.getPendingProposals();

Readme

Keywords

none

Package Sidebar

Install

npm i @polymarket/polymarket-fe-sdk

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

271 kB

Total Files

18

Last publish

Collaborators

  • niraek
  • poly-rodr
  • mshrieve
  • dylangolow
  • esinger93457
  • jonamen
  • l-kov
  • sherrbss
  • mttwlkr