A TypeScript transpiler for CosmWasm smart contracts that generates type-safe client libraries from Protobuf schemas. Current stable version is 0.0.18, with irregular releases. It differentiates from other code generators by focusing on end-to-end TypeScript support and integration with the Cosmos ecosystem. Note: The version is very early (0.0.18) and the package may have limited stability.
npm install cosmscriptNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install cosmscript globally, generate client code from a CosmWasm schema, then use the generated client to query a contract.
Pin to exact version and test upgrades carefully.
Use import syntax and ensure your project is configured for ESM (e.g., type: 'module' in package.json).
Run npm install @cosmjs/cosmwasm-stargate @cosmjs/proto-signing in your project.
Change to import statement or use dynamic import().
Install @cosmjs/cosmwasm-stargate via npm.
Use import { generate } from 'cosmscript'.No dependency data recorded yet.