Skip to content

Latest commit

 

History

History
48 lines (45 loc) · 4.92 KB

ENV_VARIABLES.md

File metadata and controls

48 lines (45 loc) · 4.92 KB

[PowPeg app] Environment Variables

This table was created to guide and centralize the environment variables necessary for correct execution. The value of these variables are used in environment-variables.ts file.

NAME DEV VALUE DETAILS
VUE_APP_COIN test / main The network that will be used for the bitcoin library. Accepted values are test or main
VUE_APP_MANIFEST_EMAIL
VUE_APP_MANIFEST_APP_URL Trezor connect Manifest is described here
VUE_APP_API_BASE_URL URL of the API (2wp-api) which is the BackEnd
VUE_APP_RSK_NODE_HOST RSK node URL to verify RSK data (e.g. POWpeg address
VUE_APP_CLARITY_ID A Clarity ID is uniquely generated identification for app usage metrics
VUE_APP_RSK_EXPLORER RSK EXPLORER URL used to verify the transaction status
VUE_APP_WALLET_ADDRESSES_HARD_STOP 100 Maximum number of addresses derived from wallet
VUE_APP_WALLET_ADDRESS_PER_CALL 5 Number of addresses obtained per derivation call
VUE_APP_PEGOUT_MIN_AMOUNT_ALLOWED_IN_RBTC 0.004 0,004 Minimum allowed value for a PEGOUT transaction
VUE_APP_PEGOUT_MAX_AMOUNT_ALLOWED_IN_RBTC 10 10 Maximum allowed value for a PEGOUT transaction
VUE_APP_PEGIN_MIN_AMOUNT_ALLOWED_IN_BTC 0.005 Minimum allowed value for a PEGIN transaction
VUE_APP_PEGIN_MAX_AMOUNT_ALLOWED_IN_BTC 10 Maximum allowed value for a PEGIN transaction
VUE_APP_BURN_DUST_VALUE 30000 Max value to burn in the tx fee
VUE_APP_MIN_FEE_SAT_PER_BYTE_FAST 8 Min fee rate (sats/byte) required to broadcast the transaction
VUE_APP_MIN_FEE_SAT_PER_BYTE_AVG 4 Min fee rate (sats/byte) required to broadcast the transaction
VUE_APP_MIN_FEE_SAT_PER_BYTE_SLOW 1 Min fee rate (sats/byte) required to broadcast the transaction
VUE_APP_LBC_ADDRESS 0xc2A630c053D12D63d32b025082f6Ba268db18300 Liquidity bridge contract address on the flyover protocol
VUE_APP_DEBUG_MODE false enable developer messages for debuging

Example for .env.local.test file

VUE_APP_COIN=test
VUE_APP_MANIFEST_EMAIL=
VUE_APP_MANIFEST_APP_URL=
VUE_APP_API_BASE_URL=http://localhost:3000
VUE_APP_RSK_NODE_HOST=
VUE_APP_HOTJAR_ID=
VUE_APP_CLARITY_ID=
VUE_APP_RSK_EXPLORER=https://explorer.testnet.rootstock.io/
VUE_APP_WALLET_ADDRESSES_HARD_STOP=100
VUE_APP_WALLET_ADDRESS_PER_CALL=5
VUE_APP_PEGOUT_MIN_AMOUNT_ALLOWED_IN_RBTC=0.005
VUE_APP_PEGOUT_MAX_AMOUNT_ALLOWED_IN_RBTC=10
VUE_APP_BURN_DUST_VALUE=30000
VUE_APP_MIN_FEE_SAT_PER_BYTE_FAST=8
VUE_APP_MIN_FEE_SAT_PER_BYTE_AVG=4
VUE_APP_MIN_FEE_SAT_PER_BYTE_SLOW=1
VUE_APP_LBC_ADDRESS='0xc2A630c053D12D63d32b025082f6Ba268db18300'
VUE_APP_DEBUG_MODE='false'