On-chain smart contracts for the Stellar Registry — the infrastructure layer between "I wrote a smart contract" and "the ecosystem can safely use my smart contract." Built for Soroban on the Stellar blockchain.
- On-chain contracts (this repo): stellar-registry/contracts
- CLI: stellar-registry/cli
- Frontend: stellar-registry/ui
- Indexer & API: stellar-registry/indexer
| Path | Description |
|---|---|
contracts/registry |
The core Registry contract: publishes Wasm with versioning and deploys named instances |
contracts/test/* |
Test fixtures (hello_world, hello_world_v2, hello_world_v3) used by the registry's test suite |
The feat/registry-tansu-manager branch additionally contains
contracts/registry-tansu-manager (a Tansu DAO-gated registry manager),
contracts/hello, and contracts/test/tansu-stub.
- Register contract names for publishing
- Publish contract binaries with version management
- Fetch contract binaries and metadata
- Deploy published contracts to the blockchain
- Retrieve deployment statistics for contracts
- Manage contract ownership and redeployment
It separates Wasm publication (reusable code), contract deployment (named instances), and local installation (CLI aliases handled by the CLI).
Contracts build with the size-optimized contracts profile:
stellar contract build --profile contractsTests rely on prebuilt fixture Wasm artifacts (imported via
soroban_sdk::contractimport!), so build the workspace before running
cargo test.
Licensed under the Apache-2.0 License — see LICENSE for details.