Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exclude = ["crates/digstore-prover/guest", "crates/dig-client-wasm"]

[workspace.package]
edition = "2021"
version = "0.15.0"
version = "0.15.1"
license = "GPL-2.0-only"

[workspace.dependencies]
Expand Down
128 changes: 65 additions & 63 deletions crates/digstore-chain/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,63 +1,65 @@
[package]
name = "digstore-chain"
version.workspace = true
edition = "2021"
license.workspace = true

[dependencies]
# The canonical `Capsule` (storeId:rootHash) identity. Store discovery returns the
# current + historical capsules of a user's stores, so the return types speak in the
# one ecosystem-wide capsule type rather than re-inventing the pair.
digstore-core = { path = "../digstore-core" }
async-trait = "0.1"
bip39 = { version = "2", features = ["rand"] }
argon2 = "0.5"
aes-gcm = "0.10"
zeroize = { version = "1", features = ["zeroize_derive"] }
getrandom = "0.2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
thiserror = "1"
dirs = "5"
# Canonical coin-selection + consolidation primitive (coin-management epic #410, T0b).
# Provides the capped, high-value-first `select_for_spend`/`select_for_consolidation`
# used by the init/commit/deploy spend paths so ordering + the 50-coin cap +
# NeedsConsolidation are shared across the ecosystem (never hand-rolled — §4.1 /
# Appendix B). Git-pinned to v0.3.0; see the root `[patch]` for the dig-keystore seam.
dig-l1-wallet = { git = "https://github.com/DIG-Network/dig-l1-wallet", tag = "v0.3.0" }
# `select_for_spend` speaks in chia-query's `CoinRecord`; used to convert digstore's
# native `Coin`s into the selector's input type.
chia-query = "0.2"
datalayer-driver = "3"
chia = "0.26"
chia-protocol = "0.26"
chia-sha2 = "0.26"
chia-sdk-coinset = "0.30"
# chip-0035 exposes the DataLayer driver primitives (Launcher::mint_datastore, etc.) so we
# can replicate chip35's mint with the digstore-scoped owner hint memo (datalayer_driver's
# mint_store hardcodes a single launcher hint and exposes no hint parameter).
# `offer-compression` decodes/encodes bech32 `offer1…` strings (chia_takeOffer); `chip-0035`
# exposes the DataLayer driver primitives.
chia-wallet-sdk = { version = "0.30", features = ["chip-0035", "offer-compression"] }
hex = "0.4"
hex-literal = "0.4"
indexmap = "2"
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros", "time"] }

[dev-dependencies]
tempfile = "3"
# Decode a built coin spend's conditions in the send tests (verify the payment output).
clvmr = "0.14"
clvm-traits = "0.26"
# Offer take-flow round-trip test: build a maker offer (NFT-for-DIG-CAT) and accept it
# end-to-end in the in-process Chia simulator, validating the assembled spend bundle.
chia-sdk-test = "0.30"
chia-puzzles = "0.20"
# #231 cost-bound proof: measure a batch's real CLVM cost via the Chia consensus cost model
# (`chia::consensus::run_spendbundle`, available through the `chia` crate's default `consensus`
# feature) against the canonical MAINNET_CONSTANTS, to assert the per-item cost estimate is
# conservative. clvmr is already a dev-dep (the single locked version the consensus crate uses).
chia-sdk-types = "0.30"
anyhow = "1"
[package]
name = "digstore-chain"
version.workspace = true
edition = "2021"
license.workspace = true

[dependencies]
# The canonical `Capsule` (storeId:rootHash) identity. Store discovery returns the
# current + historical capsules of a user's stores, so the return types speak in the
# one ecosystem-wide capsule type rather than re-inventing the pair.
digstore-core = { path = "../digstore-core" }
async-trait = "0.1"
bip39 = { version = "2", features = ["rand"] }
argon2 = "0.5"
aes-gcm = "0.10"
zeroize = { version = "1", features = ["zeroize_derive"] }
getrandom = "0.2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
thiserror = "1"
dirs = "5"
# Canonical coin-selection + consolidation primitive (coin-management epic #410, T0b).
# Provides the capped, high-value-first `select_for_spend`/`select_for_consolidation`
# used by the init/commit/deploy spend paths so ordering + the 50-coin cap +
# NeedsConsolidation are shared across the ecosystem (never hand-rolled — §4.1 /
# Appendix B). Git-pinned to v0.3.0; see the root `[patch]` for the dig-keystore seam.
dig-l1-wallet = { git = "https://github.com/DIG-Network/dig-l1-wallet", tag = "v0.3.0" }
# `select_for_spend` speaks in chia-query's `CoinRecord`; used to convert digstore's
# native `Coin`s into the selector's input type.
chia-query = "0.2"
datalayer-driver = "3"
chia = "0.26"
chia-protocol = "0.26"
chia-sha2 = "0.26"
chia-sdk-coinset = "0.30"
# chip-0035 exposes the DataLayer driver primitives (Launcher::mint_datastore, etc.) so we
# can replicate chip35's mint with the digstore-scoped owner hint memo (datalayer_driver's
# mint_store hardcodes a single launcher hint and exposes no hint parameter).
# `offer-compression` decodes/encodes bech32 `offer1…` strings (chia_takeOffer); `chip-0035`
# exposes the DataLayer driver primitives.
chia-wallet-sdk = { version = "0.30", features = ["chip-0035", "offer-compression"] }
hex = "0.4"
hex-literal = "0.4"
indexmap = "2"
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros", "time"] }
# Canonical `DIG_ASSET_ID` source (#969) — never a local hex-literal copy (Appendix B).
dig-constants = "0.5"

[dev-dependencies]
tempfile = "3"
# Decode a built coin spend's conditions in the send tests (verify the payment output).
clvmr = "0.14"
clvm-traits = "0.26"
# Offer take-flow round-trip test: build a maker offer (NFT-for-DIG-CAT) and accept it
# end-to-end in the in-process Chia simulator, validating the assembled spend bundle.
chia-sdk-test = "0.30"
chia-puzzles = "0.20"
# #231 cost-bound proof: measure a batch's real CLVM cost via the Chia consensus cost model
# (`chia::consensus::run_spendbundle`, available through the `chia` crate's default `consensus`
# feature) against the canonical MAINNET_CONSTANTS, to assert the per-item cost estimate is
# conservative. clvmr is already a dev-dep (the single locked version the consensus crate uses).
chia-sdk-types = "0.30"
anyhow = "1"
Loading
Loading