Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
383558a
Fix react version for deployment
MastaTrill Dec 21, 2025
cbb3f57
Remove dbt from CircleCI config to fix build
MastaTrill Dec 21, 2025
c13ba6e
Add minimal Next.js pages/index.js for build
MastaTrill Dec 21, 2025
64fd8ad
Clean install: remove all package-lock.json and reinstall dependencies
MastaTrill Dec 21, 2025
20214fd
Complete deployment verification and final summary
Jan 9, 2026
be2c5aa
Fix GitHub Actions workflow formatting
Jan 9, 2026
824055a
fix: apply Snyk security fixes - upgrade react-native to 0.73.5 to fi…
Jan 11, 2026
0348526
fix: resolve deployment issues - update ethers to v6, add deployment …
Jan 11, 2026
8cfa235
fix: update CircleCI config for Node.js project instead of dbt
Jan 11, 2026
2dba446
fix: finalize deployment fixes and CI updates
Jan 11, 2026
302d80d
fix: update CircleCI to use stable circleci/node:18 image
Jan 11, 2026
c40ce3e
feat: add comprehensive monitoring, marketing automation, and perform…
Jan 11, 2026
a872ac0
Add GitHub Actions workflow for Next.js deployment
MastaTrill Jan 12, 2026
dd724e8
fix: remove routes from vercel.json to resolve deployment error.
MastaTrill Jan 12, 2026
5930d28
Initial plan
Copilot Jan 14, 2026
858a0e0
Initial analysis and plan for fixing repository issues
Copilot Jan 14, 2026
1b57d00
Migrate browser and backend scripts from ethers v5 to v6
Copilot Jan 14, 2026
38358ec
Update HTML CDN links to ethers v6 and fix dependencies
Copilot Jan 14, 2026
631aa6a
Fix BigInt comparisons and add slippage protection to backend script
Copilot Jan 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: 2.1
jobs:
build:
docker:
- image: circleci/node:18
steps:
- checkout
- run:
name: Install Node.js dependencies
command: npm ci
- run:
name: Run linting
command: npm run lint || echo "No lint script defined"
- run:
name: Check for build script
command: |
if npm run | grep -q "build"; then
npm run build
else
echo "No build script found - static site detected"
fi
- run:
name: Run tests
command: |
if npm run | grep -q "test"; then
npm test
else
echo "No test script found"
fi
workflows:
version: 2
build_and_test:
jobs:
- build
5 changes: 5 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Fill in your actual secrets below
PRIVATE_KEY=
POLYGON_RPC_URL=
MUMBAI_RPC_URL=
POLYGONSCAN_API_KEY=
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Example .env for Hardhat Polygon deployment
# Replace with your actual keys and rename to .env

PRIVATE_KEY=your_private_key_here
POLYGON_RPC_URL=https://polygon-mainnet.infura.io/v3/YOUR_INFURA_KEY
MUMBAI_RPC_URL=https://rpc-mumbai.maticvigil.com
POLYGONSCAN_API_KEY=your_polygonscan_api_key_here
93 changes: 93 additions & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Sample workflow for building and deploying a Next.js site to GitHub Pages
#
# To get started with Next.js see: https://nextjs.org/docs/getting-started
#
name: Deploy Next.js site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Detect package manager
id: detect-package-manager
run: |
if [ -f "${{ github.workspace }}/yarn.lock" ]; then
echo "manager=yarn" >> $GITHUB_OUTPUT
echo "command=install" >> $GITHUB_OUTPUT
echo "runner=yarn" >> $GITHUB_OUTPUT
exit 0
elif [ -f "${{ github.workspace }}/package.json" ]; then
echo "manager=npm" >> $GITHUB_OUTPUT
echo "command=ci" >> $GITHUB_OUTPUT
echo "runner=npx --no-install" >> $GITHUB_OUTPUT
exit 0
else
echo "Unable to determine package manager"
exit 1
fi
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
cache: ${{ steps.detect-package-manager.outputs.manager }}
- name: Setup Pages
uses: actions/configure-pages@v5
with:
# Automatically inject basePath in your Next.js configuration file and disable
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
#
# You may remove this line if you want to manage the configuration yourself.
static_site_generator: next
- name: Restore cache
uses: actions/cache@v4
with:
path: |
.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
- name: Build with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./out

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
171 changes: 0 additions & 171 deletions .gitignore_backup

This file was deleted.

7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"python.pythonPath": "python3",
"dbt.projectDir": "./dbt",
"dbt.profilesDir": "./dbt/profiles",
"editor.formatOnSave": true,
"editor.tabSize": 2
}
29 changes: 29 additions & 0 deletions ADD_TOKEN_TO_METAMASK.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,35 @@ Then click the **"Add token to MetaMask"** button on PolygonScan.
AETH
```

#### Decimals
```
18
```

---

# Submit to Public Token Lists

- [Coingecko Token List](https://github.com/coinpaprika/coinpaprika-api-docs/blob/master/public/cryptocurrency/list.md)
- [Uniswap Token List](https://tokenlists.org/)
- [1inch Token List](https://github.com/1inch/1inch-token-list)
- [Quickswap Token List](https://github.com/QuickSwap/quick-tokenlists)

Submit the following info:
- Token Name: Aetheron
- Symbol: AETH
- Decimals: 18
- Address: 0xAb5ae0D8f569d7c2B27574319b864a5bA6F9671e
- Network: Polygon (chainId 137)
- Logo: (add your logo file or URL)

This will make your token discoverable in wallets and DEXs.

#### Token Symbol
```
AETH
```

#### Token Decimals
```
18
Expand Down
Loading