Constants

Constants and configuration values used by PyHard SDK

Chain Configuration

1// Chain IDs
2const CHAIN_IDS = {
3  ARBITRUM_SEPOLIA: 421614,
4  ARBITRUM_MAINNET: 42161
5} as const;
6
7// Contract Addresses
8const CONTRACTS = {
9  SMART_WALLET_FACTORY: '0x884ff7a379192ef709e0d865d52adfa967e1ab94',
10  EOADelegation: '0x0977081db8717cb860716edcd117ef1fbf108857',
11  PYUSD: '0x6c3ea9036406852006290770bed663cac6ce1c06'
12} as const;

Interval Presets

1const INTERVAL_PRESETS = {
2  DAILY: { label: 'Daily', seconds: 86400 },
3  WEEKLY: { label: 'Weekly', seconds: 604800 },
4  MONTHLY: { label: 'Monthly', seconds: 2592000 }
5} as const;
6
7// API Endpoints
8const API_ENDPOINTS = {
9  BLOCKSCOUT: 'https://sepolia-explorer.arbitrum.io/api',
10  PAYMASTER: 'https://your-paymaster.workers.dev'
11} as const;