SynthFi
  • Introduction to SynthFi
  • Getting Started
  • Using the App
  • Deployment
  • Frontend DApp
  • AI & Code Generation
  • SynthFi Launchpad
  • Security
  • Advanced Usage
  • FAQs & Troubleshooting
  • Roadmap
Powered by GitBook
On this page
  • Overview
  • Prerequisites
  • Core Workflow
  • Frontend Stack
  • Running Locally (Optional Developer Setup)
  • Solana Devnet Setup (for Testing Contracts)
  • Using the Launchpad
  • What You Can Do Right Now

Getting Started

PreviousIntroduction to SynthFiNextUsing the App

Last updated 1 day ago

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 →

  • ✅ 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

  1. Describe your contract using a natural language prompt

  2. SynthFi generates:

    • Anchor-based Solana smart contract

    • Frontend code (Next.js) with wallet UI

  3. Send to Launchpad for review & deploy setup

  4. Connect Phantom wallet

  5. (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:

  1. 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
  1. Set Network

bashCopyEditsolana config set --url https://api.devnet.solana.com
  1. Deploy via Anchor

bashCopyEditanchor build
anchor deploy
  1. Copy the resulting Program ID into your .env.


Using the Launchpad

After generation:

  1. Click “Send to Launchpad”

  2. You’ll be redirected to /launchpad with your contract pre-loaded

  3. Connect your wallet (Phantom)

  4. View a read-only preview of the contract

  5. Configure optional metadata:

    • Token name

    • Symbol

    • Decimals

  6. View warnings from risk scanner (rug/honeypot detection)

  7. 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)

phantom.app