Start from Template
Código provides ready to use templates that help you start faster.
Each template includes a complete smart contract, unit tests, and client setup so you can explore and build without starting from scratch.
1️⃣ Create Your Workspace
Start by creating a new workspace in Código Hub.
Click the green NEW button in the top-left corner of the dashboard.
You’ll be prompted to enter:
- A workspace name
- A smart contract name
2️⃣ Open the Template Library
Once your workspace is created, click the Templates button.

3️⃣ Choose Your Templates
Browse the list of available templates.
Each template is a full project including:
- Smart contract logic
- Unit tests
- Example client integration
You can select one or more templates to combine and customize.

🧰 Popular Templates
🖼️ NFTs
- NFT Marketplace – Full featured marketplace
- NFT Staking – Stake NFTs to earn token rewards
- NFT Collection – Create and manage collections
- Metaplex Bubblegum – Use compressed NFTs with Metaplex tech
💸 Tokens
- Token Staking – Stake SPL tokens with configurable rewards and lock periods
- Token Vesting – Lock tokens with timed release
- Token Lending – Peer to peer token loans
- Token Swap – Simple decentralized exchange
- Associated Token Account – Manage SPL token accounts
- Meme Coin – Lightweight fun token deployment
📈 DeFi & GameFi
- Escrow – Secure fund locking and release
- Single Pool – Single sided staking pool
- Bonding Curve – Dynamic token pricing
- Stake Pool – Manage SOL stake pools
- Informal Lender – Sol lending between individuals
🧪 Utilities & Basics
- Memo – Attach messages to Solana transactions
- Account Compression – Efficient account storage
4️⃣ Template Import in Progress
Once you've selected your templates, Código will begin importing them into your workspace.
You’ll see a loading indicator during this process. This usually takes just a few seconds.

4️⃣ Continue Building with AI
Your selected templates will be added directly to your workspace.
You can now:
- Modify files using prompt-based instructions
- Autocomplete missing logic with DevAI
- Run tests, build, and deploy directly from the IDE
✅ You’re ready to customize and ship your project faster than ever.

🚀 Next Steps
👉 How to Build & Deploy My Program
👉 How to Write and Run Unit Tests
👉 How to Implement Business Logic with AI Autocompletion