1 unstable release

new 0.13.0-rc.4 Apr 8, 2025

#1 in #contracts


Used in hyle

Custom license

1MB
4K SLoC

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.

Dependencies

~82MB
~1M SLoC