Skip to content

Commit

Permalink
Feature: Build a StakeNet API (#88)
Browse files Browse the repository at this point in the history
Fixes #8
  • Loading branch information
aoikurokawa authored Oct 30, 2024
1 parent 83c69f5 commit 2466a6c
Show file tree
Hide file tree
Showing 10 changed files with 889 additions and 3 deletions.
128 changes: 125 additions & 3 deletions Cargo.lock

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

24 changes: 24 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,35 @@
[workspace]
members = [
"api",
"keepers/*",
"programs/*",
"sdk",
"tests",
"utils/*",
]

resolver = "2"

[profile.release]
overflow-checks = true

[workspace.dependencies]
anchor-lang = "0.30.0"
axum = "0.6.2"
clap = { version = "4.3.0", features = ["derive", "env"] }
http = { version = "0.2.1" }
serde = "1.0.183"
serde_derive = "1.0.183"
serde_json = "1.0.102"
solana-program = "1.18"
solana-rpc-client = "1.18"
solana-rpc-client-api = "1.18"
stakenet-sdk = { path = "sdk", version = "0.1.0" }
thiserror = "1.0.37"
tokio = { version = "1.36.0", features = ["full"] }
tower = { version = "0.4.13", features = ["limit", "buffer", "timeout", "load-shed"] }
tower-http = { version = "0.4.0", features = ["trace"] }
tracing = { version = "0.1.37" }
tracing-core = "0.1.32"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
validator-history = { path = "programs/validator-history", version = "0.1.0" }
29 changes: 29 additions & 0 deletions api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[package]
name = "jito-stakenet-api"
version = "0.1.0"
edition = "2021"

[[bin]]
name = "jito-stakenet-api"
path = "src/bin/main.rs"

[dependencies]
anchor-lang = { workspace = true }
axum = { workspace = true }
clap = { workspace = true }
http = { workspace = true }
serde = { workspace = true }
serde_derive = { workspace = true }
serde_json = { workspace = true }
solana-program = { workspace = true }
solana-rpc-client = { workspace = true }
solana-rpc-client-api = { workspace = true }
stakenet-sdk = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true }
tower = { workspace = true }
tower-http = { workspace = true }
tracing = { workspace = true }
tracing-core = { workspace = true }
tracing-subscriber = { workspace = true }
validator-history = { workspace = true }
Loading

0 comments on commit 2466a6c

Please sign in to comment.