Skip to content

Docs/soroban contracts overview#381

Merged
OSEH-svg merged 2 commits intoAgora-Events:mainfrom
Chigybillionz:docs/soroban-contracts-overview
Mar 30, 2026
Merged

Docs/soroban contracts overview#381
OSEH-svg merged 2 commits intoAgora-Events:mainfrom
Chigybillionz:docs/soroban-contracts-overview

Conversation

@Chigybillionz
Copy link
Copy Markdown
Contributor

closes #364

✅ Summary

This PR replaces the boilerplate contract documentation with a project-specific overview tailored to the current smart contracts implementation.


🧩 What was done

📚 Contract Catalog

Updated contract/README.md to clearly document:

  • event_registry

    • Purpose of the contract
    • Key storage keys used
    • Main/public functions with descriptions
  • ticket_payment

    • Payment flow and logic
    • Integration with Stellar assets

🛠️ Build & Test Instructions

  • Added steps for running tests using:

    cargo test
  • Documented deployment process using scripts in the /scripts directory


🗄️ Storage Model

  • Explained how storage.rs is used for managing on-chain state
  • Clarified how data is structured and accessed within contracts

📡 Events

  • Documented emitted events from events.rs
  • Explained their purpose and when they are triggered

⚙️ Tech Setup Clarification

  • Clarified usage of Rust (Cargo) vs Scarb
  • Ensured developers understand the correct toolchain for this project

🎯 Acceptance Criteria Met

  • contract/README.md reflects actual contracts in /contracts
  • ✅ Public functions for event_registry are documented
  • ✅ Build, test, and deployment steps are included
  • ✅ Storage and event systems are explained
  • ✅ Tech stack differences clarified

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

@Chigybillionz is attempting to deploy a commit to the oseh-svg's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 30, 2026

@Chigybillionz Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agora-web Ready Ready Preview, Comment Mar 30, 2026 10:57am

@OSEH-svg OSEH-svg merged commit 28322cb into Agora-Events:main Mar 30, 2026
6 checks passed
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.

Documentation: Soroban Contracts Overview

2 participants