Skip to content

Commit

Permalink
chore: Additional logic to behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusc93 committed Sep 27, 2023
1 parent 05e818a commit ed926d1
Show file tree
Hide file tree
Showing 7 changed files with 745 additions and 52 deletions.
2 changes: 2 additions & 0 deletions tools/shuttle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ clap = { version = "4.4", features = ["derive"] }
zeroize = "1"
dotenv = "0.15"
base64 = "0.21"

bs58 = "0.4"
13 changes: 13 additions & 0 deletions tools/shuttle/src/document.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
use std::collections::BTreeMap;

use libipld::{DagCbor, Cid};
use serde::{Serialize, Deserialize};



#[derive(Serialize, Deserialize, DagCbor)]
pub struct IdentityRoot {
identities: BTreeMap<String, Cid>,
prev_block: Option<Cid>,
}

Loading

0 comments on commit ed926d1

Please sign in to comment.