File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ # Environment Configuration
2+ # Options: 'mainnet' | 'testnet'
3+ NEXT_PUBLIC_NODE_ENV = mainnet
4+
5+ # WalletConnect Project ID (Required for wallet connection)
6+ # Get one from https://cloud.walletconnect.com/
7+ NEXT_PUBLIC_WALLETCONNECT_PROJECTOR =
8+
9+ # RPC Providers
10+ # Ethereum Mainnet RPC
11+ NEXT_PUBLIC_INFURA_MAINNET = https://mainnet.infura.io/v3/YOUR_KEY
12+ # Base Testnet RPC (if using testnet)
13+ NEXT_PUBLIC_INFURA_TESTNET_BASE = https://sepolia.base.org
14+
15+ # Starknet RPCs
16+ # Note: We recently switched the app to use 1rpc.io by default in RootContext,
17+ # but these are still referenced in stark-constants.ts
18+ NEXT_PUBLIC_INFURA_MAINNET_STARKNET = https://starknet-mainnet.infura.io/v3/YOUR_KEY
19+ NEXT_PUBLIC_INFURA_TESTNET_STARKNET = https://starknet-sepolia.infura.io/v3/YOUR_KEY
20+
21+ # Token Addresses (Mainnet)
22+ NEXT_PUBLIC_MC_USDT = 0xdAC17F958D2ee523a2206206994597C13D831ec7
23+ NEXT_PUBLIC_MC_USDC = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
24+ NEXT_PUBLIC_MC_PRESALE =
25+
26+ # Token Addresses (Testnet)
27+ NEXT_PUBLIC_TC_USDT =
28+ NEXT_PUBLIC_TC_USDC =
29+ NEXT_PUBLIC_TC_PRESALE =
Original file line number Diff line number Diff line change 7171 - name : Deploy to GitHub Pages
7272 id : deployment
7373 uses : actions/deploy-pages@v4
74+
75+ - name : Configure AWS credentials
76+ uses : aws-actions/configure-aws-credentials@v1
77+ with :
78+ aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
79+ aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
80+ aws-region : ap-southeast-1
81+
82+ - name : Deploy to S3
83+ run : aws s3 sync ./out s3://token.hashstack.finance
84+
85+ - name : Invalidate CloudFront
86+ uses : chetan/invalidate-cloudfront-action@v2
87+ env :
88+ DISTRIBUTION : E1K79STJ7XENGX
89+ PATHS : ' /*'
90+ AWS_REGION : ' us-east-1'
91+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
92+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
You can’t perform that action at this time.
0 commit comments