-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: encode and decode notes working clientd and ts
- Loading branch information
Showing
5 changed files
with
94 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
use fedimint_core::TieredMulti; | ||
use fedimint_mint_client::SpendableNote; | ||
use serde::{Deserialize, Serialize}; | ||
|
||
pub mod combine; | ||
pub mod decode_notes; | ||
pub mod encode_notes; | ||
pub mod reissue; | ||
pub mod spend; | ||
pub mod split; | ||
pub mod validate; | ||
|
||
#[derive(Debug, Clone, Deserialize, Serialize)] | ||
pub struct OOBNotesJson { | ||
federation_id_prefix: String, | ||
notes: TieredMulti<SpendableNote>, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters