tdex-daemon

module
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 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 probably find useful for development.

Requirements
  • Go (^1.16.*)
Run daemon

Builds tdexd as static binary and runs the project with default configuration.

$ make run
Build daemon

Builds tdexd as static binary in the ./build folder

$ make build
Build CLI

Builds tdex as static binary in the ./build folder

$ make build-cli
Build unlocker

Builds unlockerd as static binary in the ./build folder

$ make build-unlocker
Build tdexdconnect

Builds tdexdconnect as a static binary in the ./build folder

$ make build-tdexdconnect
Build and Run with docker

Build and use tdex with docker.

Build tdexd docker image

At the root of the repository

$ docker build --pull --rm -f "Dockerfile" -t tdexd:latest "."
Run the daemon
$ docker run -d -it --name tdexd -p 9945:9945 -p 9000:9000 -v `pwd`/tdexd:/.tdex-daemon tdexd:latest
Use the CLI
$ alias tdex="docker exec -it tdexd tdex"
Use the unlocker
$ alias unlockerd="docker exec -it tdexd unlockerd"
Use tdexdconnect
$ alias tdexdconnect="docker exec tdexd tdexdconnect"
Test
# Short 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.

Jump to

Keyboard shortcuts

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