Introduction
Last updated
Last updated
Glittr is a Smart Contract Development Platform that allows the building of dApps natively on Bitcoin Layer 1.
Developers can use Glittr's TypeScript SDK to create Smart Contracts and Glittr Transactions directly from their Web2 applications. These transactions are packaged with Bitcoin transactions through the use of OP_RETURN, and then mined directly on Layer 1 Bitcoin. Glittr Nodes then pick up and process these transactions post-mining to provide indexing, validation, and consensus.
Using the SDK, developers can create tokens and contracts, and programmatically issue transactions including contract-to-contract calls. This means that it's possible to build an enitre Bitcoin-enabled dApp without having to write anything beyond TypeScript.
Glittr Transactions rely on Bitcoin for significant pieces of their security. Glittr is a UTXO-based system, meaning that double spend is prevented by the Bitcoin miners directly. The validity of a specific contract call is determined post-mining by the network of Glittr nodes.
Glittr Contracts are trust-minimized. The Glittr protocol does not serve as an intermediary at any point, and dApps that facilitate user transactions never need to have custody of funds. In the Glittr ecosystem contracts can have "custody by consensus" as they would in EVM, meaning they have no private keys that can be abused.
Glittr is designed to be incredibly efficient in terms of memory, storage, and compute. Glittr does not use a VM at any point, instead, contract calls must specify both their inputs and expected outputs. Glittr nodes do not process the contracts, they simply validate the output. All contract calls can be validated in constant time.