Skip to content
No description, website, or topics provided.
Go Shell
Branch: master
Clone or download
dnldd and chappjc multi: add dcr wallet client
DCR wallet client

* api semver helpers
* contract creation helpers
* tx size estimation helpers
* wallet client rpcs
* create transaction func
* swap tx rpc
Latest commit e3fa6ad Nov 11, 2019

README.md

dcrdex - The Decred DEX

dcrdex is the repository for the specification and source code of the Decred Distributed Exchange (DEX).

Specification

The DEX specification was drafted following stakeholder approval of the specification proposal.

Source

The source code for the DEX server and client are being developed according to the specification. This undertaking was approved via a second DEX development proposal.

Repository Organization

The proposed organization of the source code in the repository is as follows.

dcrdex
├── client                # client libraries
│   ├── ...               # user, ws/comms, orders, etc.
│   ├── cmd
│   │   ├── dexclient     # CLI app
│   │   └── dexwebclient  # e.g. http://127.0.0.1:7345
│   └── docs
├── README.md
├── server
│   ├── account        # account/user manager
│   │   └── pki        # possibly separate for sig. and verif. functions
│   ├── db             # persistent storage a.k.a the archivist
│   │   └── driver     # selectable db drivers in multiple subdirectories
│   ├── asset          # i.e. interface.go
│   │   ├── btc        # implement the interface
│   │   └── dcr
│   ├── book           # order book manager
│   ├── cmd
│   │   └── dcrdex     # main()
│   ├── comms          # communications hub, ideally abstract transport
│   │   ├── jsonrpc    # primarily the types and things the client uses too
│   │   └── ws         # websocket (perhaps other transports)
│   ├── dex
│   │   ├── admin      # administrative tools and portal (may need RPC server too)
│   │   └── controller # controller for multiple markets, users, api, comms, etc.
│   ├── docs
│   ├── httpapi       # HTTP API
│   ├── market         # market manager
│   │   └── order      # the ubiquitous order type
│   ├── matcher        # order matching engine
│   └── swap           # the swap executor/coordinator
├── spec
└── testing
    └── harness.sh    # tmux testing harness 

Note that dcrdex is the name of both the repository and the DEX server process built by the {reporoot}/cmd/dcrdex module.

You can’t perform that action at this time.