Getting Started
Overview
SynthFi lets you go from idea → protocol in just a few steps. With a prompt, you can generate:
A secure Solana smart contract (Anchor-based)
A functional frontend DApp
Full Phantom wallet integration
A pre-configured Launchpad interface for deployment
Whether you're a founder, developer, or prototyper: SynthFi helps you test and ship faster.
Prerequisites
Before you begin, make sure you have:
✅ Phantom Wallet installed → phantom.app
✅ Solana Devnet selected in your Phantom wallet
✅ Testnet SOL via https://faucet.solana.com
✅ Basic understanding of DeFi primitives (staking, vesting, etc.)
(Optional) Familiarity with Solana smart contracts or Anchor framework
Core Workflow
Describe your contract using a natural language prompt
SynthFi generates:
Anchor-based Solana smart contract
Frontend code (Next.js) with wallet UI
Send to Launchpad for review & deploy setup
Connect Phantom wallet
(Planned) Deploy to Solana Devnet
Frontend Stack
SynthFi-generated frontends include:
React + Tailwind CSS
Next.js routing
Phantom Wallet Adapter
IDL-driven hooks to interact with your Anchor contract
Running Locally (Optional Developer Setup)
While you can use SynthFi entirely in-browser, you can also run the output locally.
1. Clone the Project
bashCopyEditgit clone https://github.com/YOUR_ORG/synthfi-generated-dapp.git
cd synthfi-generated-dapp
2. Install Frontend Dependencies
bashCopyEditnpm install
3. Configure Environment
Create a .env.local
file:
envCopyEditNEXT_PUBLIC_SOLANA_NETWORK=devnet
NEXT_PUBLIC_PROGRAM_ID=your_program_id_here
You can obtain the program_id
after deploying to Devnet.
Solana Devnet Setup (for Testing Contracts)
If you plan to deploy and test the generated contracts manually:
Install CLI Tools
bashCopyEditsh -c "$(curl -sSfL https://release.solana.com/stable/install)"
cargo install --git https://github.com/coral-xyz/anchor anchor-cli --locked
Set Network
bashCopyEditsolana config set --url https://api.devnet.solana.com
Deploy via Anchor
bashCopyEditanchor build
anchor deploy
Copy the resulting Program ID into your
.env
.
Using the Launchpad
After generation:
Click “Send to Launchpad”
You’ll be redirected to
/launchpad
with your contract pre-loadedConnect your wallet (Phantom)
View a read-only preview of the contract
Configure optional metadata:
Token name
Symbol
Decimals
View warnings from risk scanner (rug/honeypot detection)
Deploy button (coming soon) or simulate deployment for testing
What You Can Do Right Now
✅ Generate Solana contracts with SynthFi ✅ Preview and edit the contract logic ✅ Send to Launchpad for wallet-based review ✅ Connect Phantom ✅ Review risk analysis ✅ Simulate deployment UX 🛠 Deploy manually via Anchor CLI (optional) 🔜 One-click Devnet deploy (coming)
Last updated