modified names with nym- prefix + fixed imports
This commit is contained in:
Generated
+287
-287
@@ -548,14 +548,6 @@ version = "1.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
||||
|
||||
[[package]]
|
||||
name = "autodoc"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"env_logger",
|
||||
"log",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "axum"
|
||||
version = "0.6.20"
|
||||
@@ -2406,15 +2398,6 @@ version = "1.0.19"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005"
|
||||
|
||||
[[package]]
|
||||
name = "easy-addr"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"cosmwasm-std",
|
||||
"quote",
|
||||
"syn 1.0.109",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ecdsa"
|
||||
version = "0.16.9"
|
||||
@@ -2430,31 +2413,6 @@ dependencies = [
|
||||
"spki",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "echo-server"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"bincode",
|
||||
"bytecodec",
|
||||
"bytes",
|
||||
"clap",
|
||||
"dashmap",
|
||||
"dirs",
|
||||
"futures",
|
||||
"nym-bin-common 1.6.0",
|
||||
"nym-crypto 1.6.0",
|
||||
"nym-sdk",
|
||||
"serde",
|
||||
"tempfile",
|
||||
"tokio",
|
||||
"tokio-stream",
|
||||
"tokio-util",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
"uuid",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ed25519"
|
||||
version = "2.2.3"
|
||||
@@ -2660,22 +2618,6 @@ dependencies = [
|
||||
"pin-project-lite",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "extension-storage"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"bip39",
|
||||
"console_error_panic_hook",
|
||||
"js-sys",
|
||||
"serde-wasm-bindgen 0.6.5",
|
||||
"thiserror 2.0.12",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
"wasm-storage",
|
||||
"wasm-utils",
|
||||
"zeroize",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "eyre"
|
||||
version = "0.6.12"
|
||||
@@ -4535,31 +4477,6 @@ dependencies = [
|
||||
"windows-sys 0.59.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "mix-fetch-wasm"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"futures",
|
||||
"js-sys",
|
||||
"nym-bin-common 1.6.0",
|
||||
"nym-http-api-client 1.6.0",
|
||||
"nym-ordered-buffer",
|
||||
"nym-service-providers-common",
|
||||
"nym-socks5-requests",
|
||||
"rand 0.8.5",
|
||||
"serde",
|
||||
"serde-wasm-bindgen 0.6.5",
|
||||
"thiserror 2.0.12",
|
||||
"tokio",
|
||||
"tsify",
|
||||
"url",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
"wasm-client-core",
|
||||
"wasm-utils",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "mixnet-connectivity-check"
|
||||
version = "1.6.0"
|
||||
@@ -5115,6 +5032,14 @@ dependencies = [
|
||||
"x25519-dalek",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-autodoc"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"env_logger",
|
||||
"log",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-bandwidth-controller"
|
||||
version = "1.6.0"
|
||||
@@ -5325,6 +5250,7 @@ dependencies = [
|
||||
"nym-task 1.6.0",
|
||||
"nym-topology 1.6.0",
|
||||
"nym-validator-client 1.6.0",
|
||||
"nym-wasm-utils",
|
||||
"rand 0.8.5",
|
||||
"rand_chacha 0.3.1",
|
||||
"serde",
|
||||
@@ -5342,7 +5268,6 @@ dependencies = [
|
||||
"url",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
"wasm-utils",
|
||||
"wasmtimer",
|
||||
"zeroize",
|
||||
]
|
||||
@@ -5388,9 +5313,9 @@ dependencies = [
|
||||
"dashmap",
|
||||
"nym-crypto 1.6.0",
|
||||
"nym-sphinx 1.6.0",
|
||||
"nym-sqlx-pool-guard",
|
||||
"nym-task 1.6.0",
|
||||
"sqlx",
|
||||
"sqlx-pool-guard",
|
||||
"thiserror 2.0.12",
|
||||
"time",
|
||||
"tokio",
|
||||
@@ -5407,6 +5332,8 @@ dependencies = [
|
||||
"nym-bin-common 1.6.0",
|
||||
"nym-node-tester-utils",
|
||||
"nym-node-tester-wasm",
|
||||
"nym-wasm-client-core",
|
||||
"nym-wasm-utils",
|
||||
"rand 0.8.5",
|
||||
"serde",
|
||||
"serde-wasm-bindgen 0.6.5",
|
||||
@@ -5416,8 +5343,6 @@ dependencies = [
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
"wasm-bindgen-test",
|
||||
"wasm-client-core",
|
||||
"wasm-utils",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -5671,9 +5596,9 @@ dependencies = [
|
||||
"nym-compact-ecash 1.6.0",
|
||||
"nym-credentials",
|
||||
"nym-ecash-time 1.6.0",
|
||||
"nym-sqlx-pool-guard",
|
||||
"serde",
|
||||
"sqlx",
|
||||
"sqlx-pool-guard",
|
||||
"thiserror 2.0.12",
|
||||
"tokio",
|
||||
"zeroize",
|
||||
@@ -5860,6 +5785,15 @@ dependencies = [
|
||||
"zeroize",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-easy-addr"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"cosmwasm-std",
|
||||
"quote",
|
||||
"syn 1.0.109",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-ecash-contract-common"
|
||||
version = "0.1.0"
|
||||
@@ -5904,6 +5838,31 @@ dependencies = [
|
||||
"time",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-echo-server"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"bincode",
|
||||
"bytecodec",
|
||||
"bytes",
|
||||
"clap",
|
||||
"dashmap",
|
||||
"dirs",
|
||||
"futures",
|
||||
"nym-bin-common 1.6.0",
|
||||
"nym-crypto 1.6.0",
|
||||
"nym-sdk",
|
||||
"serde",
|
||||
"tempfile",
|
||||
"tokio",
|
||||
"tokio-stream",
|
||||
"tokio-util",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
"uuid",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-execute"
|
||||
version = "1.6.0"
|
||||
@@ -5936,6 +5895,22 @@ dependencies = [
|
||||
"utoipa",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-extension-storage"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"bip39",
|
||||
"console_error_panic_hook",
|
||||
"js-sys",
|
||||
"nym-wasm-storage",
|
||||
"nym-wasm-utils",
|
||||
"serde-wasm-bindgen 0.6.5",
|
||||
"thiserror 2.0.12",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
"zeroize",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-ffi-shared"
|
||||
version = "1.6.0"
|
||||
@@ -6022,6 +5997,7 @@ dependencies = [
|
||||
"nym-statistics-common 1.6.0",
|
||||
"nym-task 1.6.0",
|
||||
"nym-validator-client 1.6.0",
|
||||
"nym-wasm-utils",
|
||||
"rand 0.8.5",
|
||||
"serde",
|
||||
"si-scale",
|
||||
@@ -6035,7 +6011,6 @@ dependencies = [
|
||||
"url",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
"wasm-utils",
|
||||
"wasmtimer",
|
||||
"zeroize",
|
||||
]
|
||||
@@ -6359,6 +6334,31 @@ dependencies = [
|
||||
"tracing",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-mix-fetch-wasm"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"futures",
|
||||
"js-sys",
|
||||
"nym-bin-common 1.6.0",
|
||||
"nym-http-api-client 1.6.0",
|
||||
"nym-ordered-buffer",
|
||||
"nym-service-providers-common",
|
||||
"nym-socks5-requests",
|
||||
"nym-wasm-client-core",
|
||||
"nym-wasm-utils",
|
||||
"rand 0.8.5",
|
||||
"serde",
|
||||
"serde-wasm-bindgen 0.6.5",
|
||||
"thiserror 2.0.12",
|
||||
"tokio",
|
||||
"tsify",
|
||||
"url",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-mixnet-client"
|
||||
version = "1.6.0"
|
||||
@@ -6833,13 +6833,13 @@ dependencies = [
|
||||
"nym-sphinx-params 1.6.0",
|
||||
"nym-task 1.6.0",
|
||||
"nym-topology 1.6.0",
|
||||
"nym-wasm-utils",
|
||||
"rand 0.8.5",
|
||||
"rand_chacha 0.3.1",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"thiserror 2.0.12",
|
||||
"tokio",
|
||||
"wasm-utils",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -6849,6 +6849,8 @@ dependencies = [
|
||||
"futures",
|
||||
"js-sys",
|
||||
"nym-node-tester-utils",
|
||||
"nym-wasm-client-core",
|
||||
"nym-wasm-utils",
|
||||
"rand 0.8.5",
|
||||
"serde",
|
||||
"serde-wasm-bindgen 0.6.5",
|
||||
@@ -6857,8 +6859,6 @@ dependencies = [
|
||||
"tsify",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
"wasm-client-core",
|
||||
"wasm-utils",
|
||||
"wasmtimer",
|
||||
]
|
||||
|
||||
@@ -6919,6 +6919,61 @@ dependencies = [
|
||||
"tokio",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-nyx-chain-watcher"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
"axum 0.7.9",
|
||||
"chrono",
|
||||
"clap",
|
||||
"nym-bin-common 1.6.0",
|
||||
"nym-config 1.6.0",
|
||||
"nym-network-defaults 1.6.0",
|
||||
"nym-nyxd-scraper",
|
||||
"nym-task 1.6.0",
|
||||
"nym-validator-client 1.6.0",
|
||||
"reqwest 0.12.22",
|
||||
"schemars 0.8.22",
|
||||
"serde",
|
||||
"sqlx",
|
||||
"thiserror 2.0.12",
|
||||
"time",
|
||||
"tokio",
|
||||
"tokio-util",
|
||||
"tower-http 0.5.2",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
"utoipa",
|
||||
"utoipa-swagger-ui",
|
||||
"utoipauto",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-nyxd-scraper"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"const_format",
|
||||
"cosmrs",
|
||||
"eyre",
|
||||
"futures",
|
||||
"humantime",
|
||||
"serde",
|
||||
"sha2 0.10.9",
|
||||
"sqlx",
|
||||
"tendermint",
|
||||
"tendermint-rpc",
|
||||
"thiserror 2.0.12",
|
||||
"time",
|
||||
"tokio",
|
||||
"tokio-stream",
|
||||
"tokio-util",
|
||||
"tracing",
|
||||
"url",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-ordered-buffer"
|
||||
version = "1.6.0"
|
||||
@@ -7540,6 +7595,19 @@ dependencies = [
|
||||
"thiserror 2.0.12",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-sqlx-pool-guard"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"proc_pidinfo",
|
||||
"sqlx",
|
||||
"tempfile",
|
||||
"tokio",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
"windows 0.61.3",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-statistics-api"
|
||||
version = "1.6.0"
|
||||
@@ -7729,6 +7797,7 @@ dependencies = [
|
||||
"nym-mixnet-contract-common 1.6.0",
|
||||
"nym-sphinx-addressing 1.6.0",
|
||||
"nym-sphinx-types 1.6.0",
|
||||
"nym-wasm-utils",
|
||||
"rand 0.8.5",
|
||||
"reqwest 0.12.22",
|
||||
"serde",
|
||||
@@ -7738,7 +7807,21 @@ dependencies = [
|
||||
"tracing",
|
||||
"tsify",
|
||||
"wasm-bindgen",
|
||||
"wasm-utils",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-ts-rs-cli"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"nym-api-requests 1.6.0",
|
||||
"nym-mixnet-contract-common 1.6.0",
|
||||
"nym-types",
|
||||
"nym-validator-client 1.6.0",
|
||||
"nym-vesting-contract-common 1.6.0",
|
||||
"nym-wallet-types",
|
||||
"ts-rs",
|
||||
"walkdir",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -7903,12 +7986,12 @@ dependencies = [
|
||||
"nym-crypto 1.6.0",
|
||||
"nym-ecash-time 1.6.0",
|
||||
"nym-network-defaults 1.6.0",
|
||||
"nym-nyxd-scraper",
|
||||
"nym-pemstore 1.6.0",
|
||||
"nym-serde-helpers 1.6.0",
|
||||
"nym-task 1.6.0",
|
||||
"nym-ticketbooks-merkle 1.6.0",
|
||||
"nym-validator-client 1.6.0",
|
||||
"nyxd-scraper",
|
||||
"rand 0.8.5",
|
||||
"rand_chacha 0.3.1",
|
||||
"serde",
|
||||
@@ -7984,6 +8067,7 @@ dependencies = [
|
||||
"nym-credentials-interface 1.6.0",
|
||||
"nym-crypto 1.6.0",
|
||||
"nym-ecash-time 1.6.0",
|
||||
"nym-wasm-utils",
|
||||
"serde",
|
||||
"serde-wasm-bindgen 0.6.5",
|
||||
"serde_json",
|
||||
@@ -7991,7 +8075,6 @@ dependencies = [
|
||||
"time",
|
||||
"tsify",
|
||||
"wasm-bindgen",
|
||||
"wasm-utils",
|
||||
"zeroize",
|
||||
]
|
||||
|
||||
@@ -8014,6 +8097,71 @@ dependencies = [
|
||||
"ts-rs",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-wasm-client-core"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"console_error_panic_hook",
|
||||
"js-sys",
|
||||
"nym-bandwidth-controller",
|
||||
"nym-client-core",
|
||||
"nym-config 1.6.0",
|
||||
"nym-credential-storage",
|
||||
"nym-crypto 1.6.0",
|
||||
"nym-gateway-client",
|
||||
"nym-sphinx 1.6.0",
|
||||
"nym-sphinx-acknowledgements 1.6.0",
|
||||
"nym-statistics-common 1.6.0",
|
||||
"nym-task 1.6.0",
|
||||
"nym-topology 1.6.0",
|
||||
"nym-validator-client 1.6.0",
|
||||
"nym-wasm-storage",
|
||||
"nym-wasm-utils",
|
||||
"rand 0.8.5",
|
||||
"serde",
|
||||
"serde-wasm-bindgen 0.6.5",
|
||||
"thiserror 2.0.12",
|
||||
"time",
|
||||
"tsify",
|
||||
"url",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
"zeroize",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-wasm-storage"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"getrandom 0.2.16",
|
||||
"indexed_db_futures",
|
||||
"js-sys",
|
||||
"nym-store-cipher",
|
||||
"nym-wasm-utils",
|
||||
"serde",
|
||||
"serde-wasm-bindgen 0.6.5",
|
||||
"thiserror 2.0.12",
|
||||
"wasm-bindgen",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-wasm-utils"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"console_error_panic_hook",
|
||||
"futures",
|
||||
"getrandom 0.2.16",
|
||||
"gloo-net",
|
||||
"gloo-utils 0.2.0",
|
||||
"js-sys",
|
||||
"tungstenite 0.20.1",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
"web-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-wireguard"
|
||||
version = "1.6.0"
|
||||
@@ -8073,6 +8221,50 @@ dependencies = [
|
||||
"x25519-dalek",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-zknym-lib"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
"bs58",
|
||||
"getrandom 0.2.16",
|
||||
"js-sys",
|
||||
"nym-bin-common 1.6.0",
|
||||
"nym-compact-ecash 1.6.0",
|
||||
"nym-credentials",
|
||||
"nym-crypto 1.6.0",
|
||||
"nym-http-api-client 1.6.0",
|
||||
"nym-wasm-utils",
|
||||
"rand 0.8.5",
|
||||
"reqwest 0.12.22",
|
||||
"serde",
|
||||
"thiserror 2.0.12",
|
||||
"tokio",
|
||||
"tsify",
|
||||
"uuid",
|
||||
"wasm-bindgen",
|
||||
"wasmtimer",
|
||||
"zeroize",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nym-zulip-client"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"itertools 0.14.0",
|
||||
"nym-bin-common 1.6.0",
|
||||
"nym-http-api-client 1.6.0",
|
||||
"reqwest 0.12.22",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"thiserror 2.0.12",
|
||||
"tokio",
|
||||
"tracing",
|
||||
"url",
|
||||
"zeroize",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nymvisor"
|
||||
version = "1.6.0"
|
||||
@@ -8103,61 +8295,6 @@ dependencies = [
|
||||
"url",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nyx-chain-watcher"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
"axum 0.7.9",
|
||||
"chrono",
|
||||
"clap",
|
||||
"nym-bin-common 1.6.0",
|
||||
"nym-config 1.6.0",
|
||||
"nym-network-defaults 1.6.0",
|
||||
"nym-task 1.6.0",
|
||||
"nym-validator-client 1.6.0",
|
||||
"nyxd-scraper",
|
||||
"reqwest 0.12.22",
|
||||
"schemars 0.8.22",
|
||||
"serde",
|
||||
"sqlx",
|
||||
"thiserror 2.0.12",
|
||||
"time",
|
||||
"tokio",
|
||||
"tokio-util",
|
||||
"tower-http 0.5.2",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
"utoipa",
|
||||
"utoipa-swagger-ui",
|
||||
"utoipauto",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nyxd-scraper"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"const_format",
|
||||
"cosmrs",
|
||||
"eyre",
|
||||
"futures",
|
||||
"humantime",
|
||||
"serde",
|
||||
"sha2 0.10.9",
|
||||
"sqlx",
|
||||
"tendermint",
|
||||
"tendermint-rpc",
|
||||
"thiserror 2.0.12",
|
||||
"time",
|
||||
"tokio",
|
||||
"tokio-stream",
|
||||
"tokio-util",
|
||||
"tracing",
|
||||
"url",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "object"
|
||||
version = "0.36.7"
|
||||
@@ -10456,19 +10593,6 @@ dependencies = [
|
||||
"whoami",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "sqlx-pool-guard"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"proc_pidinfo",
|
||||
"sqlx",
|
||||
"tempfile",
|
||||
"tokio",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
"windows 0.61.3",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "sqlx-postgres"
|
||||
version = "0.8.6"
|
||||
@@ -11596,21 +11720,6 @@ dependencies = [
|
||||
"ts-rs-macros",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ts-rs-cli"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"nym-api-requests 1.6.0",
|
||||
"nym-mixnet-contract-common 1.6.0",
|
||||
"nym-types",
|
||||
"nym-validator-client 1.6.0",
|
||||
"nym-vesting-contract-common 1.6.0",
|
||||
"nym-wallet-types",
|
||||
"ts-rs",
|
||||
"walkdir",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ts-rs-macros"
|
||||
version = "10.1.0"
|
||||
@@ -12269,55 +12378,6 @@ dependencies = [
|
||||
"syn 2.0.104",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wasm-client-core"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"console_error_panic_hook",
|
||||
"js-sys",
|
||||
"nym-bandwidth-controller",
|
||||
"nym-client-core",
|
||||
"nym-config 1.6.0",
|
||||
"nym-credential-storage",
|
||||
"nym-crypto 1.6.0",
|
||||
"nym-gateway-client",
|
||||
"nym-sphinx 1.6.0",
|
||||
"nym-sphinx-acknowledgements 1.6.0",
|
||||
"nym-statistics-common 1.6.0",
|
||||
"nym-task 1.6.0",
|
||||
"nym-topology 1.6.0",
|
||||
"nym-validator-client 1.6.0",
|
||||
"rand 0.8.5",
|
||||
"serde",
|
||||
"serde-wasm-bindgen 0.6.5",
|
||||
"thiserror 2.0.12",
|
||||
"time",
|
||||
"tsify",
|
||||
"url",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
"wasm-storage",
|
||||
"wasm-utils",
|
||||
"zeroize",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wasm-storage"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"getrandom 0.2.16",
|
||||
"indexed_db_futures",
|
||||
"js-sys",
|
||||
"nym-store-cipher",
|
||||
"serde",
|
||||
"serde-wasm-bindgen 0.6.5",
|
||||
"thiserror 2.0.12",
|
||||
"wasm-bindgen",
|
||||
"wasm-utils",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wasm-streams"
|
||||
version = "0.4.2"
|
||||
@@ -12331,22 +12391,6 @@ dependencies = [
|
||||
"web-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wasm-utils"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"console_error_panic_hook",
|
||||
"futures",
|
||||
"getrandom 0.2.16",
|
||||
"gloo-net",
|
||||
"gloo-utils 0.2.0",
|
||||
"js-sys",
|
||||
"tungstenite 0.20.1",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
"web-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wasmtimer"
|
||||
version = "0.4.2"
|
||||
@@ -13140,33 +13184,6 @@ dependencies = [
|
||||
"zopfli",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "zknym-lib"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
"bs58",
|
||||
"getrandom 0.2.16",
|
||||
"js-sys",
|
||||
"nym-bin-common 1.6.0",
|
||||
"nym-compact-ecash 1.6.0",
|
||||
"nym-credentials",
|
||||
"nym-crypto 1.6.0",
|
||||
"nym-http-api-client 1.6.0",
|
||||
"rand 0.8.5",
|
||||
"reqwest 0.12.22",
|
||||
"serde",
|
||||
"thiserror 2.0.12",
|
||||
"tokio",
|
||||
"tsify",
|
||||
"uuid",
|
||||
"wasm-bindgen",
|
||||
"wasm-utils",
|
||||
"wasmtimer",
|
||||
"zeroize",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "zopfli"
|
||||
version = "0.8.2"
|
||||
@@ -13206,20 +13223,3 @@ dependencies = [
|
||||
"cc",
|
||||
"pkg-config",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "zulip-client"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"itertools 0.14.0",
|
||||
"nym-bin-common 1.6.0",
|
||||
"nym-http-api-client 1.6.0",
|
||||
"reqwest 0.12.22",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"thiserror 2.0.12",
|
||||
"tokio",
|
||||
"tracing",
|
||||
"url",
|
||||
"zeroize",
|
||||
]
|
||||
|
||||
+1
-1
@@ -129,7 +129,7 @@ members = [
|
||||
"service-providers/common",
|
||||
"service-providers/ip-packet-router",
|
||||
"service-providers/network-requester",
|
||||
"sqlx-pool-guard",
|
||||
"nym-sqlx-pool-guard",
|
||||
"tools/echo-server",
|
||||
"tools/internal/contract-state-importer/importer-cli",
|
||||
"tools/internal/contract-state-importer/importer-contract",
|
||||
|
||||
@@ -104,7 +104,7 @@ features = ["tokio"]
|
||||
# version.workspace = true
|
||||
# features = ["futures"]
|
||||
|
||||
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-utils]
|
||||
[target."cfg(target_arch = \"wasm32\")".dependencies.nym-wasm-utils]
|
||||
path = "../wasm/utils"
|
||||
features = ["websocket"]
|
||||
|
||||
|
||||
@@ -26,8 +26,8 @@ workspace = true
|
||||
features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate", "time"]
|
||||
optional = true
|
||||
|
||||
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.sqlx-pool-guard]
|
||||
path = "../../../sqlx-pool-guard"
|
||||
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.nym-sqlx-pool-guard]
|
||||
path = "../../../nym-sqlx-pool-guard"
|
||||
|
||||
[build-dependencies]
|
||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
||||
|
||||
@@ -13,7 +13,7 @@ use std::path::Path;
|
||||
use time::OffsetDateTime;
|
||||
use tracing::{error, info};
|
||||
|
||||
use sqlx_pool_guard::SqlitePoolGuard;
|
||||
use nym_sqlx_pool_guard::SqlitePoolGuard;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct StorageManager {
|
||||
|
||||
@@ -61,7 +61,7 @@ workspace = true
|
||||
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures]
|
||||
workspace = true
|
||||
|
||||
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-utils]
|
||||
[target."cfg(target_arch = \"wasm32\")".dependencies.nym-wasm-utils]
|
||||
path = "../../wasm/utils"
|
||||
features = ["websocket"]
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "easy-addr"
|
||||
name = "nym-easy-addr"
|
||||
version.workspace = true
|
||||
edition = "2021"
|
||||
publish = false
|
||||
@@ -11,4 +11,4 @@ proc-macro = true
|
||||
[dependencies]
|
||||
cosmwasm-std = { workspace = true }
|
||||
quote = { workspace = true }
|
||||
syn = { workspace = true, features = ["full", "printing", "extra-traits"] }
|
||||
syn = { workspace = true, features = ["full", "printing", "extra-traits"] }
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
[package]
|
||||
name = "nym-group-contract-common"
|
||||
version.workspace = true
|
||||
edition = "2021"
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
cosmwasm-schema = { workspace = true }
|
||||
cw-controllers = { workspace = true }
|
||||
cw4 = { workspace = true }
|
||||
schemars = { workspace = true }
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
@@ -0,0 +1 @@
|
||||
pub mod msg;
|
||||
@@ -0,0 +1,50 @@
|
||||
use cosmwasm_schema::{cw_serde, QueryResponses};
|
||||
use cw4::Member;
|
||||
|
||||
#[cw_serde]
|
||||
pub struct InstantiateMsg {
|
||||
/// The admin is the only account that can update the group state.
|
||||
/// Omit it to make the group immutable.
|
||||
pub admin: Option<String>,
|
||||
pub members: Vec<Member>,
|
||||
}
|
||||
|
||||
#[cw_serde]
|
||||
pub enum ExecuteMsg {
|
||||
/// Change the admin
|
||||
UpdateAdmin { admin: Option<String> },
|
||||
/// apply a diff to the existing members.
|
||||
/// remove is applied after add, so if an address is in both, it is removed
|
||||
UpdateMembers {
|
||||
remove: Vec<String>,
|
||||
add: Vec<Member>,
|
||||
},
|
||||
/// Add a new hook to be informed of all membership changes. Must be called by Admin
|
||||
AddHook { addr: String },
|
||||
/// Remove a hook. Must be called by Admin
|
||||
RemoveHook { addr: String },
|
||||
}
|
||||
|
||||
#[cw_serde]
|
||||
#[derive(QueryResponses)]
|
||||
pub enum QueryMsg {
|
||||
#[returns(cw_controllers::AdminResponse)]
|
||||
Admin {},
|
||||
#[returns(cw4::TotalWeightResponse)]
|
||||
TotalWeight { at_height: Option<u64> },
|
||||
#[returns(cw4::MemberListResponse)]
|
||||
ListMembers {
|
||||
start_after: Option<String>,
|
||||
limit: Option<u32>,
|
||||
},
|
||||
#[returns(cw4::MemberResponse)]
|
||||
Member {
|
||||
addr: String,
|
||||
at_height: Option<u64>,
|
||||
},
|
||||
/// Shows all registered hooks.
|
||||
#[returns(cw_controllers::HooksResponse)]
|
||||
Hooks {},
|
||||
}
|
||||
#[cw_serde]
|
||||
pub struct MigrateMsg {}
|
||||
@@ -20,8 +20,8 @@ nym-credentials = { path = "../credentials" }
|
||||
nym-compact-ecash = { path = "../nym_offline_compact_ecash" }
|
||||
nym-ecash-time = { path = "../ecash-time" }
|
||||
|
||||
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.sqlx-pool-guard]
|
||||
path = "../../sqlx-pool-guard"
|
||||
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.nym-sqlx-pool-guard]
|
||||
path = "../../nym-sqlx-pool-guard"
|
||||
|
||||
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.sqlx]
|
||||
workspace = true
|
||||
|
||||
@@ -6,8 +6,8 @@ use crate::models::{
|
||||
RawVerificationKey, StoredIssuedTicketbook, StoredPendingTicketbook,
|
||||
};
|
||||
use nym_ecash_time::Date;
|
||||
use nym_sqlx_pool_guard::SqlitePoolGuard;
|
||||
use sqlx::{Executor, Sqlite, Transaction};
|
||||
use sqlx_pool_guard::SqlitePoolGuard;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct SqliteEcashTicketbookManager {
|
||||
|
||||
@@ -33,11 +33,11 @@ use nym_credentials::{
|
||||
IssuanceTicketBook, IssuedTicketBook,
|
||||
};
|
||||
use nym_ecash_time::{ecash_today, Date, EcashTime};
|
||||
use nym_sqlx_pool_guard::SqlitePoolGuard;
|
||||
use sqlx::{
|
||||
sqlite::{SqliteAutoVacuum, SqliteSynchronous},
|
||||
ConnectOptions,
|
||||
};
|
||||
use sqlx_pool_guard::SqlitePoolGuard;
|
||||
use std::path::Path;
|
||||
use zeroize::Zeroizing;
|
||||
|
||||
|
||||
@@ -12,7 +12,12 @@ bitvec = { workspace = true }
|
||||
|
||||
# unfortunately until https://github.com/zkcrypto/bls12_381/issues/10 is resolved, we have to rely on the fork
|
||||
# as we need to be able to serialize Gt so that we could create the lookup table for baby-step-giant-step algorithm
|
||||
bls12_381 = { workspace = true, default-features = false, features = ["alloc", "pairings", "experimental", "zeroize"] }
|
||||
bls12_381 = { workspace = true, default-features = false, features = [
|
||||
"alloc",
|
||||
"pairings",
|
||||
"experimental",
|
||||
"zeroize",
|
||||
] }
|
||||
nym-contracts-common = { path = "../cosmwasm-smart-contracts/contracts-common", optional = true }
|
||||
bs58 = { workspace = true }
|
||||
|
||||
|
||||
@@ -28,5 +28,5 @@ nym-sphinx = { path = "../nymsphinx" }
|
||||
workspace = true
|
||||
|
||||
## wasm-only dependencies
|
||||
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-utils]
|
||||
[target."cfg(target_arch = \"wasm32\")".dependencies.nym-wasm-utils]
|
||||
path = "../wasm/utils"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "nyxd-scraper"
|
||||
name = "nym-nyxd-scraper"
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
repository.workspace = true
|
||||
@@ -19,9 +19,18 @@ futures.workspace = true
|
||||
humantime = { workspace = true }
|
||||
sha2 = { workspace = true }
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
sqlx = { workspace = true, features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate", "time"] }
|
||||
sqlx = { workspace = true, features = [
|
||||
"runtime-tokio-rustls",
|
||||
"sqlite",
|
||||
"macros",
|
||||
"migrate",
|
||||
"time",
|
||||
] }
|
||||
tendermint.workspace = true
|
||||
tendermint-rpc = { workspace = true, features = ["websocket-client", "http-client"] }
|
||||
tendermint-rpc = { workspace = true, features = [
|
||||
"websocket-client",
|
||||
"http-client",
|
||||
] }
|
||||
thiserror.workspace = true
|
||||
time = { workspace = true }
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
@@ -36,5 +45,10 @@ url.workspace = true
|
||||
|
||||
|
||||
[build-dependencies]
|
||||
sqlx = { workspace = true, features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate"] }
|
||||
sqlx = { workspace = true, features = [
|
||||
"runtime-tokio-rustls",
|
||||
"sqlite",
|
||||
"macros",
|
||||
"migrate",
|
||||
] }
|
||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
||||
|
||||
@@ -41,11 +41,11 @@ nym-api-requests = { path = "../../nym-api/nym-api-requests" }
|
||||
|
||||
|
||||
# 'wasm-serde-types' feature
|
||||
wasm-utils = { path = "../wasm/utils", default-features = false, optional = true }
|
||||
nym-wasm-utils = { path = "../wasm/utils", default-features = false, optional = true }
|
||||
|
||||
[features]
|
||||
default = ["provider-trait"]
|
||||
provider-trait = ["async-trait"]
|
||||
wasm-serde-types = ["tsify", "wasm-bindgen", "wasm-utils"]
|
||||
wasm-serde-types = ["tsify", "wasm-bindgen", "nym-wasm-utils"]
|
||||
persistence = ["serde_json"]
|
||||
outfox = []
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
use crate::node::{EntryDetails, RoutingNode, RoutingNodeError, SupportedRoles};
|
||||
use crate::{CachedEpochRewardedSet, NymTopology, NymTopologyMetadata};
|
||||
use nym_wasm_utils::error::simple_js_error;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::collections::HashMap;
|
||||
use std::net::SocketAddr;
|
||||
use thiserror::Error;
|
||||
use tsify::Tsify;
|
||||
use wasm_bindgen::{prelude::wasm_bindgen, JsValue};
|
||||
use wasm_utils::error::simple_js_error;
|
||||
|
||||
#[derive(Debug, Error)]
|
||||
pub enum SerializableTopologyError {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "wasm-client-core"
|
||||
name = "nym-wasm-client-core"
|
||||
authors = ["Jedrzej Stuczynski <andrew@nymtech.net>"]
|
||||
version.workspace = true
|
||||
edition = "2021"
|
||||
@@ -23,19 +23,25 @@ wasm-bindgen-futures = { workspace = true }
|
||||
zeroize = { workspace = true }
|
||||
|
||||
nym-bandwidth-controller = { path = "../../bandwidth-controller" }
|
||||
nym-client-core = { path = "../../client-core", default-features = false, features = ["wasm"] }
|
||||
nym-client-core = { path = "../../client-core", default-features = false, features = [
|
||||
"wasm",
|
||||
] }
|
||||
nym-config = { path = "../../config" }
|
||||
nym-credential-storage = { path = "../../credential-storage" }
|
||||
nym-crypto = { path = "../../crypto", features = ["asymmetric", "serde"] }
|
||||
nym-gateway-client = { path = "../../client-libs/gateway-client", default-features = false, features = ["wasm"] }
|
||||
nym-gateway-client = { path = "../../client-libs/gateway-client", default-features = false, features = [
|
||||
"wasm",
|
||||
] }
|
||||
nym-sphinx = { path = "../../nymsphinx" }
|
||||
nym-sphinx-acknowledgements = { path = "../../nymsphinx/acknowledgements", features = ["serde"] }
|
||||
nym-sphinx-acknowledgements = { path = "../../nymsphinx/acknowledgements", features = [
|
||||
"serde",
|
||||
] }
|
||||
nym-statistics-common = { path = "../../statistics" }
|
||||
nym-task = { path = "../../task" }
|
||||
nym-topology = { path = "../../topology", features = ["wasm-serde-types"] }
|
||||
nym-validator-client = { path = "../../client-libs/validator-client", default-features = false }
|
||||
wasm-utils = { path = "../utils" }
|
||||
wasm-storage = { path = "../storage" }
|
||||
nym-wasm-utils = { path = "../utils" }
|
||||
nym-wasm-storage = { path = "../storage" }
|
||||
|
||||
|
||||
# The `console_error_panic_hook` crate provides better debugging of panics by
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "wasm-storage"
|
||||
name = "nym-wasm-storage"
|
||||
version.workspace = true
|
||||
authors = ["Jedrzej Stuczynski <andrew@nymtech.net>"]
|
||||
edition = "2021"
|
||||
@@ -18,4 +18,4 @@ indexed_db_futures = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
|
||||
nym-store-cipher = { path = "../../store-cipher", features = ["json"] }
|
||||
wasm-utils = { path = "../utils", default-features = false }
|
||||
nym-wasm-utils = { path = "../utils", default-features = false }
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// Copyright 2023 - Nym Technologies SA <contact@nymtech.net>
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
use nym_wasm_utils::error::simple_js_error;
|
||||
use serde_wasm_bindgen::Error;
|
||||
use thiserror::Error;
|
||||
use wasm_bindgen::JsValue;
|
||||
use wasm_utils::error::simple_js_error;
|
||||
|
||||
#[derive(Debug, Error)]
|
||||
pub enum StorageError {
|
||||
|
||||
@@ -8,11 +8,11 @@ use nym_store_cipher::{
|
||||
Aes256Gcm, Algorithm, EncryptedData, KdfInfo, KeySizeUser, Params, StoreCipher, Unsigned,
|
||||
Version,
|
||||
};
|
||||
use nym_wasm_utils::console_log;
|
||||
use serde::de::DeserializeOwned;
|
||||
use serde::Serialize;
|
||||
use std::future::IntoFuture;
|
||||
use wasm_bindgen::JsValue;
|
||||
use wasm_utils::console_log;
|
||||
|
||||
pub use indexed_db_futures::database::{Database, VersionChangeEvent};
|
||||
pub use indexed_db_futures::prelude::*;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "wasm-utils"
|
||||
name = "nym-wasm-utils"
|
||||
version.workspace = true
|
||||
authors = ["Jedrzej Stuczynski <andrew@nymtech.net>"]
|
||||
edition = "2021"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "zulip-client"
|
||||
name = "nym-zulip-client"
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
repository.workspace = true
|
||||
|
||||
@@ -22,7 +22,7 @@ name = "schema"
|
||||
required-features = ["schema-gen"]
|
||||
|
||||
[lib]
|
||||
name = "mixnet_contract"
|
||||
name = "nym_mixnet_contract"
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[dependencies]
|
||||
@@ -60,4 +60,4 @@ testable-mixnet-contract = ["nym-contracts-common-testing"]
|
||||
schema-gen = ["mixnet-contract-common/schema", "cosmwasm-schema"]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
workspace = true
|
||||
|
||||
@@ -20,9 +20,8 @@ name = "schema"
|
||||
required-features = ["schema-gen"]
|
||||
|
||||
[lib]
|
||||
name = "vesting_contract"
|
||||
name = "nym_vesting_contract"
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[dependencies]
|
||||
mixnet-contract-common = { path = "../../common/cosmwasm-smart-contracts/mixnet-contract", package = "nym-mixnet-contract-common", version = "0.6.0" }
|
||||
contracts-common = { path = "../../common/cosmwasm-smart-contracts/contracts-common", package = "nym-contracts-common", version = "0.5.0" }
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "cpu-cycles"
|
||||
name = "nym-cpu-cycles"
|
||||
version.workspace = true
|
||||
edition = "2021"
|
||||
build = "build.rs"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "autodoc"
|
||||
name = "nym-autodoc"
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
repository.workspace = true
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "example-verify-signature"
|
||||
name = "nym-example-verify-signature"
|
||||
version.workspace = true
|
||||
edition = "2021"
|
||||
|
||||
[workspace]
|
||||
|
||||
[dependencies]
|
||||
nym-cli-commands = { git = "https://github.com/nymtech/nym", branch = "develop" }
|
||||
nym-cli-commands = { git = "https://github.com/nymtech/nym", branch = "develop" }
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "extension-storage"
|
||||
name = "nym-extension-storage"
|
||||
version.workspace = true
|
||||
edition = "2024"
|
||||
license = "Apache-2.0"
|
||||
@@ -13,20 +13,20 @@ authors = ["Nym Technologies SA <contact@nymtech.net>"]
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[dependencies]
|
||||
bip39 = { workspace = true }
|
||||
zeroize = { workspace = true }
|
||||
bip39 = { workspace = true }
|
||||
zeroize = { workspace = true }
|
||||
|
||||
js-sys = { workspace = true }
|
||||
wasm-bindgen = { workspace = true }
|
||||
wasm-bindgen-futures = { workspace = true }
|
||||
js-sys = { workspace = true }
|
||||
wasm-bindgen = { workspace = true }
|
||||
wasm-bindgen-futures = { workspace = true }
|
||||
serde-wasm-bindgen = { workspace = true }
|
||||
|
||||
thiserror = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
|
||||
console_error_panic_hook = { workspace = true, optional = true }
|
||||
console_error_panic_hook = { workspace = true, optional = true }
|
||||
|
||||
wasm-utils = { path = "../../common/wasm/utils" }
|
||||
wasm-storage = { path = "../../common/wasm/storage" }
|
||||
nym-wasm-utils = { path = "../../common/wasm/utils" }
|
||||
nym-wasm-storage = { path = "../../common/wasm/storage" }
|
||||
|
||||
|
||||
#[package.metadata.wasm-pack.profile.release]
|
||||
|
||||
@@ -33,6 +33,7 @@ nym-compact-ecash = { path = "../../common/nym_offline_compact_ecash" }
|
||||
nym-credentials = { path = "../../common/credentials" }
|
||||
nym-credentials-interface = { path = "../../common/credentials-interface" }
|
||||
nym-ecash-time = { path = "../../common/ecash-time", features = ["expiration"] }
|
||||
nym-credential-proxy-requests = { path = "../nym-credential-proxy-requests", default-features = false, features = ["tsify"] }
|
||||
wasm-utils = { path = "../../common/wasm/utils" }
|
||||
|
||||
nym-credential-proxy-requests = { path = "../nym-credential-proxy-requests", default-features = false, features = [
|
||||
"tsify",
|
||||
] }
|
||||
nym-wasm-utils = { path = "../../common/wasm/utils" }
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// Copyright 2024 Nym Technologies SA <contact@nymtech.net>
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
use nym_wasm_utils::wasm_error;
|
||||
use serde_wasm_bindgen::Error;
|
||||
use thiserror::Error;
|
||||
use wasm_utils::wasm_error;
|
||||
|
||||
#[derive(Debug, Error)]
|
||||
pub enum VpnApiLibError {
|
||||
|
||||
@@ -19,12 +19,12 @@ use nym_credentials::{
|
||||
use nym_credentials_interface::TicketType;
|
||||
use nym_crypto::asymmetric::ed25519;
|
||||
use nym_ecash_time::{ecash_default_expiration_date, EcashTime};
|
||||
use nym_wasm_utils::console_error;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::collections::HashMap;
|
||||
use time::Date;
|
||||
use tsify::Tsify;
|
||||
use wasm_bindgen::prelude::*;
|
||||
use wasm_utils::console_error;
|
||||
use zeroize::Zeroizing;
|
||||
|
||||
pub mod error;
|
||||
@@ -264,11 +264,11 @@ pub struct FullSerialisedNymIssuedTicketbook {
|
||||
|
||||
#[wasm_bindgen(start)]
|
||||
pub fn main() {
|
||||
wasm_utils::console_log!("[rust main]: rust module loaded");
|
||||
wasm_utils::console_log!(
|
||||
nym_wasm_utils::console_log!("[rust main]: rust module loaded");
|
||||
nym_wasm_utils::console_log!(
|
||||
"vpn-api-lib version used:\n{}",
|
||||
nym_bin_common::bin_info!().pretty_print()
|
||||
);
|
||||
wasm_utils::console_log!("[rust main]: setting panic hook");
|
||||
wasm_utils::set_panic_hook();
|
||||
nym_wasm_utils::console_log!("[rust main]: setting panic hook");
|
||||
nym_wasm_utils::set_panic_hook();
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "sqlx-pool-guard"
|
||||
name = "nym-sqlx-pool-guard"
|
||||
version.workspace = true
|
||||
edition = "2024"
|
||||
license.workspace = true
|
||||
@@ -18,7 +18,13 @@ clap = { workspace = true, features = ["cargo", "env"] }
|
||||
futures.workspace = true
|
||||
rand.workspace = true
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
sqlx = { workspace = true, features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate", "time"] }
|
||||
sqlx = { workspace = true, features = [
|
||||
"runtime-tokio-rustls",
|
||||
"sqlite",
|
||||
"macros",
|
||||
"migrate",
|
||||
"time",
|
||||
] }
|
||||
thiserror.workspace = true
|
||||
tokio = { workspace = true, features = ["rt-multi-thread", "time", "macros"] }
|
||||
tracing.workspace = true
|
||||
@@ -32,7 +38,10 @@ humantime = { workspace = true }
|
||||
humantime-serde.workspace = true
|
||||
|
||||
# internal
|
||||
nym-bin-common = { path = "../common/bin-common", features = ["output_format", "basic_tracing"] }
|
||||
nym-bin-common = { path = "../common/bin-common", features = [
|
||||
"output_format",
|
||||
"basic_tracing",
|
||||
] }
|
||||
nym-config = { path = "../common/config" }
|
||||
nym-ecash-time = { path = "../common/ecash-time" }
|
||||
nym-contracts-common = { path = "../common/cosmwasm-smart-contracts/contracts-common" }
|
||||
@@ -43,13 +52,18 @@ nym-network-defaults = { path = "../common/network-defaults" }
|
||||
nym-task = { path = "../common/task" }
|
||||
nym-validator-client = { path = "../common/client-libs/validator-client" }
|
||||
nym-coconut-dkg-common = { path = "../common/cosmwasm-smart-contracts/coconut-dkg" }
|
||||
nyxd-scraper = { path = "../common/nyxd-scraper" }
|
||||
nym-nyxd-scraper = { path = "../common/nyxd-scraper" }
|
||||
nym-ticketbooks-merkle = { path = "../common/ticketbooks-merkle" }
|
||||
nym-serde-helpers = { path = "../common/serde-helpers", features = ["base64"] }
|
||||
nym-pemstore = { path = "../common/pemstore" }
|
||||
|
||||
[build-dependencies]
|
||||
sqlx = { workspace = true, features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate"] }
|
||||
sqlx = { workspace = true, features = [
|
||||
"runtime-tokio-rustls",
|
||||
"sqlite",
|
||||
"macros",
|
||||
"migrate",
|
||||
] }
|
||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
use crate::cli::{try_load_current_config, ConfigOverridableArgs};
|
||||
use crate::error::NymRewarderError;
|
||||
use nyxd_scraper::NyxdScraper;
|
||||
use nym_nyxd_scraper::NyxdScraper;
|
||||
use std::path::PathBuf;
|
||||
|
||||
#[derive(Debug, clap::Args)]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
use crate::cli::{try_load_current_config, ConfigOverridableArgs};
|
||||
use crate::error::NymRewarderError;
|
||||
use nyxd_scraper::NyxdScraper;
|
||||
use nym_nyxd_scraper::NyxdScraper;
|
||||
use std::path::PathBuf;
|
||||
|
||||
#[derive(Debug, clap::Args)]
|
||||
|
||||
@@ -11,8 +11,8 @@ use nym_config::{
|
||||
must_get_home, read_config_from_toml_file, save_formatted_config_to_file, NymConfigTemplate,
|
||||
DEFAULT_CONFIG_DIR, DEFAULT_CONFIG_FILENAME, DEFAULT_DATA_DIR, NYM_DIR,
|
||||
};
|
||||
use nym_nyxd_scraper::{PruningOptions, StartingBlockOpts};
|
||||
use nym_validator_client::nyxd::{AccountId, Coin};
|
||||
use nyxd_scraper::{PruningOptions, StartingBlockOpts};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_with::{serde_as, DisplayFromStr};
|
||||
use std::io;
|
||||
@@ -119,8 +119,8 @@ impl Config {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn scraper_config(&self) -> nyxd_scraper::Config {
|
||||
nyxd_scraper::Config {
|
||||
pub fn scraper_config(&self) -> nym_nyxd_scraper::Config {
|
||||
nym_nyxd_scraper::Config {
|
||||
websocket_url: self.nyxd_scraper.websocket_url.clone(),
|
||||
rpc_url: self.base.upstream_nyxd.clone(),
|
||||
database_path: self.storage_paths.nyxd_scraper.clone(),
|
||||
|
||||
@@ -78,7 +78,7 @@ pub enum NymRewarderError {
|
||||
#[error("chain scraping failure: {source}")]
|
||||
ScraperFailure {
|
||||
#[from]
|
||||
source: nyxd_scraper::error::ScraperError,
|
||||
source: nym_nyxd_scraper::error::ScraperError,
|
||||
},
|
||||
|
||||
// this should never happen but unwrapping everywhere was more cumbersome than just propagating the error
|
||||
|
||||
@@ -5,9 +5,9 @@ use crate::error::NymRewarderError;
|
||||
use crate::rewarder::block_signing::types::{EpochSigningResults, RawValidatorResult};
|
||||
use crate::rewarder::epoch::Epoch;
|
||||
use crate::rewarder::nyxd_client::NyxdClient;
|
||||
use nym_nyxd_scraper::NyxdScraper;
|
||||
use nym_validator_client::nyxd::module_traits::staking;
|
||||
use nym_validator_client::nyxd::{AccountId, PageRequest};
|
||||
use nyxd_scraper::NyxdScraper;
|
||||
use std::cmp::min;
|
||||
use std::collections::HashMap;
|
||||
use std::ops::Range;
|
||||
|
||||
@@ -6,8 +6,8 @@ use crate::{
|
||||
rewarder::helpers::{consensus_pubkey_to_address, operator_account_to_owner_account},
|
||||
};
|
||||
use cosmwasm_std::{Decimal, Uint128};
|
||||
use nym_nyxd_scraper::models;
|
||||
use nym_validator_client::nyxd::{module_traits::staking, AccountId, Coin};
|
||||
use nyxd_scraper::models;
|
||||
use std::collections::HashMap;
|
||||
use tracing::info;
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
use crate::error::NymRewarderError;
|
||||
use nym_nyxd_scraper::constants::{BECH32_CONSENSUS_ADDRESS_PREFIX, BECH32_PREFIX};
|
||||
use nym_validator_client::nyxd::{AccountId, PublicKey};
|
||||
use nyxd_scraper::constants::{BECH32_CONSENSUS_ADDRESS_PREFIX, BECH32_PREFIX};
|
||||
use sha2::{Digest, Sha256};
|
||||
|
||||
pub(crate) fn consensus_pubkey_to_address(
|
||||
|
||||
@@ -14,9 +14,9 @@ use futures::future::{FusedFuture, OptionFuture};
|
||||
use futures::FutureExt;
|
||||
use nym_crypto::asymmetric::ed25519;
|
||||
use nym_ecash_time::{ecash_today, ecash_today_date, EcashTime};
|
||||
use nym_nyxd_scraper::NyxdScraper;
|
||||
use nym_task::TaskManager;
|
||||
use nym_validator_client::nyxd::{AccountId, Coin, Hash};
|
||||
use nyxd_scraper::NyxdScraper;
|
||||
use std::sync::Arc;
|
||||
use time::Date;
|
||||
use tokio::pin;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
[package]
|
||||
name = "nyx-chain-watcher"
|
||||
name = "nym-nyx-chain-watcher"
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
repository.workspace = true
|
||||
@@ -24,11 +24,15 @@ nym-bin-common = { path = "../common/bin-common", features = ["output_format"] }
|
||||
nym-network-defaults = { path = "../common/network-defaults" }
|
||||
nym-task = { path = "../common/task" }
|
||||
nym-validator-client = { path = "../common/client-libs/validator-client" }
|
||||
nyxd-scraper = { path = "../common/nyxd-scraper" }
|
||||
nym-nyxd-scraper = { path = "../common/nyxd-scraper" }
|
||||
reqwest = { workspace = true, features = ["rustls-tls"] }
|
||||
schemars = { workspace = true }
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
sqlx = { workspace = true, features = ["runtime-tokio-rustls", "sqlite", "time"] }
|
||||
sqlx = { workspace = true, features = [
|
||||
"runtime-tokio-rustls",
|
||||
"sqlite",
|
||||
"time",
|
||||
] }
|
||||
thiserror = { workspace = true }
|
||||
time = { workspace = true }
|
||||
tokio = { workspace = true, features = ["process", "rt-multi-thread"] }
|
||||
|
||||
@@ -5,11 +5,11 @@ use crate::env::vars::{
|
||||
};
|
||||
use crate::http::state::BankScraperModuleState;
|
||||
use async_trait::async_trait;
|
||||
use nym_validator_client::nyxd::{Any, Coin, CosmosCoin, Hash, Msg, MsgSend, Name};
|
||||
use nyxd_scraper::{
|
||||
use nym_nyxd_scraper::{
|
||||
error::ScraperError, storage::StorageTransaction, MsgModule, NyxdScraper,
|
||||
ParsedTransactionResponse, PruningOptions,
|
||||
};
|
||||
use nym_validator_client::nyxd::{Any, Coin, CosmosCoin, Hash, Msg, MsgSend, Name};
|
||||
use sqlx::SqlitePool;
|
||||
use std::fs;
|
||||
use tracing::{info, warn};
|
||||
@@ -50,13 +50,13 @@ pub(crate) async fn run_chain_scraper(
|
||||
fs::remove_file(config.chain_scraper_database_path())?;
|
||||
}
|
||||
|
||||
let scraper = NyxdScraper::builder(nyxd_scraper::Config {
|
||||
let scraper = NyxdScraper::builder(nym_nyxd_scraper::Config {
|
||||
websocket_url,
|
||||
rpc_url,
|
||||
database_path: config.chain_scraper_database_path().into(),
|
||||
pruning_options: PruningOptions::nothing(),
|
||||
store_precommits: false,
|
||||
start_block: nyxd_scraper::StartingBlockOpts {
|
||||
start_block: nym_nyxd_scraper::StartingBlockOpts {
|
||||
start_block_height,
|
||||
use_best_effort_start_height,
|
||||
},
|
||||
|
||||
@@ -6,8 +6,8 @@ use crate::models::WebhookPayload;
|
||||
use axum::extract::FromRef;
|
||||
use nym_bin_common::bin_info;
|
||||
use nym_bin_common::build_information::BinaryBuildInformation;
|
||||
use nym_nyxd_scraper::ParsedTransactionResponse;
|
||||
use nym_validator_client::nyxd::{Coin, MsgSend};
|
||||
use nyxd_scraper::ParsedTransactionResponse;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::collections::HashMap;
|
||||
use std::ops::Deref;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "echo-server"
|
||||
name = "nym-echo-server"
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
repository.workspace = true
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
use anyhow::Result;
|
||||
use clap::Parser;
|
||||
use echo_server::NymEchoServer;
|
||||
use nym_crypto::asymmetric::ed25519;
|
||||
use nym_echo_server::NymEchoServer;
|
||||
use tracing::info;
|
||||
|
||||
#[derive(Parser, Debug)]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "ts-rs-cli"
|
||||
name = "nym-ts-rs-cli"
|
||||
version.workspace = true
|
||||
edition = "2021"
|
||||
license.workspace = true
|
||||
@@ -12,10 +12,18 @@ ts-rs = { workspace = true }
|
||||
walkdir = { workspace = true }
|
||||
|
||||
nym-validator-client = { path = "../../common/client-libs/validator-client", features = [
|
||||
"generate-ts"
|
||||
"generate-ts",
|
||||
] }
|
||||
nym-api-requests = { path = "../../nym-api/nym-api-requests", features = [
|
||||
"generate-ts",
|
||||
] }
|
||||
nym-mixnet-contract-common = { path = "../../common/cosmwasm-smart-contracts/mixnet-contract", features = [
|
||||
"generate-ts",
|
||||
] }
|
||||
nym-vesting-contract-common = { path = "../../common/cosmwasm-smart-contracts/vesting-contract", features = [
|
||||
"generate-ts",
|
||||
] }
|
||||
nym-api-requests = { path = "../../nym-api/nym-api-requests", features = ["generate-ts"] }
|
||||
nym-mixnet-contract-common = { path = "../../common/cosmwasm-smart-contracts/mixnet-contract", features = ["generate-ts"] }
|
||||
nym-vesting-contract-common = { path = "../../common/cosmwasm-smart-contracts/vesting-contract", features = ["generate-ts"] }
|
||||
nym-types = { path = "../../common/types", features = ["generate-ts"] }
|
||||
nym-wallet-types = { path = "../../nym-wallet/nym-wallet-types", features = ["generate-ts"] }
|
||||
nym-wallet-types = { path = "../../nym-wallet/nym-wallet-types", features = [
|
||||
"generate-ts",
|
||||
] }
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
[package]
|
||||
name = "nym-client-wasm"
|
||||
authors = ["Dave Hrycyszyn <futurechimp@users.noreply.github.com>", "Jedrzej Stuczynski <andrew@nymtech.net>"]
|
||||
authors = [
|
||||
"Dave Hrycyszyn <futurechimp@users.noreply.github.com>",
|
||||
"Jedrzej Stuczynski <andrew@nymtech.net>",
|
||||
]
|
||||
version.workspace = true
|
||||
edition = "2021"
|
||||
keywords = ["nym", "sphinx", "wasm", "webassembly", "privacy"]
|
||||
@@ -26,8 +29,8 @@ thiserror = { workspace = true }
|
||||
tsify = { workspace = true, features = ["js"] }
|
||||
|
||||
nym-bin-common = { path = "../../common/bin-common" }
|
||||
wasm-client-core = { path = "../../common/wasm/client-core" }
|
||||
wasm-utils = { path = "../../common/wasm/utils" }
|
||||
nym-wasm-client-core = { path = "../../common/wasm/client-core" }
|
||||
nym-wasm-utils = { path = "../../common/wasm/utils" }
|
||||
|
||||
nym-node-tester-utils = { path = "../../common/node-tester-utils", optional = true }
|
||||
nym-node-tester-wasm = { path = "../node-tester", optional = true }
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "mix-fetch-wasm"
|
||||
name = "nym-mix-fetch-wasm"
|
||||
authors = ["Jedrzej Stuczynski <andrew@nymtech.net>"]
|
||||
version.workspace = true
|
||||
edition = "2021"
|
||||
@@ -32,8 +32,8 @@ nym-http-api-client = { path = "../../common/http-api-client" }
|
||||
nym-socks5-requests = { path = "../../common/socks5/requests" }
|
||||
nym-ordered-buffer = { path = "../../common/socks5/ordered-buffer" }
|
||||
nym-service-providers-common = { path = "../../service-providers/common" }
|
||||
wasm-client-core = { path = "../../common/wasm/client-core" }
|
||||
wasm-utils = { path = "../../common/wasm/utils" }
|
||||
nym-wasm-client-core = { path = "../../common/wasm/client-core" }
|
||||
nym-wasm-utils = { path = "../../common/wasm/utils" }
|
||||
|
||||
[package.metadata.wasm-pack.profile.release]
|
||||
wasm-opt = false
|
||||
|
||||
@@ -28,8 +28,8 @@ tsify = { workspace = true, features = ["js"] }
|
||||
wasmtimer = { workspace = true }
|
||||
|
||||
nym-node-tester-utils = { path = "../../common/node-tester-utils" }
|
||||
wasm-client-core = { path = "../../common/wasm/client-core" }
|
||||
wasm-utils = { path = "../../common/wasm/utils" }
|
||||
nym-wasm-client-core = { path = "../../common/wasm/client-core" }
|
||||
nym-wasm-utils = { path = "../../common/wasm/utils" }
|
||||
|
||||
[package.metadata.wasm-pack.profile.release]
|
||||
wasm-opt = false
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "zknym-lib"
|
||||
name = "nym-zknym-lib"
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
repository.workspace = true
|
||||
@@ -35,7 +35,7 @@ nym-compact-ecash = { path = "../../common/nym_offline_compact_ecash" }
|
||||
nym-credentials = { path = "../../common/credentials" }
|
||||
nym-crypto = { path = "../../common/crypto", features = ["asymmetric", "rand"] }
|
||||
nym-http-api-client = { path = "../../common/http-api-client" }
|
||||
wasm-utils = { path = "../../common/wasm/utils" }
|
||||
nym-wasm-utils = { path = "../../common/wasm/utils" }
|
||||
|
||||
[dev-dependencies]
|
||||
anyhow = { workspace = true }
|
||||
@@ -43,4 +43,4 @@ tokio = { workspace = true, features = ["full"] }
|
||||
|
||||
|
||||
[package.metadata.wasm-pack.profile.release]
|
||||
wasm-opt = false
|
||||
wasm-opt = false
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
use crate::vpn_api_client::NymVpnApiClientError;
|
||||
use nym_wasm_utils::wasm_error;
|
||||
use thiserror::Error;
|
||||
use wasm_utils::wasm_error;
|
||||
|
||||
#[derive(Debug, Error)]
|
||||
pub enum ZkNymError {
|
||||
|
||||
@@ -23,8 +23,8 @@ pub(crate) mod vpn_api_client;
|
||||
#[wasm_bindgen(start)]
|
||||
// #[cfg(target_arch = "wasm32")]
|
||||
pub fn main() {
|
||||
wasm_utils::console_log!("[rust main]: rust module loaded");
|
||||
wasm_utils::console_log!(
|
||||
nym_wasm_utils::console_log!("[rust main]: rust module loaded");
|
||||
nym_wasm_utils::console_log!(
|
||||
"wasm zk-nym version used: {}",
|
||||
nym_bin_common::bin_info_owned!()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user