If you discover a security vulnerability within this project, please send an email to zacharyroth@pm.me. All security vulnerabilities will be promptly addressed.
This project uses environment variables for configuration. Never commit actual API keys, secrets, or sensitive credentials to the repository.
- Use
.env.example
as a template - Create your own
.env.local
file for local development - Keep all sensitive credentials in
.env.local
which is gitignored
- Never commit API keys or secrets to the repository
- Use environment variables for all sensitive credentials
- When contributing, use placeholder values in examples and documentation
- Be cautious when sharing wallet addresses
- Use test wallets for development and examples
- Never commit private keys
The following environment variables are required to run the application. Copy these to your .env.local
file and fill in the appropriate values.
# Base URLs for API and frontend
API_URL=http://localhost:3000/api # Your API endpoint
APP_URL=http://localhost:3000 # Your frontend URL
# Default blockchain network
DEFAULT_CHAIN=aptos # Options: aptos, solana, sui, base
# Mainnet RPC URLs - Get these from your preferred RPC provider
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com # Example: Helius, QuickNode
APTOS_RPC_URL=https://fullnode.mainnet.aptoslabs.com # Aptos Labs endpoint
SUI_RPC_URL=https://fullnode.mainnet.sui.io # Sui Foundation endpoint
# Price feed and market data credentials
FINNHUB_API_KEY= # Get from https://finnhub.io
CMC_API_KEY= # Get from https://coinmarketcap.com/api
# Kraken Exchange API credentials
KRAKEN_API_KEY= # Get from Kraken exchange
KRAKEN_API_PRIVATE_KEY= # Get from Kraken exchange
# Gemini Exchange API credentials
GEMINI_API_KEY= # Get from Gemini exchange
GEMINI_API_SECRET= # Get from Gemini exchange
# Coinbase Integration
COINBASE_API_KEY= # Get from Coinbase
COINBASE_SECRET_KEY= # Get from Coinbase
COINBASE_API_SECRET= # Get from Coinbase
# Plaid API credentials
PLAID_ENV=sandbox # Options: sandbox, development, production
PLAID_CLIENT_ID= # Get from Plaid Dashboard
PLAID_SECRET= # Get from Plaid Dashboard
Note: Never commit your actual API keys or secrets. The values above are examples or placeholders. Each service (Plaid, Coinbase, etc.) has its own process for obtaining API credentials. Visit their respective documentation for detailed instructions.
- Keep dependencies updated
- Use environment variables for configuration
- Implement proper error handling
- Follow secure coding practices
- Use HTTPS for all API calls
- Implement proper input validation
- Use secure authentication methods
- Regular security audits
- Keep sensitive data encrypted
- Implement proper access controls
When contributing to this project:
- Never commit sensitive information
- Use placeholder values in examples
- Follow secure coding practices
- Report security issues privately
- Keep dependencies updated