Skip to content

Commit

Permalink
Create constants.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Aug 24, 2024
1 parent 7e4c3bf commit fc55c78
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions app/utils/constants.js
Original file line number Diff line number Diff line change
@@ -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',
};

0 comments on commit fc55c78

Please sign in to comment.