tdex-daemon

module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2023 License: MIT

README ยถ

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.

Directories ยถ

Path Synopsis
api-spec
protobuf/gen/tdex-daemon/v2
Package tdex_daemonv2 is a reverse proxy.
Package tdex_daemonv2 is a reverse proxy.
protobuf/gen/tdex/v1
Package tdexv1 is a reverse proxy.
Package tdexv1 is a reverse proxy.
protobuf/gen/tdex/v2
Package tdexv2 is a reverse proxy.
Package tdexv2 is a reverse proxy.
cmd
internal
pkg
marketmaking/formula
Package formula defines the formulas that implements the MarketFormula interface
Package formula defines the formulas that implements the MarketFormula interface
explorer Module
macaroons Module
securestore Module
test
e2e

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL