Conversation
📝 WalkthroughWalkthroughThis pull request adds support for a new "c3sdk" template in the CLI creation command. The changes extend the template options and add corresponding SDK configuration for version 1.0.2 with build and test settings. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@packages/jammin-sdk/config/sdk-configs.ts`:
- Around line 25-29: The new SDK entry "c3sdk-1.0.2" in the exported config
object is missing the trailing comma after its closing brace and needs
formatting; update the object literal for the key "c3sdk-1.0.2" to include the
trailing comma after the block (after the closing brace) and then run the
project's formatter/biome to reformat the file so the entry matches project
style (ensure properties image, build, and test remain intact).
- Line 26: Replace the tag-only image value image:
"ghcr.io/dreverr/jamsdk:1.0.2" with a digest-pinned reference (e.g.
ghcr.io/dreverr/jamsdk:1.0.2@sha256:<actual-digest>) following the same pattern
used by jambrains-1cfc41c so the C3 toolchain image is immutable; also add the
missing trailing comma after the closing } of that object to satisfy Biome
formatting.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 9327845e-ea44-4f4e-965a-3412ae293538
📒 Files selected for processing (2)
bin/cli/src/commands/create-command.tspackages/jammin-sdk/config/sdk-configs.ts
tomusdrw
approved these changes
Mar 14, 2026
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.
Add C3 JAM SDK (
jamsdk)Adding C3 as a new SDK option for building JAM services and authorizers via
jamc3.Why a new SDK?
The other SDKs are built with their own scope and priorities, which is fine, but I wanted something I fully own end-to-end, designed the way I think a JAM SDK should work. On top of that, I've been getting into C3 and it turns out to be a really nice fit for this kind of work:
c3chas first-classrv64imacsupport with no-stdlib/no-libc out of the box. No toolchain wrestling.extern fndeclarations — no FFI wrappers, no unsafe blocks. All 27 host calls are one-liners..jamoutput is small and deterministic. Every byte counts on-chain.What's in the box
jamc3.c3l) — all 27 host functions, Gray Paper types, high-level service/storage APIs, Appendix C codecsrefine+accumulate) and authorizers (is_authorized).polkavm→.jampolkavm-to-jamconverter (works with polkatool 0.29+)ghcr.io/dreverr/jamc3Links