17 lines
588 B
TypeScript
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;
|