From fc55c7891cb355bb45d310618fe505d17b33fb4a Mon Sep 17 00:00:00 2001 From: KOSASIH Date: Sat, 24 Aug 2024 20:39:15 +0700 Subject: [PATCH] Create constants.js --- app/utils/constants.js | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 app/utils/constants.js diff --git a/app/utils/constants.js b/app/utils/constants.js new file mode 100644 index 0000000..1a52606 --- /dev/null +++ b/app/utils/constants.js @@ -0,0 +1,31 @@ +export const API_URL = 'https://api.example.com'; +export const API_KEY = 'YOUR_API_KEY_HERE'; +export const API_SECRET = 'YOUR_API_SECRET_HERE'; + +export const WALLET_TYPES = { + BTC: 'bitcoin', + ETH: 'ethereum', + LTC: 'litecoin', +}; + +export const TRANSACTION_STATUSES = { + PENDING: 'pending', + CONFIRMED: 'confirmed', + FAILED: 'failed', +}; + +export const CURRENCY_SYMBOLS = { + USD: '$', + EUR: '€', + GBP: '£', +}; + +export const DATE_FORMATS = { + SHORT_DATE: 'YYYY-MM-DD', + LONG_DATE: 'YYYY-MM-DD HH:mm:ss', +}; + +export const STORAGE_KEYS = { + WALLET_DATA: 'wallet_data', + TRANSACTION_HISTORY: 'transaction_history', +};