Socket
Book a DemoInstallSign in
Socket

@polymarket/polymarket-fe-sdk

Package Overview
Dependencies
Maintainers
10
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polymarket/polymarket-fe-sdk

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.

latest
npmnpm
Version
0.1.0
Version published
Maintainers
10
Created
Source

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

FAQs

Package last updated on 20 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts