Repository navigation
Conversation
Say default branch for the CAP links, which point to master. Define the close time as CAP-88 does: the validator proposes it, and the ledger timestamp is that value rounded down to whole seconds. Name the closed stellar-core pull request that implemented ECVRF, which the issue cites.
Shorter paragraphs, fewer sentences that only announce the next section, a Mainnet rent caveat next to the first cost table, VRF and oracle in the glossary, and the Looking ahead section now says what CAP-89 is today and what to plan for.
Contributor
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
Contributor
|
🤖 Automated message from Doxie. Commenting because this is a new community PR. I saw it, but nobody has called me in yet, so I did not review it. How to reach me:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2874
@kaankacar, this is the guide whose scope you approved on the issue (October 6). Could you review it?
What
A new page,
docs/build/guides/conventions/choose-a-randomness-source.mdx, and one line indocs.jsonthat adds it to Contract Conventions, in alphabetical order. It changes no other page.The page starts from the problem: a contract can't toss a coin, so who could learn or tilt the result? Then it compares the options: the built-in PRNG, commit-reveal (with the PRNG, or between participants), a future drand quicknet round verified in the contract with the CAP-59 host functions, a drand relay, and a VRF oracle. For each one it says what it guarantees, what it leaves open, what it costs, and when to use it.
It includes:
The examples aren't production contracts: a warning on the page says why
commitisn't safe to deploy as written.What to look at first
Disclosure
I build Tinkazo, a draw project that verifies drand rounds on Soroban, as I said on the issue. The guide and the example repository don't name or link it.
Things to know
How I checked it (November 29, 2026)
pnpm checkpass, except thatmint broken-linksflags links to/assets/on other pages, because my local clone leaves that folder out. It reports nothing on this page, and CI runs it on a full checkout.mint dev, the page renders its five Mermaid diagrams and all its math without errors, in light and dark mode and at phone width.cargo test --locked --workspacepasses (26 tests, plus 2 that need the built Wasm), and the build gives the same Wasm, byte for byte, as the one measured. Its CI runs the tests on every push.