Skip to content

Commit

Permalink
Experimenting with merkle trees
Browse files Browse the repository at this point in the history
  • Loading branch information
ligustah committed May 14, 2024
1 parent ea575d5 commit 91ab53a
Show file tree
Hide file tree
Showing 5 changed files with 586 additions and 1 deletion.
24 changes: 24 additions & 0 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ path = "src/main.rs"


[dependencies]
xxhash-rust = { version = "0.8.10", features = ["xxh3"] }
const-hex = "1.11.3"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "fmt", "json"] }
Expand Down Expand Up @@ -43,6 +44,7 @@ regex = "1.10.4"
async-trait = "0.1.77"
serde = { version = "1.0.200", features = ["derive"] }
serde_json = "1.0.114"
serde_cbor = "0.11.2"
clap = { version = "4.5.2", features = ["derive"] }
envconfig = "0.10.0"
colored = "2.1.0"
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pub mod rules;
pub mod run;
pub mod stdin;
pub mod storage;
pub mod sync;
pub mod types;

pub mod built_info {
Expand Down
2 changes: 1 addition & 1 deletion src/premints/zora_premint/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ macro_rules! implement_zora_premint_traits {
kind: $crate::types::PremintName($kind.to_string()),
signer: self.collection.contractAdmin,
chain_id: self.chain_id,
collection_address: Address::default(), // TODO: source this
collection_address: self.collection_address,
token_id: alloy::primitives::U256::from(self.premint.uid),
uri: self.premint.tokenConfig.tokenURI.clone(),
}
Expand Down
Loading

0 comments on commit 91ab53a

Please sign in to comment.