Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.1 KB

File metadata and controls

31 lines (20 loc) · 1.1 KB

Grainlify Smart Contracts

This repository contains Grainlify's Stellar Soroban smart contracts and their supporting tests, manifests, benchmarks, and deployment tooling.

Contract workspaces

  • contracts/ contains the primary contract packages, SDK, manifests, and contract-focused documentation.
  • soroban/ contains the Soroban workspace and its escrow, program-escrow, and stream contracts.
  • benchmarks/ contains contract performance baselines and thresholds.
  • scripts/ and fix/ contain contract validation, testing, upgrade, and maintenance utilities.

Local validation

Run the primary workspace tests with:

cargo test --manifest-path soroban/Cargo.toml

Validate the contract manifests with:

cd contracts
npm test

The contract workflows under .github/workflows/ run the repository's contract checks, benchmark gate, upgrade smoke tests, and storage-layout validation.

Scope

The repository is intentionally limited to on-chain contract code and contract-related tooling. Application backend, frontend, website, design, and deployment material are maintained elsewhere.