hyle-contracts

Crates.iohyle-contracts
lib.rshyle-contracts
version0.13.0-rc.4
created_at2025-04-08 14:50:33.480703+00
updated_at2025-04-08 14:50:33.480703+00
descriptionMetadata of hyle built-in contracts
homepagehttps://hyle.eu/
repositoryhttps://github.com/Hyle-org/hyle/
max_upload_size
id1625599
size110,005
Lancelot de Ferrière (wraitii)

documentation

README

Hyle Smart Contracts

This folder contains some "official" Hyle Risc0 smart contracts :

  • hydentity: Basic identity provider
  • hyllar: Simple ERC20-like contract
  • amm: Simple AMM contract
  • risc0-recursion: A contract with special rights to do recursion on multiple contracts
  • staking: A contract used to hold partg of the staking logic for the consensus.

This architecture is subject to change while sdk will be developped.

To regenerate the _.img and _.txt files, you should run

cargo build -p hyle-contracts --features build

For testing, you can recreate the contracts on the fly (without docker) by running the --features nonreproducible flag.

Commit count: 1340

cargo fmt