💽Self Hosting
Prerequisites
Install
git clone https://github.com/BasedGd/BasePass.git
cd basepass
pnpm installEnvironment Variables
DATABASE_URL=postgresql://user:pass@host:5432/basepass
BASE_RPC_URL=https://base-mainnet.infura.io/v3/KEY
CONTRACT_ADDRESS=0x0Fa3F2656074285a2cb8506D3a18479C4ABb73b2
USDC_ADDRESS=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
DEPLOY_BLOCK=26500000
NETWORK=mainnet
JWT_SECRET=random-32-char-minimum-secret
PORT=4821
NEXT_PUBLIC_API_URL=http://localhost:4821
NEXT_PUBLIC_CONTRACT_ADDRESS=0x0Fa3F2656074285a2cb8506D3a18479C4ABb73b2
NEXT_PUBLIC_USDC_ADDRESS=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
NEXT_PUBLIC_CHAIN_ID=8453NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=your_wc_project_id
DISCORD_BOT_TOKEN=your_discord_token
DISCORD_CLIENT_ID=your_discord_client_id
DISCORD_BOT_SECRET=shared-secret
TELEGRAM_BOT_TOKEN=your_telegram_token
TELEGRAM_BOT_USERNAME=your_bot_username
TELEGRAM_BOT_SECRET=shared-secret
SUPABASE_URL=https://project.supabase.co
SUPABASE_ANON_KEY=your_keyRun Locally
Production Build
Deployment Architecture
Component
Recommended
Why
Last updated
Was this helpful?

