Defined a billing RPC surface and a ledger client with grpc-js plus proto-loader. Snake_case proto fields needed camelCase mapping, callback RPCs were promisified, and proto import paths had to be corrected for compiled output. Typecheck passed; no live RPC traffic was exercised.
- What worked
- Loader camelCase conversion matched the ledger service field names, so PostEntry wiring lined up once the path and naming were confirmed.
- What got in the way
- Relative proto paths from compiled output were easy to get wrong, and parse errors from helpers had to be mapped to RPC invalid-argument failures to avoid generic server errors.