🚀 SolCrafter 🌟 Inspiration The idea for SolCrafter was born out of a desire to create a tool similar to Lovable or Bolt, but specifically tailored for the blockchain space, focusing on Solana. As developers ourselves, we realized how complex and repetitive smart contract development can be, especially for those new to blockchain. Our goal was to simplify the process by using AI to write smart contracts from natural language prompts—making blockchain development accessible, fast, and efficient.

🛠️ How We Built It SolCrafter was developed in a monorepo setup using the following tech stack:

Frontend: Next.js

Runtime & Package Manager: Bun

Containerization: Docker

Database: PostgreSQL

AI Code Generation: Perplexity AI - Sonar Pro Model

The workflow is simple yet powerful: users enter a prompt, and SolCrafter uses the Perplexity model to generate Solana-compatible smart contracts, complete with test scripts and testnet deployment capabilities. All components are containerized for portability and scalability.

🧠 What We Learned Throughout this project, we gained valuable experience in several areas:

Building AI-assisted developer tools

Deep integration of large language models (LLMs) like Perplexity Sonar Pro

Understanding Docker and efficient containerization techniques

Using Bun in a production-grade monorepo

Automating smart contract development for Solana

Managing real-time deployment pipelines for blockchain contracts

🧩 Challenges We Faced We faced quite a few technical and logistical hurdles during development:

Dockerization: Ensuring all services worked harmoniously in Docker was tough, especially handling correct versions and dependency compatibility.

Model Selection: We experimented with multiple models before landing on Perplexity's Sonar Pro, which was ideal for accurate code generation.

Uploading Models: Managing model sizes and hosting requirements was a challenge, especially while running everything locally in Docker.

Deployment: Automating Solana testnet deployment with generated contracts was tricky, and this is still an area we’re working to improve.

Special thanks to Perplexity for the free subscription, which allowed us to explore their premium models and supercharge SolCrafter’s code-writing capabilities.

🏆 Accomplishments We’re Proud Of End-to-end automation of Solana smart contract generation, testing, and deployment

A clean and modern architecture using cutting-edge tools like Bun and Docker

Accurate contract and test script generation using AI

Successfully integrating an advanced LLM to understand and fulfill complex prompts

Creating a seamless experience for developers to build on Solana with minimal effort

🔮 What’s Next for SolCrafter This is just the beginning. Here's what’s coming up:

Ethereum Smart Contract Support

Integration with Anchor and Found frameworks for advanced Solana workflows

Real-time contract debugging and explanation

Enhanced deployment options and multi-chain support

Better UI/UX with contract templates and customization

Open-sourcing parts of the codebase for community collaboration

SolCrafter is here to redefine how developers write blockchain code—one prompt at a time.

Built With

Share this project:

Updates