Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added
- **DSL Compiler (castc)**: YAML-based domain-specific language for pipeline definitions
- New CLI tool (`castc`) with compile, validate, and decompile commands
- YAML parser for human-readable pipeline configurations
- AST-based compiler with comprehensive validation
- Decompiler to convert JSON programs back to YAML
- Template transformers for variable interpolation
- Comprehensive DSL documentation (`doc/DSL-GUIDE.md`)
- Full test suite for DSL components (cli, compiler, decompiler, parser, validator, transformers)
- New dependencies: `commander` for CLI, `yaml` for YAML parsing

### Changed
- Updated dependencies to latest semver-compatible versions:
- `typescript`: 5.0.4 → 5.9.3
- `viem`: 2.21.0 → 2.43.5
- `zod`: 3.21.4 → 3.25.76
- `@elastic/elasticsearch`: 8.8.1 → 8.19.1
- `axios`: 1.4.0 → 1.13.2
- `graphql`: 16.6.0 → 16.12.0
- And other minor updates
- Updated README with DSL programming guide reference and custom pipelines section
- Bumped package version to 1.2.0

## [1.2.0] - 2026-01-07

### Added
Expand Down
18 changes: 9 additions & 9 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,21 +239,21 @@ ChainCast automatically recovers missed events:
- `bun run format` - Format code with Biome
- `bun run check` - Run all Biome checks (lint + format)
- `bun run check:fix` - Fix all Biome issues
- `bun run ganache:dev` - Start local Ganache blockchain
- `bun run setup:ganache` - Setup Ganache with test contracts

### Local Development with Ganache
### Local Development

For testing without mainnet/testnet:
For local blockchain testing (Hardhat, Anvil, or similar):

1. **Start Ganache**:
1. **Start your local blockchain** (e.g., Anvil):
```bash
bun run ganache:dev
anvil
```

2. **Deploy Test Contracts**:
```bash
bun run setup:ganache
2. **Configure local chain** in `.env.local`:
```env
LOCAL_CHAIN_ID=31337
WEB3_RPC_LOCAL_URL=http://127.0.0.1:8545
WEB3_WS_LOCAL_URL=ws://127.0.0.1:8545
```

3. **Start ChainCast**:
Expand Down
Loading