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.
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.
- 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!
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.
Join our Discord Community to get in touch with our dev staff and other contributors.