Clear Developer Guide
  • Clear Developer Guide
  • Deploy Contract
    • Quick start
    • Configure Contract
    • Contract Upgrade
    • Contract Address
  • Configure contract parameters
    • Configure Contract Parameters
  • Interact with the contract
    • OPTION
      • Market Maker
      • User
    • NOTE
      • Fund Manager
      • LP User
  • Contract reference
    • Oracle
    • Index Contract
    • Option Contract
    • Market Maker Contract
    • Note Contract
  • APIs
    • Configure
    • Price
    • User
    • Market Maker
    • Index
    • Option parameter configuration
    • Faucet
Powered by GitBook
On this page
  • About protocol design
  • Clear SDK
  • Clear templates
  • Blockchain architecture
  • Developer

Clear Developer Guide

About protocol design

ClearDAO Protocol is a community-oriented decentralized protocol for bespoke derivatives, mainly dedicated to solving the lack of derivative diversity, resilient risk management and the support for emerging asset derivatives in the market. Based on community-oriented design principles, it abstracts and encapsulates the basic modules and principles of derivatives creation, trading and risk control into an open SDK.

A financial derivative is a financial contract whose value depends on the performance of a reference pool. The reference pool can be an asset, index or interest rate, which is usually referred to as the "base asset" for short. There are three main reasons for buying and selling financial derivatives: hedging, speculation and arbitrage. Clear supports multiple network deployments such as ETH, BSC, and Arbitrum and more. In the derivatives space, there is only one protocol that supports the customization of multiple types of financial derivatives, which is ClearDAO Protocol.

Clear SDK

1. Simple and fast construction of derivatives

Clear SDK is the flagship product of the ClearDAO Protocol. It is a series of smart contracts and library modules that can help developers create derivatives in a simple and fast way.

2. Powerful risk management library

Clear SDK possesses powerful tools, which can help users visualize and manage market risks.

3. Easy and quick access to the market

Clear SDK could be used to create and launch a derivatives trading platform.

Clear templates

Clear currently has barrier options and SDKs for structured fund products. Perpetual futures, options, CDS and TRS are under development. For now, the pricing of derivatives is done off-chain, and an improved version of vAMM is adopted for automated trading. Clear will also add an order book trading system to the SDK for developers to use.

Blockchain architecture

Developer

Steps to be completed

  1. Environment deployment

  2. Run the deployment script to Kovan or BSC

  3. Submit your address to Clear and apply for service

  4. Configure the contract

  5. Debug and run, then service is online

NextQuick start

Last updated 3 years ago

If you are a developer interested in building the ClearDAO Protocol. Please continue reading to learn how the ClearDAO Protocol calls the integrated SDK. If you want to customize a set of derivative products, the Clear team will develop it after the community proposal is passed. To start building derivatives contracts based on the ClearDAO Protocol immediately, first check out the to set up your environment.

quick start