Scrypto and Radix Engine Documentation

repository·develop·Indexed 19 days ago

https://github.com/radixdlt/radixdlt-scrypto

Core language (Scrypto), execution engine (Radix Engine), and supporting Rust libraries for building decentralized applications on the Radix network. Includes documentation on blueprints, components, asset-oriented programming (Resources, Vaults, Buckets), the Actor model, and developer tools like radix-clis, radix-common, and the radix-engine-interface.

Tokens
67K
Snippets
154
Records
355
Agent score
64%

What's inside radixdlt-scrypto

  1. Overview of radix-common

    develop
    The radix-common library provides a collection of shared types and functions used across all layers of the Radix DLT stack. Developers building on or integrating with Radix components can use this library to ensure type compatibility and access standardized logic used throughout the ecosystem.
  2. Overview of radix-transactions

    develop
    The radix-transactions package provides essential tools for interacting with the Radix DLT, specifically focusing on transaction models and manifest manipulation. It includes a manifest compiler and decompiler, which are used to transform high-level transaction manifests into formats suitable for execution on the Radix engine and vice versa.
  3. What is Radix Engine?

    develop

    Radix Engine is a deterministic, transaction-based state machine designed for DeFi shared computing environments. It updates ledger state through the sequential execution of transactions.

    Key architectural differentiators from the EVM and other blockchain VMs include:

    • Object-Oriented and Type-Safe: Built with strong typing and object-oriented principles.
    • Move/Ownership Semantics: Enforces strict ownership rules for assets and data.
    • Extensibility: Supports system plugins to extend or modify core system functionality.
  4. Overview of Scrypto and Radix Engine

    develop

    The radixdlt-scrypto repository contains the core components for developing and executing decentralized applications on the Radix network:

    • Scrypto: The domain-specific language used for building DeFi applications.
    • Radix Engine: The execution environment responsible for processing transactions within the Radix network.

    Supporting libraries include radix-transactions for constructing transactions and subintents, radix-common for shared types, radix-rust for no-std compatible abstractions, sbor for the tagged verifiable encoding format, and various developer CLIs in radix-clis.

  5. Understand the purpose of the radix-rust crate

    develop

    The radix-rust crate provides a thin abstraction over the Rust standard library (std) designed for convenience within the Radix DLT ecosystem.

    Warning: This crate is intended for internal use within the Radix project and is not designed to be a stable public API. The interface is subject to change without notice. Use it at your own risk if consuming it in external projects.

  6. Use `sbor-derive` to implement SBOR via macros

    develop
    sbor-derive is a collection of procedural macros provided by the Radix DLT project. It allows developers to automatically implement the SBOR (Scalable Binary Object Representation) trait for their custom data structures, reducing boilerplate when working with Scrypto and the Radix Engine.