Skip to content

stellar-registry/contracts

Repository files navigation

stellar-registry contracts

Apache 2.0 licensed

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.

Related repositories

Contracts

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.

What the Registry does

  • 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).

Building

Contracts build with the size-optimized contracts profile:

stellar contract build --profile contracts

Tests rely on prebuilt fixture Wasm artifacts (imported via soroban_sdk::contractimport!), so build the workspace before running cargo test.

Documentation

License

Licensed under the Apache-2.0 License — see LICENSE for details.

About

On-chain Stellar Registry smart contracts

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors