Skip to content

feat: update /estimate-contract-time and add support for SR Sandbox links#1648

Merged
mkmccarty merged 5 commits intomkmccarty:mainfrom
mutilis:feat/sr-sandbox-support
Oct 5, 2025
Merged

feat: update /estimate-contract-time and add support for SR Sandbox links#1648
mkmccarty merged 5 commits intomkmccarty:mainfrom
mutilis:feat/sr-sandbox-support

Conversation

@mutilis
Copy link
Contributor

@mutilis mutilis commented Oct 5, 2025

This PR adds a new EncodeData function that generates and encodes configuration data for SR Sandbox v-5.

It supports the following parameters:

  • CxpToggle: enables or disables leggacy/seasonal run
  • Duration: duration in days
  • TargetEgg: target egg amount
  • TokenTimer: token timer in minutes
  • Modifiers: placeholder for future contract modifier support
  • NumPlayers: coopsize

The function returns version-tagged encoded data used to populate the URL field:
https://srsandbox-staabmia.netlify.app/?data=

@mutilis mutilis closed this Oct 5, 2025
@mutilis mutilis reopened this Oct 5, 2025
@mutilis mutilis closed this Oct 5, 2025
@mutilis mutilis reopened this Oct 5, 2025
Copy link
Owner

@mkmccarty mkmccarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!!

@mkmccarty mkmccarty merged commit 7451658 into mkmccarty:main Oct 5, 2025
5 checks passed
@mutilis mutilis deleted the feat/sr-sandbox-support branch October 12, 2025 23:49
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.

2 participants