Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
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
161 changes: 161 additions & 0 deletions APP_STORE_LAUNCH_WORKFLOW.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
# 🎯 Aetheron App Store Submission - Complete Workflow

## 📋 Current Status

- ✅ **App Code**: Complete and tested
- ✅ **Android Project**: Structure created
- ✅ **Store Metadata**: Ready
- ✅ **Privacy Policy**: Created
- ✅ **Submission Guide**: Comprehensive
- ✅ **Build Scripts**: Automated setup available

## 🚀 5-Step Submission Process

### Step 1: Create App Icon (15 minutes)

```bash
# Create 1024x1024 PNG icon using Canva, Figma, or any design tool
# Save as: mobile-app/assets/icon-1024.png
```

### Step 2: Run Automated Setup (5 minutes)

```bash
cd mobile-app

# This script does everything automatically:
./setup-and-build.ps1
```

### Step 3: Create Developer Accounts (30 minutes)

- **Google Play Console**: $25 one-time → <https://play.google.com/console/>
- **Apple Developer Program**: $99/year → <https://developer.apple.com/programs/>

See `DEVELOPER_ACCOUNTS_GUIDE.md` for detailed instructions.

### Step 4: Submit to Stores (45 minutes)

- **Google Play**: Upload AAB, add metadata, submit
- **Apple App Store**: Upload IPA, add metadata, submit

See `APP_STORE_SUBMISSION_GUIDE.md` for step-by-step instructions.

### Step 5: Monitor & Launch (1-2 weeks)

- Check review status daily
- Respond to any feedback
- Announce when approved!

## 📁 Files Created for You

### Documentation

- `APP_STORE_SUBMISSION_GUIDE.md` - Complete submission guide
- `DEVELOPER_ACCOUNTS_GUIDE.md` - Account setup instructions
- `privacy-policy.md` - App store compliant privacy policy

### Scripts

- `mobile-app/setup-and-build.ps1` - Automated setup and build
- `mobile-app/generate-assets.ps1` - Icon generation
- `mobile-app/upload-appstore.ps1` - iOS upload script
- `mobile-app/upload-playstore.ps1` - Android upload script

### Assets

- `mobile-app/assets/icon-template.txt` - Icon design specifications
- `mobile-app/assets/ICON_README.md` - Icon creation guide
- `mobile-app/store-metadata.json` - App store metadata

## ⏱️ Time Estimate

- **Icon Creation**: 15-30 minutes
- **Development Setup**: 30-60 minutes (one-time)
- **Build Process**: 10-15 minutes
- **Account Creation**: 30-60 minutes
- **Store Submission**: 45-60 minutes
- **Review Process**: 1-7 days per store

**Total Active Time**: ~3-4 hours
**Total Calendar Time**: 1-2 weeks (including reviews)

## 🎯 Success Checklist

### Before Starting

- [ ] App icon designed (1024x1024 PNG)
- [ ] Android Studio installed
- [ ] JDK 17+ installed
- [ ] ImageMagick installed
- [ ] Google/Apple accounts ready

### After Setup Script

- [ ] Icons generated for all sizes
- [ ] Android AAB built successfully
- [ ] Keystore created
- [ ] No build errors

### After Account Creation

- [ ] Google Play Console active
- [ ] Apple Developer Program active
- [ ] Payment methods confirmed

### After Submission

- [ ] Google Play app submitted
- [ ] Apple App Store app submitted
- [ ] Review status monitored
- [ ] Launch announcement ready

## 🔧 What If Something Goes Wrong?

### Build Issues

- Check `APP_STORE_SUBMISSION_GUIDE.md` troubleshooting section
- Ensure all prerequisites are installed
- Try `./gradlew clean` then rebuild

### Account Issues

- Google Play: Contact support through console
- Apple: Contact developer support
- Both may require 24-48 hours for activation

### Submission Issues

- Double-check all required fields
- Ensure screenshots are correct sizes
- Verify privacy policy is accessible online

## 🎉 Next Steps After Approval

Once both apps are approved:

1. **Update Website**: Add download links
2. **Social Media**: Announce app launch
3. **Marketing**: Submit to app review sites
4. **Analytics**: Set up crash reporting and usage tracking
5. **Updates**: Plan for future app updates

## 📞 Support

- **Technical Issues**: Check the troubleshooting sections in guides
- **Google Play**: <https://support.google.com/googleplay/android-developer>
- **Apple Developer**: <https://developer.apple.com/support/>
- **React Native**: <https://reactnative.dev/docs/next/publishing-to-app-store>

---

## 🚀 Ready to Launch?

**Start here:**

1. Create your app icon (15 minutes)
2. Run `./setup-and-build.ps1` (5 minutes)
3. Create developer accounts (30 minutes)
4. Submit to both stores (45 minutes)

Your Aetheron mobile app will be live in app stores within 2 weeks! 🎯
Loading