SynthFi automatically generates a complete frontend DApp alongside every smart contract. This gives you a ready-to-use interface to interact with your Solana program on Devnet — no extra setup required.
This section explains how the DApp works, how it's structured, and how to connect it to your deployed contract.
What’s Included in the Frontend
Feature
Description
Phantom Wallet integration
Built using @solana/wallet-adapter
Live contract interaction
Read/write data to your deployed Anchor program
Token-based actions
Stake, withdraw, claim, unlock — depending on prompt
Configurable UI
Pre-styled using Tailwind CSS, editable
State-aware rendering
Shows connected wallet address, program state, and token balances
How It Works
✅ 1. Wallet Adapter Integration
SynthFi supports Phantom Wallet via Solana’s official adapter: