Skip to main content

Crate stellar_registry

Crate stellar_registry 

Source
Expand description

stellar-registry is a collection of tools to help integrate with existing smart contracts on Stellar.

Macros§

import_asset
Generate a module with the Stellar Asset Contract id and token clients for an asset, computed offline for the build-time network (STELLAR_NETWORK / STELLAR_NETWORK_PASSPHRASE, defaulting to local).
import_contract
Generate a type-safe client for a deployed, registry-named contract, already bound to its on-chain address — collapsing “look up the address” and “generate the client type” into one call.
import_contract_client
Generate a contract client from a published wasm — from your workspace’s target directory if present, otherwise downloaded from the registry.