DAML Coder for Visual Studio Code
AI-powered DAML smart contract development assistant for Visual Studio Code. Generate production-ready contracts, get explanations, and debug errors with built-in security best practices.
Developed by Tenzro Labs
Features
Generate Code
Generate DAML contracts from natural language descriptions with proper security patterns.
Usage:
- Press
Cmd+Shift+G
(Mac) or Ctrl+Shift+G
(Windows/Linux)
- Or: Command Palette > "DAML Coder: Generate Code"
- Describe what you want to generate
- Code is inserted at your cursor
Examples:
- "Create a Token template with Transfer choice"
- "Generate an Escrow contract with buyer, seller, and arbiter"
- "Build an IOU with transfer and settle choices"
Explain Code
Get detailed explanations of DAML code patterns and concepts.
Usage:
- Select DAML code
- Command Palette > "DAML Coder: Explain Selection"
- Explanation opens in side panel
Debug Errors
Get AI assistance debugging DAML compilation errors.
Usage:
- Command Palette > "DAML Coder: Debug Error"
- Paste your error message
- Get analysis and suggested fixes
Installation
- Install from VSCode Marketplace
- Get an API key from team@tenzro.com
- Open Settings > Extensions > DAML Coder
- Enter your API key
Configuration
Access settings via: Preferences > Settings > Extensions > DAML Coder
damlCoder.apiKey (required)
- Your DAML Coder API key
- Get one at team@tenzro.com
damlCoder.apiUrl
damlCoder.maxTokens
- Maximum tokens to generate (default: 512)
damlCoder.temperature
- Generation temperature 0-1 (default: 0.1)
Commands
Command |
Keybinding |
Description |
DAML Coder: Generate Code |
Cmd/Ctrl+Shift+G |
Generate code at cursor |
DAML Coder: Explain Selection |
- |
Explain selected code |
DAML Coder: Debug Error |
- |
Debug error with AI help |
Requirements
- Visual Studio Code 1.80.0 or higher
- DAML Coder API key
- Internet connection
What Makes DAML Coder Different
- Security First: Always includes proper
archive self
patterns
- Production Ready: Generated code includes validation and error handling
- DAML Specialized: Fine-tuned on 10,000 DAML contracts
- Fast: Responses in 2-3 seconds
Troubleshooting
Extension not working
- Check API key is set in settings
- Verify internet connection
- Check VSCode output panel for errors
API key errors
Ensure your API key is valid. Contact team@tenzro.com for support.
Slow responses
The API typically responds in 2-3 seconds. Slower responses may indicate network issues or high load.
Documentation
Support
Privacy
DAML Coder sends your prompts and selected code to the API for processing. Code is not stored permanently. See our privacy policy for details.
License
Proprietary - Copyright 2025 Tenzro Labs
About
Built by Tenzro Labs - AI tools for blockchain development.