gor-deploy/src/constants/payments.ts
2025-07-23 17:43:57 +05:30

17 lines
588 B
TypeScript

// Payment configuration constants
// Native GOR payment amount in lamports (1 GOR = 1,000,000,000 lamports)
export const SOL_PAYMENT_AMOUNT_LAMPORTS = 10000000; // 0.01 GOR native
// Payment method types
export type PaymentMethod = 'nat-gor' | 'spl-token';
// Payment method labels for UI
export const PAYMENT_METHOD_LABELS: Record<PaymentMethod, string> = {
'nat-gor': 'GOR (Native)',
'spl-token': process.env.NEXT_PUBLIC_SOLANA_TOKEN_SYMBOL || 'SPL Token'
};
// Default payment method (none selected initially)
export const DEFAULT_PAYMENT_METHOD: PaymentMethod | null = null;