HollaEx CLI

1.8.1 - 2020-02-20

Added

  • Added a feature to reapply the Kubernetes ingress rules automatically if the database jobs failed on hollaex upgrade.

Fixed

  • Fixed an issue with base64 encoding on Linux machine for generating Kubernetes secret file.

  • Fixed an issue with checking the database job status while on hollaex upgrade process for Kubernetes.

  • General wording fixes.

1.8.0 - 2020-02-19

This is a first release of HollaEx CLI v1.8 which is compatible with HollaEx Kit v1.2.

Added

  • Custom HollaEx Core image build changes.

    • Advanced custom mail support.

    • Custom plugins support for the exchange. You and either download / activate plugins that bitHolla officially provides, or can build your own plugins for custom features.

  • Plugins support for HollaEx

    • HollaEx CLI will now run plugins-controller server additionally to handle plugins features and requests. It would be an additional container form and stay with other workloads like API or Stream containers. All requests with /plugins url will be forwarded to the plugins-controller server.

  • hollaex setup improvements.

    • HollaEx CLI is now able to pull the exchange configuration data from bitHolla Dashboard automatically, during the hollaex setup process. Once you finish the exchange configuration through bitHolla Dashboard, proceed to run hollaex setup and provide your bitHolla credentials, and select your exchange on the list. The configurations will be downloaded automatically to your HollaEx Kit.

1.7.9 - 2020-01-31

This is a final release of HollaEx CLI v1.7 which is compatible with HollaEx Kit v1.1.

Added

  • hollaex setup manual form improvement.

Fixed

  • Fixed an issue at hollaex web operations which potentially can remove existing SSL setup.

1.7.8 - 2020-01-31

Added

  • Memory-based Horizontal Pod Autoscaler (HPA) has been added and set as default for API pods for HolaEx Kubernetes Deployment. The HPA will automatically scales up the API to improve performance and availability of your exchange.

  • General improvement at HollaEx Web deployment for Kubernetes.

Fixed

  • Fixed an issue at SSL issuing through cert-manager for HollaEx Web deployed at Kubernetes.

1.7.7 - 2020-01-22

Added

  • Kubernetes PodAffinity setup has been applied for HollaEx server containers. Exchange running at Kubernetes will now try to split out the server containers on multiple nodes as much as possible while on the scheduling.

  • More optimized resource limit & request values has been applied for backend components (PostgreSQL, Redis, and InfluxDB) running at Kubernetes. This change would only affect the newly installed backend component servers.

Fixed

  • Fixed an issue at creating new coin for the HollaEx Kit exchange at Kubernetes.

1.7.6 - 2020-01-10

Added

  • hollaex logs command now supports to display specific docker container's log, based on its role. For example. hollaex logs --target api --lines 20 will only display last 20 lines of API container's logs.

Fixed

  • General wording improvements.

  • Improved a cURL timeout issue with HollaEx CLI Docker build.

1.7.5 - 2020-01-09

Added

  • HollaEx CLI now always updates the bitholla/hollaex-core version tag as the latest, at Dockerfile in HollaEx Kit to build user custom HollaEx Core image. This feature is only for hollaex setup command.

1.7.4 - 2020-01-09

Fixed

  • Fixed compatibility issue with zsh shell.

  • Fixed an issue with reading --version flag on hollaex upgrade.

1.7.3 - 2020-01-06

Added

  • Now you can disable TLS (SSL) setup for Kubernetes ingress rules. Just simply set ENVIRONMENT_KUBERNETES_INGRESS_CERT_MANAGER_ISSUER as blank. This option would be useful for users who already got external load balancer with SSL setup.

Fixed

  • Fixed a malfunction with checking Kubernetes registry-secret exists on user's cluster.

1.7.2 - 2019-12-30

Added

  • Toolbox command support to let user easily connect HollaEx CLI created PostgreSQL DB, Redis, and InfluxDB.

    • hollaex toolbox --connect_database (--kube) to connect PostgreSQL DB.

    • hollaex toolbox --connect_redis (--kube) to connect Redis.

    • hollaex toolbox --connect_influxdb (--kube) to connect InfluxDB.

  • hollaex upgrade now support --no_build_image flag to skip image building. It could be useful in case of user already built and pushed the image manually. (Advanced users only)

Fixed

  • General wording fixes.

1.7.1 - 2019-12-24

Added

  • hollaex toolbox --set_activation_code command to switch existing exchange's activation code. It also can be used if you are migrating your exchange from trial to non-trial.

Fixed

  • Fix bug at adding new currencies for Kubernetes which trying to reapply Ingress rules unnecessarily.

  • General wording fixes.

Happy Christmas!

1.7.0 - 2019-12-19

HollaEx CLI v1.7 is designed for HollaEx Core v1.20 & HollaEx Kit v1.1. Make sure that you to use everything in latest.

Added

  • Configuration value changes at settings/configmap :

ENVIRONMENT_WEB_BASE_CURRENCY -> Deprecated. Not being used anymore.
ENVIRONMENT_USER_HOLLAEX_CORE_IMAGE_REGISTRY=bitholla/my-hollaex-core
ENVIRONMENT_USER_HOLLAEX_CORE_IMAGE_VERSION=1.20
-> Added. Configurations for setting up user custom HollaEx Core image.
  • HollaEx CLI now builds user custom HollaEx Core Docker image, which includes /mail and /plugins folder at user's HollaEx Kit folder. The build process is included on hollaex setup or hollaex upgrade command. You can also build the image separately by using hollaex build command. User should be able to push and pull this image on user's own private image registry. Pushing the image is mandatory for Kubernetes deployment.

  • hollaex import command support to import exported configmap or secret file from bitHolla Dashboard into user's HollaEx Kit/settings path.

  • HollaEx CLI now stores "initial" custom coins & trading pairs configurations at configmap file. For your information, The configuration values will be not updated if you modified coins & pairs details manually at HollaEx Admin or other places.

  • Enhanced Kubernetes deployment support. Fixed general bugs and improved stability. HollaEx deployment for Kubernetes now supports all features that's necessary for exchange operations.

  • hollaex setup and hollaex setup --reconfigure now ask you for SMTP mail server setup for sending mails for exchange operations. AWS SES will be an additional plugin in future which is current default.

Fixed

  • Fixed Docker local env file & Kubernetes configmap file generation issue at adding new coins or trading pairs.

Changed

  • hollaex web --rebuild now becomes hollaex web --build.

  • hollaex web --setup now also builds user web image while on setup process.

  • hollaex setup now builds user HollaEx Core image while on setup process.

  • ENVIRONMENT_WEB_BASE_CURRENCY at configmap has been DEPRECATED.

  • hollaex toolbox --remove_coin & --remove_trading_pair now doesn't allow user to remove currencies (coin) less than 2 in total, and 1 trading pair in total. That is the minimum requirement of HollaEx Kit to make exchange function.

  • hollaex add & remove coin / trading_pair now doesn't restart user's exchange by it's one. User should always restart manually to fully apply the changes.

  • hollaex web command now also imports LOGO_PATH and LOGO_BLACK_PATH for web server .env.

1.6.6 - 2019-11-05

Added

  • New values on settings/configmap to allow user to customize base images for backend components.

ENVIRONMENT_DOCKER_IMAGE_POSTGRESQL_REGISTRY=postgresql
ENVIRONMENT_DOCKER_IMAGE_POSTGRESQL_VERSION=10.9
ENVIRONMENT_DOCKER_IMAGE_REDIS_REGISTRY=redis
ENVIRONMENT_DOCKER_IMAGE_REDIS_VERSION=5.0.5-alpine
ENVIRONMENT_DOCKER_IMAGE_INFLUXDB_REGISTRY=influxdb
ENVIRONMENT_DOCKER_IMAGE_INFLUXDB_VERSION=1.7-alpine
ENVIRONMENT_DOCKER_IMAGE_LOCAL_NGINX_REGISTRY=bitholla/nginx-with-certbot
ENVIRONMENT_DOCKER_IMAGE_LOCAL_NGINX_VERSION=1.15.8
  • Server API domain can be modified on hollaex web --setup command for web client.

  • HollaEx CLI gets updated automatically on every hollaex upgrade process from now on.

  • hollaex status command support to view exchange status.

  • hollaex logs command support to view exchange logs.

Fixed

  • Fixed theme name examples on hollaex setup, which displaying white theme as light.

Changed

  • New Nginx rate limit values for API access which is designed for generic HollaEx-Based exchanges.

  • HollaEx CLI is now compatible with cert-manager v0.11. Due to the annotation name changes on cert-manager v0.11, default Ingress rule annotation for defining cluster-issuer for SSL has been changed to cert-manager.io/cluster-issuer from certmanager.k8s.io/cluster-issuer . Make sure to update your cert-manager to v0.11 or higher. Please check this document by cert-manager team to see which annotations get changed.

1.6.5 - 2019-10-22

Fixed

  • Fixed value updating bug for server-side reCaptcha key by using hollaex setup and hollaex setup --reconfigure.

Changed

  • Simple guide to setup exchange when the HollaEx CLI gets installed.

  • Better error handling for core exchange operations.

  • General wording improvements.

  • Better input filter for hollaex setup.

  • Creating Supervisor and KYC accounts now becomes false by default on hollaex setup.

  • hollaex setup --reconfigure will not ask certain questions which couldn't be overridden after initial setup.

  • Provided Exchange Name by using hollaex setup will now only updates HOLLAEX_CONFIGMAP_API_NAME value at settings/configmap.

    • EXCHANGE_ENVIRONMENT_NAME will be always set as hollaex from now on.

1.6.4 - 2019-10-18

Fixed

  • Fixed missing endpoint announcement when the web client gets ready.

  • Fixed activation code displaying issue on hollaex setup form which shows old activation code even user updated it to new one.

Changed

  • Better error handling on HollaEx CLI Install / Uninstall scripts.

  • Basic filters to reject user inputs If you provides invalid values on hollaex setup form.

1.6.3 - 2019-10-17

Fixed

  • Fixed mail folder integration issue for email customization.

  • Fixed issue on hollaex web --rebuild which asking user's confirmation twice.

Changed

  • Web client server will be stopped while on rebuilding new web image by using hollaex web --rebuild. User should run hollaex web --start once the new image get prepared to apply it on web client server.

1.6.2 - 2019-10-16

Fixed

  • General wording fixes for interaction form, command lists, etc...

1.6.1 - 2019-10-16

New features

  • Sensitive information which provided on interaction from will be masked from this version.

Fixed

  • Fixed ugly message displaying issue on non-bash shell (zsh).

Changed

  • Replaced ASCII art on install.sh and uninstall.sh to HollaEx logo.

1.6.0 - 2019-10-15‌

New features

  • Fully compatibility with HollaEx Kit v1.

  • General components renaming. ws (websocket) now becomes stream, and queue (trading queue) becomes engine.

  • Integration with HollaEx Kit. hollaex init command now pulls full HollaEx Kit from GitHub to set a folder structure for user's settings files and templates for exchange deployments.

  • Built-in web client support for HollaEx Kit based exchange (hollaex web commands).

  • hollaex toolbox --issue_ssl / --renew_ssl to Issue and Renew SSL certificate by using Let's Encrypt and Certbot for local deployed exchange.

  • Interaction form to ask basic information for launching exchange while on hollaex setup process.

  • hollaex setup --reconfigure command to reconfigure basic information for the exchange. User can modify preconfigured information such as activation code or exchange domain.

Changed (For old hex-cli v1.5.x users)

  • Branding change - HEX CLI to HollaEx CLI. All configmap and secret values should be started with HOLLAEX_CONFIGMAP or HOLLAEX_SECRET, instead of HEX_CONFIGMAP and HEX_SECRET as prefix.

  • "Initialized exchange folder" now becomes "HollaEx Kit".

  • hollaex launch now becomes hollaex setup.

  • --no_verify flag now becomes --skip.

  • hollaex toolbox --backup_postgresql now becomes hollaex toolbox --backup.

  • HEX_CONFIGMAP_DEPLOYMENT_MODE has been deprecated.

  • ENVIRONMENT_DOCKER_COMPOSE_RUN_MODE has been changed to ENVIRONMENT_EXCHANGE_RUN_MODE.

  • Default currencies are now set to hex and usdt.

  • Default trading pair is not set to hex-usdt.

  • ENVIRONMENT_WEB_ENABLE / ENVIRONMENT_WEB_CAPTCHA_SITE_KEY / ENVIRONMENT_WEB_DEFAULT_LANGUAGE / ENVIRONMENT_WEB_DEFAULT_COUNTRY / ENVIRONMENT_WEB_BASE_CURRENCY / ENVIRONMENT_KUBERNETES_WEB_IMAGE_REGISTRY / ENVIRONMENT_KUBERNETES_WEB_IMAGE_VERSION has been added on settings/configmap file.

1.5.2 - 2019-09-23

This version would be the last version of hex-cli which supports non-binarized hex-core. You can always download & install v1.5.2 on this link.

New features

  • hex toolbox now supports dynamic add / remove coins and trading pairs. You should use HEX Core 1.19.x or later to use this feature. type hex on terminal to see more details. Exchange will be fully restarting once this action has been triggered.

  • You can enable / disable dynamic generating local NGINX upstream file by setting ENVIRONMENT_DOCKER_COMPOES_GENERATE_NGINX_UPSTREAM as false on Settings file. Default is true.

  • hex-cli will ask user the activation key interactively for exchange on hex launch If HEX_SECRET_ACTIVATION_CODE is empty on Settings file.

Changed

  • hex-cli now provides hex and usdt as default currencies, hex-usdt as default trading pair. You can add whatever currencies / trading pairs you want by using hex toolbox command mentioned above.

  • HEX_SECRET_WALLI_KEY (And Secret), HEX_SECRET_WALLI_SECRET (And Secret), and HEX_SECRET_API_KEYS has been replaced to HEX_SECRET_VAULT_KEY and HEX_SECRET_VAULT_SECRET, regarding to following-up changes on bitHolla Vault system.

Removed

  • HEX_CONFIGMAP_FIAT_CURRENCY_NAME has been removed from Settings file.

1.5.1 - 2019-09-06

New features

  • hex toolbox now supports rolling upgrade of API pods on Kubernetes without a downtime in case of user only wants to update settings values only affect API, or just applying a new HEX Kit release on API seamlessly.

  • hex-cli will announce user once it detects secret values which should be randomly generated are missing for some reasons.

Fixed

  • Fixed unexpected quoting issue while on local .env file generation in case of user got special characters on value.

Changed

  • For the dockerized hex-cli, user should pass HEX, instead of HOLLAEX as an env to docker container.

1.5.0 - 2019-08-27

From this version, hollaex-cli changed it's branding to hex-cli.

How to install the latest version

curl -L https://raw.githubusercontent.com/bitholla/hex-cli/master/install.sh | bash

This command will override your pre-installed hex-cli to latest.

New features

  • hex-cli now actively reads API container's status before running any database initialization related commands. It will only proceed once API container become fully ready to handle database updates.

  • hex-cli now detects empty values on settings files and notice to user once any command get executed.

Fixed

  • Fixed database initialization issue while on certain local hex launching situations.

Changed

  • hollex-cli changed it's branding to hex-cli. All commands which starts with hollaex is now replaced as hex. For example, hollaex start now become hex start. Please reference this docs to see more details.

1.4.0 - 2019-08-22

How to install the latest version

curl -L https://raw.githubusercontent.com/bitholla/hollaex-cli/master/install.sh | bash

This command will override your pre-installed hollaex-cli to latest.

New features

  • hollaex toolbox command sets are ready with basic functionalities. It will help you to handle advanced tasks such as database full backup or upgrading existing Redis to latest compatible.

Fixed

  • hollaex-cli now correctly reads persistent volume claim size for new PostgreSQL DB and InfluxDB running on Kubernetes.

Changed

  • New values are added on configmap file. If you are using v1.3.x currently, Please add these values down below on your configmap file. hollaex-cli can malfunction If these values are missing after upgrading it to v1.4.0.

ENVIRONMENT_DOCKER_COMPOSE_RUN_POSTGRESQL_DB=true
ENVIRONMENT_DOCKER_COMPOSE_RUN_REDIS=true
ENVIRONMENT_DOCKER_COMPOSE_RUN_INFLUXDB=true
ENVIRONMENT_DOCKER_COMPOSE_RUN_MODE=all
  • General command structure improvements. hollaex-cli now got 6 big features. init, launch , start, stop, upgrade, and toolbox. Please check the docs to see full changes.