Skip to content

An Agoric dApp facilitating the exchange of two predefined assets through an intuitive order book mechanism.

Notifications You must be signed in to change notification settings

Jorge-Lopes/dapp-simple-exchange

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleExchange dApp

Description

The SimpleExchange contract was written with simplicity in mind. It allows the exchange of two predefined assets, and it holds an order book which is filled when users make an offer, describing what asset they give and what asset they want in return. As soon as a user creates an offer that matches one of the existing ones, the contract will execute the exchange and the counterparts will receive their desired assets.

Documentation

You can find a detailed description of the SimpleExchange contract in the components page, as well as a guide on how to interact, test and deploy the contract in the tutorial page.
For the contracts and tests we included in-line comments to facilitate the understatement of the logic implemented and methods used.

Repository Contents

  • Contracts:
    • Basic version
    • Upgradable version
  • Tests:
    • Unit tests (both versions)
    • Integration tests
    • Swingset tests
    • Smoke tests
    • testing helpers
  • Core-eval proposals
  • Documentation
    • Component
    • Tutorial

Community

Any feedback is welcome, so feel free to share your ideas or improvements, by opening an issue or pull request.

About

An Agoric dApp facilitating the exchange of two predefined assets through an intuitive order book mechanism.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.8%
  • Makefile 2.6%
  • Other 0.6%