Skip to content

Mycelium-Lab/crisp-exchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crisp

Crisp is an open-source structured liquidity protocol on the NEAR blockchain.

This repository contains the Rust smart contract.

There is also a frontend repository.

How it works

The smart contract implements an advanced DEX where you can:

  • trade with existing liquidity
  • place concentrated liquidity positions in a chosen price range to earn trading fees
  • leverage your positions up to 5x
  • lend your tokens for others to borrow for leverage and earn interest
  • liquidate underwater leveraged positions to earn a premium

Read a more detailed overview here.

Requirements

  • NEAR 3.4.2
  • Rust 1.64.0

Setup

  1. Install near-cli using instructions found here.

  2. Install rust using this.

  3. Clone the repository and open it.

Deploy

./deploy.sh will build and deploy the smart contract

Usage

Interactions with the contract are documented here.

Tests

Run cargo test to run Rust tests

License

Apache 2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •