Skip to content

tdex-network/tdex-daemon

Repository files navigation

tdex-daemon

Go Report Card PkgGoDev Release

Go implementation of the TDex Daemon

📄 Usage

In-depth documentation for installing and using the tdex-daemon is available at docs.tdex.network

🛣 Roadmap

  • Swap protocol
  • Trade protocol
  • Confidential support
  • Automated Market Making
  • Pluggable Market Making

🖥 Local Development

Below is a list of commands you will likely find useful for development.

Requirements

Run daemon (dev mode)

Start the ocean wallet.

Start the daemon:

$ make run

Build daemon

Build tdexd as a static binary in the ./build folder

$ make build

Build CLI

Build tdex as a static binary in the ./build folder

$ make build-cli

Build and Run with docker

Start oceand and tdexd services as docker contaniner.

Start oceand and tdexd

Start oceand and tdexd containters:

$ docker-compose -f resources/compose/docker-compose.yml up -d oceand tdexd

Use the CLI

$ alias tdex="docker exec tdexd tdex"

# Configure the CLI
$ tdex config init --no-tls --no-macaroons

# Use the CLI
$ tdex status
$ tdex --help

Test

# Unit testing
$ make test

# Integration testing
$ make integrationtest

Release

Precompiled binaries are published with each release.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.