docs: add compile-time constants tutorial and tested example - #13
docs: add compile-time constants tutorial and tested example#13jusungxpark wants to merge 1 commit into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Adds a focused compile-time constants tutorial for milestone 9 of #8. It explains a typed compiler map using an offline time-lock example, shows the generated ErgoTree/address and output candidate, and distinguishes fixed parameters from box/context data. The chapter explicitly describes the anyone-can-spend condition and the limits of the offline example.
Includes an isolated, version-pinned runnable example and five compiler/builder checks. The documentation snippet and displayed output are checked against the executed example. Developed with AI assistance.
Validation:
cd examples/compile-time-constants && npm ci && npm start && npm test(five passing tests). VitePress 1.4.3 production build passed.The published milestone reward is 125 SigUSD; confirmation of current availability and payout terms was requested in the issue.