Skip to content

docs: developer NFT rewards page#439

Draft
MuncleUscles wants to merge 1 commit into
mainfrom
docs/developer-nft-rewards
Draft

docs: developer NFT rewards page#439
MuncleUscles wants to merge 1 commit into
mainfrom
docs/developer-nft-rewards

Conversation

@MuncleUscles

Copy link
Copy Markdown
Member

New guide under Frontend & SDK Integration (sibling of reading-data / writing-data) covering the developer NFT reward mechanism and how to read/claim rewards with GenLayerJS.

Covers: how the NFT is minted (first deploy, one per developer), the two earning sources (fee share ~10% at finalization; inflation share, pro-rata by fees, 1× cap), when rewards become claimable, and worked GenLayerJS examples for getDeveloperNft / getClaimableRewardsFrom* / claimNft* (from genlayer-js PR #195). Mirrors the reading-data/writing-data page conventions; adds one _meta.json nav entry.

⚠️ Please review these claims before merging

  1. "Only the first deployed contract accrues" — documented as current behavior in the Gotchas section. This is a genuine contract-level limitation (a developer's 2nd+ contract has ghostToNFT == 0, so its fees are skipped). It sits adjacent to a fund-loss bug we just reported to the consensus team — please confirm the framing is how you want it stated publicly, or whether to soften/omit until the contract behavior is settled.
  2. 50-epoch claim cap vs uncapped view — the guide warns that getClaimableRewardsFromInflation can report more than a single claimNftEpochs will pay. Accurate today, but if the SDK later adds client-side clamping this note should change.

Draft — not for merge until the above are confirmed.

New guide under Frontend & SDK Integration covering how the developer NFT is
minted, how it earns from the fee share and inflation share, when rewards
become claimable, and how to read/claim with GenLayerJS. Uses the new
getDeveloperNft / getClaimableRewardsFrom* / claimNft* actions.
@netlify

netlify Bot commented Jul 6, 2026

Copy link
Copy Markdown

Deploy Preview for genlayer-docs ready!

Name Link
🔨 Latest commit 5f80f92
🔍 Latest deploy log https://app.netlify.com/projects/genlayer-docs/deploys/6a4b9db31adf55000832bd14
😎 Deploy Preview https://deploy-preview-439--genlayer-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b2755568-7d16-42b3-ae99-c1c8170b5bc5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/developer-nft-rewards

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant