add serai rpc methods

This commit is contained in:
akildemir
2024-10-26 14:25:54 +03:00
parent f3d20e60b3
commit 21589936a9
12 changed files with 398 additions and 40 deletions

View File

@@ -48,6 +48,9 @@ futures-util = "0.3"
tokio = { version = "1", features = ["sync", "rt-multi-thread"] }
jsonrpsee = { version = "0.16", features = ["server"] }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
serde = { version = "1", default-features = false, features = ["derive", "alloc"] }
sc-offchain = { git = "https://github.com/serai-dex/substrate" }
sc-transaction-pool = { git = "https://github.com/serai-dex/substrate" }
sc-transaction-pool-api = { git = "https://github.com/serai-dex/substrate" }
@@ -73,6 +76,11 @@ pallet-transaction-payment-rpc = { git = "https://github.com/serai-dex/substrate
serai-env = { path = "../../common/env" }
bitcoin-serai = { path = "../../networks/bitcoin", default-features = false, features = ["std", "hazmat"] }
monero-wallet = { path = "../../networks/monero/wallet", default-features = false, features = ["std"] }
ciphersuite = { path = "../../crypto/ciphersuite", default-features = false, features = ["ed25519", "secp256k1"] }
curve25519-dalek = { version = "4", default-features = false, features = ["alloc", "zeroize"] }
[build-dependencies]
substrate-build-script-utils = { git = "https://github.com/serai-dex/substrate" }