can compile cargo dependencies

This commit is contained in:
Lou-Kamades 2023-09-20 11:49:39 -05:00
parent da2fe72518
commit 310dc7776f
No known key found for this signature in database
GPG Key ID: 87A166E4D7C01F30
5 changed files with 7335 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/target

7296
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

26
Cargo.toml Normal file
View File

@ -0,0 +1,26 @@
[package]
name = "jito-points-mango"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
solana-rpc = "~1.16.7"
solana-client = "~1.16.7"
solana-account-decoder = "~1.16.7"
solana-sdk = "~1.16.7"
solana-logger = "~1.16.7"
anchor-spl = "0.28.0"
anchor-lang = "0.28.0"
anchor-client = "0.28.0"
mango-v4 = { git = "https://github.com/blockworks-foundation/mango-v4.git", branch = "update-solana-1-16-anchor-28", features = ["cpi"] }
fixed = { git = "https://github.com/blockworks-foundation/fixed.git", branch = "v1.11.0-borsh0_10-mango" }
switchboard-program = "0.2.0"
# note: 0.8.19 seems broken
switchboard-common = "=0.8.18"
switchboard-v2 = { package = "switchboard-solana", version = "0.28" }

5
rust-toolchain.toml Normal file
View File

@ -0,0 +1,5 @@
[toolchain]
channel = "1.69.0"
components = ["rustfmt", "clippy"]
# solana-install init 1.14.27

7
src/main.rs Normal file
View File

@ -0,0 +1,7 @@
fn main() {
println!("Hello, world!");
// get JITOSOL value of a mango account
// get
}