An open API service indexing awesome lists of open source software.

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.

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