Skip to content

Commit a0f6976

Browse files
committed
sugondat-shim: add sugondat shim
1 parent 3fd5cfb commit a0f6976

File tree

11 files changed

+640
-8
lines changed

11 files changed

+640
-8
lines changed

Cargo.lock

Lines changed: 166 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ members = [
77
"sugondat-chain/primitives",
88
"sugondat-da-adapter",
99
"sugondat-nmt",
10+
"sugondat-shim",
11+
"sugondat-shim/common/sovereign",
1012
"sugondat-submit-blob",
1113
"sugondat-subxt"
1214
]

sugondat-shim/Cargo.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[package]
2+
name = "sugondat-shim"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7+
8+
[dependencies]
9+
anyhow = "1.0.75"
10+
clap = { version = "4.4.8", features = ["derive", "env", "wrap_help"] }
11+
futures = "0.3.29"
12+
jsonrpsee = { version = "0.20.3", features = ["ws-client", "server"] }
13+
tracing = "0.1.40"
14+
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
15+
tokio = { version = "1.34.0", features = ["rt-multi-thread", "macros", "net"] }
16+
async-trait = "0.1.74"
17+
subxt = { version = "0.32.1" }
18+
subxt-signer = {version = "0.32.1", features = ["subxt"] }
19+
sha2 = "0.10.8"
20+
21+
sugondat-nmt = { path = "../sugondat-nmt", features = ["serde"] }
22+
sugondat-subxt = { path = "../sugondat-subxt" }
23+
sugondat-shim-common-sovereign = { path = "common/sovereign", features = ["server"] }
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[package]
2+
name = "sugondat-shim-common-sovereign"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7+
8+
[dependencies]
9+
async-trait = "0.1.74"
10+
jsonrpsee = { version = "0.20.3", features = ["macros"] }
11+
serde = { version = "1.0.192", features = ["derive"] }
12+
sugondat-nmt = { path = "../../../sugondat-nmt", features = ["serde"] }
13+
14+
[features]
15+
default = ["client", "server"]
16+
client = ["jsonrpsee/ws-client"]
17+
server = ["jsonrpsee/server"]

0 commit comments

Comments
 (0)