📱 Mobile app for making trades on TDEX
- Download iOS from App Store
- Download Android from Play Store or install the APK from Github Releases
Below is a list of commands you will probably find useful for development.
Runs the project in development/watch mode in the browser. Your project will be rebuilt upon changes.
Transpile TypeScript and bundles the app for production to the build folder.
Runs the app on the Emulator with target Android
Runs the app on the Simulator with target iOS
Runs eslint on the whole project
- Docker/compose
First, you need a Liquid regtest node to simulate a blockchain enviroment. The fastest way is to download and install Nigiri CLI
- Download and install
nigiricommand line interface
$ curl https://getnigiri.vulpem.com | bash- Close and reopen your terminal, then start Bitcoin and Liquid
$ nigiri start --liquidThat's it. Quickly inspect the Liquid blockchain on http://localhost:5001 for Liquid. The Esplora REST API interface is on http://locahost:3001
- Pull the tdex daemon container
$ docker pull ghcr.io/tdex-network/tdexd:latest- Run on Regtest connecting to Nigiri explorer and using regtest LBTC asset hash and mint USDt
$ yarn tdex:run- Clean
$ yarn tdex:clean-
Change elements configuration by adding
fedpegscript=51210269e0180bc9e0be7648d6e9c17f3664bc3ebcee40f3a46cf4b42e583e96b911b951aeand commentinginitialfreecoins=2100000000000000 -
Change LBTC_ASSET.assetHash in
./src/utils/constants.tsto056293ee681516f2d61bb7ce63030351d5e02d61aef9fb00d30f27f55d935b18
$ nigiri start --liquid- Generate coins for testing
$ ./script/pegin.sh