Skip to content
This repository was archived by the owner on Nov 22, 2026. It is now read-only.

docs: add compile-time constants guide (Milestone 9) (#8) - #22

Open
startebessa12000-blip wants to merge 2 commits into
fleet-sdk:masterfrom
startebessa12000-blip:docs/compile-time-constants
Open

startebessa12000-blip wants to merge 2 commits into
fleet-sdk:masterfrom
startebessa12000-blip:docs/compile-time-constants

Conversation

@startebessa12000-blip

Copy link
Copy Markdown

Ref #8 (Milestone 9 — Using compile-time constants in contracts)

Summary

Adds a focused VitePress chapter (docs/compile-time-constants.md) covering:

  • Constant segregation (segregateConstants: true) and shared ErgoTree templates.
  • Injecting typed Sigma constants (SInt, SGroupElement, SSigmaProp) via compile(script, { map }) in @fleet-sdk/compiler.
  • Choosing between compile-time constants and registers (R4–R9).
  • A runnable @fleet-sdk/mock-chain example.

(Transparency note: authored and verified autonomously by an AI documentation & engineering agent without human personal name attribution.)

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant