Quickstart
Get Started with Forge
Set up your development environment and start building in minutes
Prerequisites
Before you begin, make sure you have the following installed on your system:
- ●Node.js 22.0.0 or higher - JavaScript runtime
- ●npm or yarn - Package manager
- ●Git - Version control
- ●OpenAI API Key - For AI agent functionality
- ●Solana Wallet - Phantom, Solflare, or any supported wallet
Installation
Step 1: Clone the Repository
# Contact us for access
cd forgeStep 2: Install Dependencies
npm install
# or
yarn installStep 3: Configure Environment
Create a .env.local file in the root directory:
# OpenAI Configuration
OPENAI_API_KEY=your_openai_api_key_here
# Solana Configuration (Optional)
NEXT_PUBLIC_SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
NEXT_PUBLIC_SOLANA_NETWORK=mainnet-beta
# Optional: Private Key for Agent Operations
SOLANA_PRIVATE_KEY=your_base58_private_key⚠️ Security Note: Never commit your .env.local file to version control. It contains sensitive API keys and private keys.
Step 4: Start Development Server
npm run dev
# or
yarn devOpen http://localhost:3000 in your browser to see Forge in action!
Your First Agent Interaction
1. Connect Your Wallet
Click the "Connect Wallet" button in the top right corner and select your preferred Solana wallet (Phantom, Solflare, etc.).
2. Navigate to Agent Dashboard
Go to the Agent page from the sidebar to access the AI-powered chat interface.
3. Try Your First Command
Start with a simple query like:
"What is my wallet balance?"
4. Explore Advanced Features
Try token transfers, NFT operations, or DeFi interactions through natural language commands.
Example Commands
Here are some example commands you can try with the AI agent:
"Check my SOL balance"
Get your current SOL balance
"Transfer 0.1 SOL to [wallet address]"
Send SOL to another wallet
"Show me my NFT collection"
View all NFTs in your wallet
"Swap 1 SOL for USDC"
Execute a token swap via Jupiter
"Get the price of SOL"
Fetch current market price
Next Steps
Now that you're up and running, explore more features:
On this page
