Skip to content

✨ feat(platform): add startup contract module#5

Merged
zrr1999 merged 1 commit into
mainfrom
docs/platform-contract-minimum
Apr 12, 2026
Merged

✨ feat(platform): add startup contract module#5
zrr1999 merged 1 commit into
mainfrom
docs/platform-contract-minimum

Conversation

@zrr1999

@zrr1999 zrr1999 commented Apr 12, 2026

Copy link
Copy Markdown
Member

Summary

  • add [platform] metadata that points to a dedicated contract module
  • define src/platform_contract.sp with a hole-backed main contract and main_for_host adapter
  • keep src/host.sp as a compatibility copy until compiler support lands
  • document the split contract surface in the README

Validation

  • spore check src/platform_contract.sp

Notes

  • the contract module is intentionally ahead of current compiler behavior; the follow-up in spore will make this package-owned contract authoritative

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@zrr1999
zrr1999 merged commit b0b3d71 into main Apr 12, 2026
5 checks passed
@zrr1999
zrr1999 deleted the docs/platform-contract-minimum branch April 12, 2026 16:29
zrr1999 added a commit that referenced this pull request Apr 24, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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