Sample Node.js application using the haveno-ts library.
git clone https://github.com/haveno-dex/haveno-sample-app.git
cd haveno-sample-app
npm install
- Follow instructions to build and start a Haveno daemon: e.g.
make haveno-daemon-mainnet
ormake user1-daemon-local
. - Install envoy, for example:
brew install envoy
- Start envoy to proxy between the client's http1 and havenod's http2:
For a mainnet haveno daemon:
envoy -c config/envoy.yaml
For a local testnet haveno daemon:envoy -c config/envoy.local.yaml
- In a new terminal:
npm run start