Skip to content

Repository layout

Where everything lives in the repository, one line per directory or file that matters.

.
├── README.md                    project overview
├── mkdocs.yml                   this documentation site's configuration
├── requirements-docs.txt        pinned Python packages for building the site
├── docs/                        the documentation book (Markdown, widgets, assets)
├── tools/docs/                  docs tooling: check_docs.py (consistency checks), build_code_map.py
└── stealth_name_service/
    ├── Move/                    Move packages
    │   ├── bridge_source/              emits CrossChainRequest and RequestAcknowledged
    │   ├── bridge_abstract_account/    the BridgeAA account and its authenticator
    │   └── bridge_target/              all-pure landing call (record)
    └── backend/
        ├── .env_sample                 every environment variable, with defaults
        ├── deploy.sh                   Swarm reset, build and deploy
        ├── consensus_smoke.sh          local committee test
        ├── consensus_compare.sh        committee scenario sweep
        ├── consensus_compare.py        helper and report writer for the sweep
        ├── docker-compose.backend.yml      backend service
        ├── docker-compose.bridge.yml       event_listener and event_handler
        ├── docker-compose.benchmark.yml    loadtest service
        ├── docker-compose.consensus.yml    consensus_committee service
        ├── docker-compose.standalone.yml   one backend, no Swarm
        ├── iota.keystore, iota.aliases     keystore and its aliases file
        ├── agent/
        │   ├── payloads/               request payloads (JSON) for loadtest and SendPTB
        │   │   ├── acl/                    batch files written by bridge_acl_add generate
        │   │   ├── events/                 further example payloads
        │   │   └── ptb_AA/                 legacy account-abstraction payloads
        │   ├── plotting_results/       analysis and plotting scripts
        │   └── requirements.txt        Python packages for those scripts
        └── testing_backend/            the Rust crate
            ├── Cargo.toml, Cargo.lock, rust-toolchain.toml
            ├── Dockerfile              builds every binary into one image
            ├── iota.keystore           keystore mounted into the services
            ├── bench_object_ids.txt    object ids in the BENCH_OBJECT_IDS format (legacy path)
            └── src/
                ├── main.rs             backend HTTP server (testing_backend binary)
                ├── lib.rs              library root shared by the binaries
                ├── server.rs           response types and execution status
                ├── ptb_args.rs         JSON argument arrays to PTB arguments
                ├── pure_args.rs        BCS encoding of nested pure values
                ├── grpc_ext.rs         gRPC connection pool and retry helpers
                ├── backend_log.rs      BACKEND_DEBUG_LEVEL logging macros
                ├── aa_handler.rs       legacy account-abstraction handler, coin caches
                ├── bridge/             intents, signing and BridgeAA access
                │   ├── aa.rs, signer.rs, intent.rs, event.rs, config.rs, mod.rs
                ├── consensus/          the committee: ABCI app, nodes, sink, strategies
                │   ├── app.rs, node.rs, sink.rs, strategy.rs, tx.rs, auth.rs, config.rs, recent.rs, mod.rs
                └── bin/                one file per binary
                    ├── loadtest.rs, bench_sweep.rs
                    ├── event_listener.rs, event_handler.rs, consensus_committee.rs
                    ├── bridge_aa_init.rs, bridge_acl_add.rs, bridge_aa_coins.rs
                    └── aa_init.rs              legacy

What each binary does: Binaries and scripts.

Files and folders created at run time

These are not in the repository (they are ignored by .gitignore) but appear when you run the stack.

Path Created by Contents
.env (in backend/) you Copy of .env_sample. See Configuration.
backend/shared_data/ Docker stack The backend's and loadtest's /app/output, holding PTB_CALL_* run folders.
backend/events_data/ Docker stack The listener's and handler's /app/data: cursor.json, events.jsonl, processed_events.json, bridge_results.csv.
backend/consensus_data/ Docker stack CometBFT homes and per-node cometbft.log, wiped on every committee start.
backend/results/ consensus_compare.sh One folder per comparison run.
backend/testing_backend/output/ loadtest, bench_sweep Default OUTPUT_DIR and sweep output when run from the host.
backend/testing_backend/target/ Cargo Build output.

Column definitions for the result files: CSV schemas.