A comprehensive blockchain analytics platform for the Aptos ecosystem, providing real-time insights into DeFi protocols, stablecoins, Bitcoin on Aptos, RWAs, and portfolio management.
- Portfolio - Wallet analytics with tokens, NFTs, DeFi positions, and yield opportunities
- Tokens - Comprehensive token analytics and market data across the Aptos ecosystem
- Yields - Discover and compare yield opportunities across DeFi protocols
- Stablecoins - Track 12+ stablecoins with supply and price metrics
- Bitcoin - Monitor wrapped BTC variants (aBTC, xBTC, WBTC, SBTC)
- RWAs - Real-world asset tokenization analytics
- DeFi - Protocol TVL, fees, volume, and APY tracking
- Frontend: Next.js 15, React 19, TypeScript, Tailwind CSS v4
- Data: Aptos Indexer, Panora API, CoinMarketCap, RWA.xyz, DeFi Llama
- Performance: Virtual scrolling, PWA, code splitting, multi-tier caching
- Node.js 18+ and Bun
- API keys (see below)
git clone https://github.com/raintree-technology/OnAptos.git
cd OnAptos
bun run setupThe setup script will install dependencies and create your .env file.
- Clone and install:
git clone https://github.com/raintree-technology/OnAptos.git
cd OnAptos
bun install- Configure environment:
cp .env.example .env- Add required API keys to
.env:
# Required
CMC_API_KEY=your_key # From coinmarketcap.com/api
RWA_API_KEY=your_key # Contact RWA.xyz for access
# Optional (for better rate limits)
APTOS_BUILD_SECRET=your_key # From developers.aptoslabs.com
PANORA_API_KEY=your_key # Leave empty for public key- (Optional) Customize branding in
.env:
NEXT_PUBLIC_SITE_NAME=Your Site Name
NEXT_PUBLIC_DEVELOPER_NAME=Your Name
NEXT_PUBLIC_DEVELOPER_EMAIL=your@email.com
NEXT_PUBLIC_DEVELOPER_GITHUB=https://github.com/yourusername/your-repo
# See .env.example for all customization options- Start development:
bun devbun dev # Start development server
bun run build # Create production build
bun run lint # Run linting with Biome
bun run typecheck # TypeScript checking
bun run test # Run testsThis project is designed to be easily forked and customized:
- Branding: All site branding (name, description, developer info) is controlled via environment variables in
.env - Configuration: Core configs are in
lib/config/:site.ts- Site and developer settingsapp.ts- Application configurationtokens/- Token definitions and metadataprotocols/- DeFi protocol configurations
- Styling: Customize colors and themes in
tailwind.config.tsandapp/globals.css - No hardcoded personal info: All attribution is environment-based
To fully customize your fork:
- Update
.envwith your information (see.env.example) - Replace
public/favicon.icoandpublic/og-image.pngwith your branding - Update
package.jsonname, description, and repository URLs - Modify color schemes in Tailwind config
Multi-layer security with automated secret detection, pre-commit hooks, and CI/CD scanning.
See .github/SECURITY_SETUP.md for details.
- Fork the repository
- Create a feature branch
- Commit your changes
- Push and open a Pull Request
MIT License - see LICENSE file for details.
- Issues: GitHub Issues
- Live App: on-aptos.com