Overview
Blaze is a free code library that lets JavaScript and TypeScript developers build blockchain transactions and the app-side code that works with their smart contracts (programs that run on the blockchain)1. Teams building websites and apps add it to their projects so they don't have to assemble payments and token transfers by hand. Blaze also includes a practice copy of the ledger that runs on a developer's own computer, so code can be tested before it touches a live network2.
Blaze comes from the team behind Butane, a synthetic-asset protocol on Cardano, and focuses on Cardano development. Its code is public on GitHub under the Apache 2.0 open-source license3. Butane retired its earlier library, Translucent, a modified copy of the Lucid library, in favor of Blaze4. The Blaze homepage lists Butane, Fortuna, jpg.store, Rocket, and SundaeSwap among projects that depend on it1.
Key Features
- Transactions built step by step. Developers chain simple instructions, such as paying an amount of ADA to an address, then call one final step that returns a transaction ready to sign and submit1.
- Choice of blockchain data service. Blaze reads network data through outside services called providers, with built-in support for Blockfrost, Kupmios, and Maestro, plus a separate UTxORPC provider that reads chain state such as unspent outputs and protocol parameters1.
- Testing without a live network. The Blaze emulator keeps an in-memory copy of the Cardano ledger for tests, demos, and local development, including governance actions like registering a DRep (a delegated representative who votes for ADA holders), casting votes, and submitting proposals2.
- Contract code that matches the app. A blueprint tool turns a compiled Aiken contract, Aiken being a language for writing Cardano smart contracts, into a ready-made TypeScript class that handles the contract's data formats5.
- Managed script deployments. The Blaze deploy package compares a list of scripts a project needs with what already exists on the blockchain, then decides whether to reuse, deploy, replace, or retire each one6.
What to Expect
For programmers, installation is a single command through npm, the standard package manager for JavaScript, and the homepage walks through a short example that prepares a payment for signing1. The documentation, which labels the API (the set of commands the library exposes) as experimental, is split by package, with guides and reference pages for each part of the toolkit.
Developers new to smart contracts can follow a runnable tutorial that compiles an Aiken contract, deploys it, locks funds at its address, and spends them again inside the emulator5. The emulator can also run as a standalone server that other programs reach over HTTP, the protocol web browsers use2.
Development happens in the open. A public roadmap on GitHub links its current and next work to GitHub issues, covering work such as dependency security and clearer script error messages7. Security problems are reported privately through GitHub rather than in public threads, and maintainers check third-party code for known vulnerabilities before releases that change it8.
Part of the emulator work was funded through a completed Project Catalyst Fund 12 proposal, Cardano's community grant program9.
Questions go to the Blaze channel on the TxPipe Discord server1.
