https://github.com/macalinao/coda
Automated client generation for Solana programs.
https://github.com/macalinao/coda
anchor codegen solana typescript
Last synced: 5 days ago
JSON representation
Automated client generation for Solana programs.
- Host: GitHub
- URL: https://github.com/macalinao/coda
- Owner: macalinao
- License: apache-2.0
- Created: 2025-08-18T01:04:09.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2026-07-12T01:30:39.000Z (13 days ago)
- Last Synced: 2026-07-12T02:12:18.691Z (13 days ago)
- Topics: anchor, codegen, solana, typescript
- Language: TypeScript
- Homepage: https://coda.ianm.com
- Size: 47.7 MB
- Stars: 9
- Watchers: 0
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Coda
Automated client generation for Solana programs.
Coda automatically generates type-safe TypeScript clients from your Anchor IDLs. Built on [Codama](https://github.com/codama-idl/codama), it provides a CLI that transforms Anchor IDLs into modern TypeScript clients with full type safety and ES modules support.
## Documentation
Visit **[coda.ianm.com](https://coda.ianm.com)** for complete documentation including:
- Getting started guide
- Configuration options
- API reference
- Examples and tutorials
Full TypeDoc documentation is available at **[coda-typedocs.ianm.com](https://coda-typedocs.ianm.com)**.
## Quick Start
```bash
# Install
bun add -D @macalinao/coda
# Generate client from Anchor IDL
coda generate
# Or initialize with config
coda init
```
By default, Coda looks for IDLs at `./target/idl/program.json` and outputs to `./src/generated`.
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
Copyright © 2025 Ian Macalinao
Licensed under the Apache License, Version 2.0