Browser support

The Daemon and the Javascript SDK both support gRPC-Web out-of-the-box which is a cutting-edge spec that enables invoking gRPC services from modern browsers.

In order to that, gRPC-web clients connect to gRPC services via a special proxy. You can find a dockerized version here


Use one of the following methods to run a TDEX daemon with gRPCWeb support on your machine:

Run with docker compose

1) If it's the first time (ie. you need to create a wallet). If not, skip to the following step

# Run on Liquid network and select Encrypted
$ docker run --rm -v `pwd`/data:/root/.tdex-daemon -it truedex/tdex-daemon

2) Clone the repository

$ git clone

3) Move the docker-compose.yml and Caddyfile into the same directory where data (created at step 1) is stored

$ export TDEX_PASSWORD=MyPassword 
$ docker-compose up -d

Run standalone

  • Start tdex-daemon tdex-daemon
  • Download pre-built binary of grpcwebproxy from here
  • Start gowebproxy grpcwebproxy --backend_addr=localhost:9945 --run_tls_server=false --allow_all_origins

results matching ""

    No results matching ""