logo

Peatio environments configuration

This document provides description of available configuration through the environment.

General configuration

Environment variableDefault valuePossible valuesDescription
PEATIO_DEPOSIT_FUNDS_LOCKEDfalsetrue, falseWhen turned on (true) user funds will be locked on deposit, and unlocked once the collection of this deposit succeed
PEATIO_PLATFORM_CURRENCYusdtany valid currency codeSystem use platform currency to estimate min deposit amount, withdraw fee, min withdraw amount of blockchain_currency if auto update configuration enabled
PEATIO_ADJUST_NETWORK_FEE_FETCH_PERIOD_TIME300any valid integerPeriod of time for currency price recalculation due to mid market price
PEATIO_CURRENCY_PRICE_FETCH_PERIOD_TIME300any valid integerPeriod of time for recalculation of min deposit amount, withdraw fee, min withdraw amount due to currency price if auto update configuration enabled