Forge Tutorial: Create & Deploy a Token
Vestra Forge User Guide
Vestra Forge is a visual Solana program builder. It allows you to drag modules onto a canvas, connect them, validate logic, and deploy to Devnet or Mainnet without needing to hand-write Rust.
Getting Started
Create a Project
From the dashboard, click New Project.
Give your project a name (e.g., “Token Launch”).
Select a workspace and network (Devnet for testing).
Project opens inside the Visual Editor.
Exploring the Module Library
On the left side, you’ll find the Module Library. Each module represents a reusable Solana program building block.
Categories
Token → SPL Token Mint, Liquidity Pools.
NFT → NFT Mint (Metaplex).
Core → PDA Account, Timers.
Governance → Governance Proposal.
DeFi → Liquidity Pools, yield modules.
Adding a Module
Click Add to Canvas to place the module inside the editor.
Drag modules to position them.
Connect outputs → inputs to define data flow.
Connection Types
On the right panel, you’ll see Connection Types:
Data Flow → moves account data, transaction params, or user input between modules.
Instruction Flow → sequences program calls (logic ordering).
Token Flow → moves assets between wallets/accounts.
NFT Flow → links NFT minting or metadata operations.
Tip: Hover over a port to see what type of connection is expected.
Building a Token Mint Example
Let’s create an SPL Token Mint program.
Add Start Node
Click Add Start Node in the canvas.
Defines program name and default network.
Add SPL Token Mint
From Module Library → Token → SPL Token Mint.
Place on canvas.
Configure Parameters
Name: Vestra Token
Symbol: VST
Decimals: 9
Initial Supply: 1,000,000,000
Authority: Wallet
Connect Nodes
Start Node → SPL Token Mint (payer input).
Validate
Click Validate.
Fix any warnings (e.g., unconnected accounts).
Generate Code
Forge outputs Anchor workspace + IDL.
Code is viewable or downloadable as a ZIP.
Compile
Runs Anchor build in a sandbox.
Outputs
.sobinaries + warnings.
Deploy
Connect Phantom wallet.
Sign transaction.
Explorer link returned on success.
Monitoring
Switch to the Monitor tab to:
Watch logs in real time.
Track job progress (generate, compile, deploy).
Debug validation errors.
Advanced Workflows
PDA Accounts → create program-derived accounts for advanced ownership models.
Governance Proposals → wire tokens into voting modules for DAO governance.
Liquidity Pools → connect Token Mints into pools to simulate or deploy DeFi flows.
Best Practices
Start on Devnet before deploying to Mainnet.
Use Validate frequently to catch schema issues early.
Save projects regularly - Forge snapshots your canvas.
Pair with VestraGPT for balance checks, price queries, and swap simulations.
Vestra Forge turns complex Solana programs into visual workflows - empowering builders of every level.
Last updated

