rename: aldabra → aldabra (per Sulkta 2026-05-04)
Aldabra giant tortoise (Aldabrachelys gigantea) — endemic to the
Aldabra atoll, up to 250 kg, 150-year lifespan. Long-lived,
defended, slow but unstoppable. Better metaphor for the wallet
than 'aldabra' which was on-the-tin descriptive.
All renames in one pass:
- repo: Sulkta-Coop/aldabra → Sulkta-Coop/aldabra (via gitea API)
- workspace dir: aldabra → aldabra
- crate dirs: wallet-{core,chain,mcp} → aldabra-{core,chain,mcp}
- crate names + path imports in Cargo.toml workspace + each crate
- binary name: aldabra → aldabra
- README, ROADMAP, docs/architecture: all references swept
This commit is contained in:
parent
56bcceb593
commit
edc976e5d9
9 changed files with 39 additions and 34 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# wallet-chain — pluggable backends for chain queries.
|
||||
# aldabra-chain — pluggable backends for chain queries.
|
||||
#
|
||||
# A `ChainBackend` trait abstracts over Koios (HTTPS), Ogmios (WS/HTTP),
|
||||
# or any future option. Phase 1 ships with a Koios implementation since
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
# Submission paths land in phase 2. Read-only queries first.
|
||||
|
||||
[package]
|
||||
name = "wallet-chain"
|
||||
name = "aldabra-chain"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license-file.workspace = true
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# wallet-core — pure crypto + types. No I/O, no network. Deterministic
|
||||
# aldabra-core — pure crypto + types. No I/O, no network. Deterministic
|
||||
# given the same mnemonic + derivation path.
|
||||
#
|
||||
# This crate is intentionally narrow:
|
||||
|
|
@ -6,18 +6,18 @@
|
|||
# - Root key → payment / stake key (CIP-1852 derivation)
|
||||
# - Address construction (mainnet, testnet)
|
||||
# - Transaction signing (given an unsigned TX builder output from
|
||||
# wallet-chain or pallas-txbuilder)
|
||||
# aldabra-chain or pallas-txbuilder)
|
||||
#
|
||||
# It deliberately does NOT:
|
||||
# - Do any chain queries (that's wallet-chain's job)
|
||||
# - Talk to MCP (that's wallet-mcp's job)
|
||||
# - Do any chain queries (that's aldabra-chain's job)
|
||||
# - Talk to MCP (that's aldabra-mcp's job)
|
||||
# - Touch files (the daemon owns disk I/O; we get keys handed in)
|
||||
#
|
||||
# Rationale: this is the most security-sensitive crate. Keeping it
|
||||
# narrow + I/O-free makes it auditable.
|
||||
|
||||
[package]
|
||||
name = "wallet-core"
|
||||
name = "aldabra-core"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license-file.workspace = true
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# wallet-mcp — the binary. MCP server speaking stdio that exposes
|
||||
# aldabra-mcp — the binary. MCP server speaking stdio that exposes
|
||||
# the wallet's tools to an LLM. Spawned as a subprocess from any MCP
|
||||
# client (e.g. Claude Code).
|
||||
#
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
# between core + chain crates.
|
||||
|
||||
[package]
|
||||
name = "wallet-mcp"
|
||||
name = "aldabra-mcp"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license-file.workspace = true
|
||||
|
|
@ -18,8 +18,8 @@ name = "aldabra"
|
|||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
wallet-core = { path = "../wallet-core" }
|
||||
wallet-chain = { path = "../wallet-chain" }
|
||||
aldabra-core = { path = "../aldabra-core" }
|
||||
aldabra-chain = { path = "../aldabra-chain" }
|
||||
|
||||
tokio = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
//! ## Phase 1 tools
|
||||
//!
|
||||
//! - `wallet.address` — return the derived base address (placeholder
|
||||
//! until wallet-core's CIP-1852 derivation lands)
|
||||
//! until aldabra-core's CIP-1852 derivation lands)
|
||||
//! - `wallet.balance` — query balance via the configured chain backend
|
||||
//!
|
||||
//! ## Phase 2-4 tools (TODO)
|
||||
|
|
@ -47,9 +47,9 @@ async fn main() -> Result<()> {
|
|||
// For now: a smoke-test print so the binary actually does something
|
||||
// when invoked manually (not through MCP).
|
||||
tracing::info!(
|
||||
target_address = %wallet_core::derive_base_address(
|
||||
target_address = %aldabra_core::derive_base_address(
|
||||
&dummy_root_key()?,
|
||||
wallet_core::Network::Mainnet,
|
||||
aldabra_core::Network::Mainnet,
|
||||
0,
|
||||
0,
|
||||
)?,
|
||||
|
|
@ -62,13 +62,13 @@ async fn main() -> Result<()> {
|
|||
/// Phase 1 only — produces a zero-bytes RootKey so the placeholder
|
||||
/// address derivation runs. Will be deleted once real mnemonic loading
|
||||
/// lands.
|
||||
fn dummy_root_key() -> Result<wallet_core::RootKey> {
|
||||
fn dummy_root_key() -> Result<aldabra_core::RootKey> {
|
||||
// Need a way to construct one from this crate without exposing
|
||||
// private fields. Phase 1: temporary public constructor on
|
||||
// wallet-core, gated behind a #[cfg(test)] or feature flag and
|
||||
// aldabra-core, gated behind a #[cfg(test)] or feature flag and
|
||||
// removed before phase 2.
|
||||
//
|
||||
// For tonight: this fn is a TODO marker — the smoke test won't
|
||||
// actually run until we finish wallet-core::Mnemonic::into_root_key.
|
||||
// actually run until we finish aldabra-core::Mnemonic::into_root_key.
|
||||
anyhow::bail!("phase 1 scaffold: real mnemonic loading not yet implemented")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue