Skip to content

A zkRollup DEX with permissionless listing

Notifications You must be signed in to change notification settings

degatedev/protocols

 
 

Repository files navigation

DeGate Protocol using zkSNARKs

About

DeGate is a Decentralized Exchange (DEX) protocol built on Zero Knowledge (ZK) technology. As a ZK Rollup, DeGate fills a key gap in the market by providing spot order book trading and grid trading within the Ethereum ecosystem, offering an experience similar to centralized exchanges (CEX). To understand several concepts introduced by the DeGate Protocol, please read our documentation for DeGate protocol.

Top Features

  • Onchain data-availability (DEXes can opt out for even greater throughput & lower cost)
  • ERC20 tokens and Ether are supported by default
  • Onchain deposit + on-chain & offchain withdrawal support
  • Support onchain and offchain order cancellation and order time-to-live settings
  • Allow partial order matching (aka partial fill) and offchain order-scaling
  • Multiple circuit permutations for different request batch sizes
  • Use tokens/ether traded as trading fee
  • A built-in mechanism to force DEX operators to fulfill duties in time
  • Support a unique feature called Order Aliasing
  • 100% secure for end users, even when DEX operators are evil
  • Grid trading capabilities with automatic/customizable strategies through parameters control
  • Batch spot trading significantly boosts protocol TPS and reduces transactional cost & fees
  • Gas fees reduction for deposits via the transfer deposit feature
  • and more...

Etherscan.io Code Verification

You can run truffle-flattener <solidity-files> to flatten a file. For contracts with constructor arguments, use https://abi.hashex.org/ to generated the argument string. To verify on etherscan.io, you also need to learn which libraries are linked to each contract from the migration scripts.

About

A zkRollup DEX with permissionless listing

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 39.5%
  • TypeScript 30.5%
  • Solidity 15.3%
  • Python 8.2%
  • Cuda 3.8%
  • JavaScript 1.7%
  • Other 1.0%