Skip to content

Commit

Permalink
Feat/das api (#315)
Browse files Browse the repository at this point in the history
* start das api integration

* add fvca snapshot

* add das api snapshot methods

* add mints snapshot command

* add docs comments
  • Loading branch information
samuelvanderwaal authored Jan 5, 2024
1 parent 372e831 commit e5d84d4
Show file tree
Hide file tree
Showing 16 changed files with 912 additions and 371 deletions.
32 changes: 30 additions & 2 deletions Cargo.lock

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

8 changes: 2 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ borsh = "0.10.3"
bs58 = "0.4.0"
chrono = "0.4.31"
console = "0.15.7"
dirs = "5.0.1"
env_logger = "0.9.3"
futures = "0.3.29"
glob = "0.3.1"
Expand All @@ -29,6 +30,7 @@ once_cell = "1.19.0"
phf = { version = "0.10", features = ["macros"] }
ratelimit = "0.4.4"
rayon = "1.8.0"
regex = "1.10.2"
reqwest = { version = "0.11.23", features = ["json"] }
retry = "1.3.1"
serde = { version = "1.0.193", features = ["derive"] }
Expand All @@ -45,9 +47,3 @@ spl-token = "3.5.0"
structopt = "0.3.26"
thiserror = "1.0.51"
tokio = "1.35.1"
regex = "1.10.2"

[features]

[dev-dependencies]
regex = "1.10.2"
19 changes: 0 additions & 19 deletions src/helius/data.rs

This file was deleted.

77 changes: 0 additions & 77 deletions src/helius/methods.rs

This file was deleted.

5 changes: 0 additions & 5 deletions src/helius/mod.rs

This file was deleted.

2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ pub mod derive;
pub mod errors;
pub mod extend_program;
pub mod find;
pub mod helius;
pub mod limiter;
pub mod mint;
pub mod opt;
pub mod parse;
pub mod process_subcommands;
pub mod setup;
pub mod sign;
pub mod snapshot;
pub mod spinner;
Expand Down
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use metaboss::constants::*;
use metaboss::opt::*;
use metaboss::parse::parse_solana_config;
use metaboss::process_subcommands::*;
use metaboss::snapshot::process_snapshot;

#[tokio::main]
async fn main() -> Result<()> {
Expand Down Expand Up @@ -90,7 +91,7 @@ async fn main() -> Result<()> {
Command::Sign { sign_subcommands } => process_sign(&client, sign_subcommands)?,
Command::Snapshot {
snapshot_subcommands,
} => process_snapshot(client, snapshot_subcommands).await?,
} => process_snapshot(client, rpc, snapshot_subcommands).await?,
Command::Transfer {
transfer_subcommands,
} => process_transfer(client, transfer_subcommands)?,
Expand Down
Loading

0 comments on commit e5d84d4

Please sign in to comment.