Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NFT utils to cli #46

Merged
merged 15 commits into from
Jun 22, 2023
Merged
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ members = [
"py",
"drive",
"auth",
"sdk/example"
]

[workspace.package]
Expand Down
13 changes: 13 additions & 0 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ repository = { workspace = true }
[dependencies]
shadow-drive-sdk = { path = "../sdk", version = "0.7.1" }
shadow-rpc-auth = { path = "../auth", version = "0.7.1" }
shadow-nft-standard = { git = "https://github.com/genesysgo/shadow-nft-standard", branch = "main"}
shadowy-super-minter = { git = "https://github.com/genesysgo/shadow-nft-standard", branch = "main"}
tokio = { version = "^1", features = ["full"] }
anyhow = "1.0.65"
byte-unit = "4.0.14"
Expand All @@ -29,3 +31,14 @@ serde = "1.0.145"
serde_json = "1.0.86"
clap = { version = "3.1.18", features = [ "derive" ] }
solana-clap-v3-utils = "1.14.11"
shellexpand = "3.1.0"
dirs = "5.0.1"
inquire = "0.6.2"
strum = { version = "0.24.1", features = ["derive"] }
rand = "0.8.5"
bincode = "1.3.3"
base64 = "0.21.2"
spl-associated-token-account = "1.1.3"
indicatif = "0.17.5"
futures = "0.3.28"
serde_with = "3.0.0"
14 changes: 14 additions & 0 deletions cli/sample_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"creator_group": "Cxd2qRPavG8MR463QAxZ7g5o8zr36XmbhyfUwkYnGL9D",
"collection": "7w3VdpQTBztjfpa9kFdsFkfAJNpRirmk8ZAE29HGB4bu",
"just_a_comment": "reveal_hash is the hash of the file that maps mint index -> asset index (if doing a post-mint reveal)",
"reveal_hash_all_ones_if_none": "11111111111111111111111111111111",
"items_available": 10000,
"mint_price_lamports": 0,
"start_time_solana_cluster_time": -9223372036854775808,
"end_time_solana_cluster_time": 9223372036854775807,
"sdrive_account": "EzG8gTdHXTcdArJJPgxbMsWoWnswuPzCnMd3mCAPPash",
"just_another_comment": "name_prefix is common part of asset name, e.g. Shadowy Super Coders in Shadowy Super Coder #12000",
"name_prefix": "First",
"metadata_dir": "metas/"
}
190 changes: 0 additions & 190 deletions cli/src/cli/mod.rs

This file was deleted.

Loading