Skip to content

MARKET.js - library to interact with MARKET Protocol

License

Notifications You must be signed in to change notification settings

rojosnow/MARKET.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

MARKET Protocol has been created to provide a secure, flexible, open source foundation for decentralized trading on the Ethereum blockchain. We provide the pieces necessary to create a decentralized exchange, including the requisite clearing and collateral pool infrastructure, enabling third parties to build applications for trading.

MARKET.js

Take a look at our docs for a little more explanation.

Join our Discord Community to interact with members of our dev staff and other contributors.

MARKET.js is a library for interacting with MARKET Protocol Smart Contracts.

Functionality

  • Orders
    • generating and signing
    • filling and cancelling
    • verifying signature
    • calculating remaining Qtys
  • Collateral
    • checking a users unallocated collateral balances
    • checking a users allocated collateral
    • calculation of needed collateral
    • wrapper for ERC20 token functionality.
  • Positions
    • querying users open positions (qty and price)
    • PnL calculations
  • Events
    • Fills
    • Collateral Deposit / Withdraw
    • Contract Settlement
    • Cancelled / Expired orders
  • Contract Registry
  • MKT Token Access to contracts
  • more coming soon!

Contributing

Want to hack on MARKET Protocol? Awesome!

MARKET Protocol is an Open Source project and we welcome contributions of all sorts. There are many ways to help, from reporting issues, contributing code, and helping us improve our community.

Ready to jump in? Check docs.marketprotocol.io/#contributing.

Questions?

Join our Discord Community to get in touch with our dev staff and other contributors.

About

MARKET.js - library to interact with MARKET Protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 51.4%
  • JavaScript 48.6%