Skip to content

Conversation

@proofofgame
Copy link
Owner

Changes

  • sBTC multi-currency support with separate fee tracking
  • Owner-only session finalization for centralized moderation
  • Separate minimum bet limits for STX and sBTC
  • Codecov integration with GitHub Actions
  • Complete README documentation update (public + private functions)
  • Test suite: 86 tests (84 passing, 2 skipped due to simnet limitations)
  • Vitest 3.2.4 for compatibility

New Functions

strike-core.clar:

  • \set-min-token-limit-sbtc\ - Set minimum sBTC bet (default 10 sBTC)
  • \withdraw-fees-sbtc\ - Withdraw accumulated sBTC fees
  • \get-total-fees-sbtc\ - Read sBTC fee balance
  • \get-min-token-limit-sbtc\ - Read minimum sBTC bet

Testing

\\�ash
npm test # 84 passed, 2 skipped
clarinet check # 0 errors, 20 warnings (non-critical)
\\

Notes

  • 2 tests skipped: sBTC integration tests require testnet deployment (simnet limitation with external contract admin functions)
  • All contract changes validated with 0 errors
  • Ready for deployment

@proofofgame proofofgame merged commit 4cc5eb8 into main Jan 27, 2026
2 checks passed
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

4 participants