From d872480b1b81edd7d3398336439db92e33858e70 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Tue, 29 Oct 2024 15:05:31 +0700 Subject: [PATCH 01/89] feat(cat-voice-package): add rust key derivation implementation Signed-off-by: bkioshn --- .../example/lib/main.dart | 7 +- .../lib/catalyst_key_derivation.dart | 1 + .../catalyst_key_derivation/rust/Cargo.toml | 7 + .../rust/src/api/key_derivation/mod.rs | 120 ++++++++++++++++++ .../rust/src/api/mod.rs | 1 + 5 files changed, 135 insertions(+), 1 deletion(-) create mode 100644 catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart b/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart index e01cba33fd..67a3d21e13 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart @@ -1,3 +1,5 @@ +import 'dart:js_interop'; + import 'package:catalyst_key_derivation/catalyst_key_derivation.dart'; import 'package:flutter/material.dart'; @@ -35,6 +37,9 @@ class MyApp extends StatelessWidget { Future _doMagic() async { // ignore: avoid_print - print(await greet(name: 'Tom')); + U8Array96 x = await mnemonicToXprv( + mnemonic: "prevent company field green slot measure chief hero apple task eagle sunset endorse dress seed"); + print(x); + // deriveXprivateKey(xprivateKey: x, path: "m/1852'/1815'/0'/2/0"); } } diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/catalyst_key_derivation.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/catalyst_key_derivation.dart index 0b77496b9f..4bfcbc3018 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/catalyst_key_derivation.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/catalyst_key_derivation.dart @@ -1,4 +1,5 @@ library catalyst_key_derivation; +export 'src/rust/api/key_derivation.dart'; export 'src/rust/api/simple.dart'; export 'src/rust/frb_generated.dart' show RustLib; diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/Cargo.toml b/catalyst_voices_packages/catalyst_key_derivation/rust/Cargo.toml index e3e92d6f04..965a635730 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/Cargo.toml +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/Cargo.toml @@ -8,3 +8,10 @@ crate-type = ["cdylib", "staticlib"] [dependencies] flutter_rust_bridge = "=2.5.1" +ed25519-bip32 = "0.4.1" +hmac = "0.12.1" +pbkdf2 = "0.12.2" +anyhow = "1.0.91" +bip39 = "2.0.0" +sha2 = "0.10" +bip32 = "0.5.1" diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs new file mode 100644 index 0000000000..9c03c0bc54 --- /dev/null +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs @@ -0,0 +1,120 @@ +//! Key derivation module. + +use bip32::DerivationPath; +use bip39::Mnemonic; +pub use ed25519_bip32::DerivationIndex; +pub use ed25519_bip32::DerivationScheme; +pub use ed25519_bip32::XPrv; +use ed25519_bip32::XPRV_SIZE; +use flutter_rust_bridge::frb; +use hmac::Hmac; +use pbkdf2::pbkdf2; +use sha2::Sha512; + + + +/// Generate a new extended private key (`XPrv`) from a mnemonic and passphrase. +/// This function works with BIP-0039 mnemonics. +/// For more information: Cardano Icarus master node derivation +/// https://github.com/satoshilabs/slips/blob/master/slip-0023.md +/// +/// # Arguments +/// +/// - `mnemonic`: A string representing the mnemonic. +/// - `passphrase`: An optional string representing the passphrase. +/// +/// # Returns +/// +/// Returns the `XPrv` extended private key as a `Result`. +/// If the conversion is successful, it returns `Ok` with the extended private key +/// (`XPrv`). +pub fn mnemonic_to_xprv(mnemonic: String, passphrase: Option) -> anyhow::Result<[u8; XPRV_SIZE]> { + match mnemonic_to_xprv_helper(mnemonic, passphrase) { + Ok(xprv) => Ok(xprv.into()), + Err(e) => Err(e), + } +} + +/// Helper function for mnemonic_to_xprv. +fn mnemonic_to_xprv_helper(mnemonic: String, passphrase: Option) -> anyhow::Result { + /// 4096 is the number of iterations for PBKDF2. + const ITER: u32 = 4096; + + // Parse will detect language and check mnemonic valid length + // 12, 15, 18, 21, 24 are valid mnemonic length + let mnemonic = Mnemonic::parse(mnemonic).map_err(|e| anyhow::anyhow!("Invalid mnemonic: {e}"))?; + + let entropy = mnemonic.to_entropy(); + + // This implementation follows SLIP-0023 - Cardano Icarus master node derivation + let mut pbkdf2_result = [0; 96]; + let _ = pbkdf2::>( + passphrase.unwrap_or_default().as_bytes(), + &entropy, + ITER, + &mut pbkdf2_result, + ); + + Ok(XPrv::normalize_bytes_force3rd(pbkdf2_result)) +} + +/// Derive a new extended private key from the given extended private key. +/// - V2 derivation scheme is used as it is mention in [SLIP-0023](https://github.com/satoshilabs/slips/blob/master/slip-0023.md). +/// - More information about child key derivation can be found in [BIP32-Ed25519](https://input-output-hk.github.io/adrestia/static/Ed25519_BIP.pdf). +/// +/// # Arguments +/// +/// - `xprivate_key`: An extended private key of type `XPrv`. +/// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. +/// +/// # Returns +/// +/// Returns the `XPrv` extended private key as a `Result`. +/// If the derivation path is successful, it returns `Ok` with the extended private key +/// (`XPrv`). +pub fn derive_xprivate_key(xprivate_key: XPrv, path: String) -> anyhow::Result<[u8; XPRV_SIZE]> { + match derive_xprivate_key_helper(xprivate_key, path) { + Ok(xprv) => Ok(xprv.into()), + Err(e) => Err(e), + } +} + +/// Helper function for `derive_xprivate_key``. +fn derive_xprivate_key_helper(xprivate_key: XPrv, path: String) -> anyhow::Result { + let Ok(derivation_path) = path.parse::() else { + return Err(anyhow::anyhow!("Invalid derivation path: {path}")); + }; + let key = derivation_path + .iter() + .fold(xprivate_key, |xprv, child_num| { + if child_num.is_hardened() { + xprv.derive(DerivationScheme::V2, child_num.index() | 0x80_00_00_00) + } else { + xprv.derive(DerivationScheme::V2, child_num.index()) + } + }); + Ok(key) +} + +#[cfg(test)] +mod test { + + use super::*; + + const MNEMONIC: &str = "prevent company field green slot measure chief hero apple task eagle sunset endorse dress seed"; + + #[test] + fn test_mnemonic_to_xprv() { + assert!(mnemonic_to_xprv(MNEMONIC.to_string(), None).is_ok()); + } + + // Test vector from https://cips.cardano.org/cip/CIP-0011 + #[test] + fn test_key_derivation() { + let xprv = XPrv::from_bytes_verified(mnemonic_to_xprv(MNEMONIC.to_string(), None).unwrap()).unwrap(); + let path = "m/1852'/1815'/0'/2/0".to_string(); + let derive_xprv = XPrv::from_bytes_verified(derive_xprivate_key(xprv, path).unwrap()).unwrap(); + assert_eq!(derive_xprv.to_string(), + "b8ab42f1aacbcdb3ae858e3a3df88142b3ed27a2d3f432024e0d943fc1e597442d57545d84c8db2820b11509d944093bc605350e60c533b8886a405bd59eed6dcf356648fe9e9219d83e989c8ff5b5b337e2897b6554c1ab4e636de791fe5427"); + } +} diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/mod.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/mod.rs index b252f36bf9..340fdf28f5 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/mod.rs +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/mod.rs @@ -1 +1,2 @@ +pub mod key_derivation; pub mod simple; From 939d4a24c08beb6cf35d761913b7515181a0ac02 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Tue, 29 Oct 2024 12:42:52 +0100 Subject: [PATCH 02/89] refactor: move uikit_example into utilities dir --- .../{ => utilities}/uikit_example/.gitignore | 0 .../{ => utilities}/uikit_example/.metadata | 0 .../{ => utilities}/uikit_example/Earthfile | 0 .../{ => utilities}/uikit_example/README.md | 0 .../uikit_example/analysis_options.yaml | 0 .../uikit_example/assets/images/robot_avatar.png | Bin .../{ => utilities}/uikit_example/firebase.json | 0 .../lib/examples/voices_avatar_example.dart | 0 .../lib/examples/voices_badge_example.dart | 0 .../lib/examples/voices_buttons_example.dart | 0 .../lib/examples/voices_checkbox_example.dart | 0 .../lib/examples/voices_chip_example.dart | 0 .../lib/examples/voices_fab_example.dart | 0 .../lib/examples/voices_headers_examples.dart | 0 .../lib/examples/voices_indicators_example.dart | 0 .../lib/examples/voices_list_tile_example.dart | 0 .../lib/examples/voices_menu_example.dart | 0 .../lib/examples/voices_modals_example.dart | 0 .../lib/examples/voices_navigation_example.dart | 0 .../examples/voices_proposal_card_example.dart | 0 .../lib/examples/voices_radio_example.dart | 0 .../lib/examples/voices_rich_text_example.dart | 0 .../lib/examples/voices_role_panels_example.dart | 0 .../lib/examples/voices_seed_phrase_example.dart | 0 .../voices_seed_phrase_field_example.dart | 0 .../examples/voices_segmented_button_example.dart | 0 .../lib/examples/voices_separators_example.dart | 0 .../lib/examples/voices_snackbar_example.dart | 0 .../lib/examples/voices_switch_example.dart | 0 .../lib/examples/voices_tabs_example.dart | 0 .../lib/examples/voices_text_field_example.dart | 0 .../lib/examples/voices_tooltips_example.dart | 0 .../lib/examples/voices_tree_view_example.dart | 0 .../uikit_example/lib/examples_list.dart | 0 .../uikit_example/lib/generated/assets.gen.dart | 0 .../{ => utilities}/uikit_example/lib/main.dart | 0 .../{ => utilities}/uikit_example/pubspec.yaml | 14 +++++++------- .../{ => utilities}/uikit_example/web/favicon.png | Bin .../uikit_example/web/icons/Icon-192.png | Bin .../uikit_example/web/icons/Icon-512.png | Bin .../uikit_example/web/icons/Icon-maskable-192.png | Bin .../uikit_example/web/icons/Icon-maskable-512.png | Bin .../{ => utilities}/uikit_example/web/index.html | 0 .../uikit_example/web/manifest.json | 0 melos.yaml | 2 +- 45 files changed, 8 insertions(+), 8 deletions(-) rename catalyst_voices/{ => utilities}/uikit_example/.gitignore (100%) rename catalyst_voices/{ => utilities}/uikit_example/.metadata (100%) rename catalyst_voices/{ => utilities}/uikit_example/Earthfile (100%) rename catalyst_voices/{ => utilities}/uikit_example/README.md (100%) rename catalyst_voices/{ => utilities}/uikit_example/analysis_options.yaml (100%) rename catalyst_voices/{ => utilities}/uikit_example/assets/images/robot_avatar.png (100%) rename catalyst_voices/{ => utilities}/uikit_example/firebase.json (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_avatar_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_badge_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_buttons_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_checkbox_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_chip_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_fab_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_headers_examples.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_indicators_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_list_tile_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_menu_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_modals_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_navigation_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_proposal_card_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_radio_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_rich_text_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_role_panels_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_seed_phrase_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_seed_phrase_field_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_segmented_button_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_separators_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_snackbar_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_switch_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_tabs_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_text_field_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_tooltips_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples/voices_tree_view_example.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/examples_list.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/generated/assets.gen.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/lib/main.dart (100%) rename catalyst_voices/{ => utilities}/uikit_example/pubspec.yaml (75%) rename catalyst_voices/{ => utilities}/uikit_example/web/favicon.png (100%) rename catalyst_voices/{ => utilities}/uikit_example/web/icons/Icon-192.png (100%) rename catalyst_voices/{ => utilities}/uikit_example/web/icons/Icon-512.png (100%) rename catalyst_voices/{ => utilities}/uikit_example/web/icons/Icon-maskable-192.png (100%) rename catalyst_voices/{ => utilities}/uikit_example/web/icons/Icon-maskable-512.png (100%) rename catalyst_voices/{ => utilities}/uikit_example/web/index.html (100%) rename catalyst_voices/{ => utilities}/uikit_example/web/manifest.json (100%) diff --git a/catalyst_voices/uikit_example/.gitignore b/catalyst_voices/utilities/uikit_example/.gitignore similarity index 100% rename from catalyst_voices/uikit_example/.gitignore rename to catalyst_voices/utilities/uikit_example/.gitignore diff --git a/catalyst_voices/uikit_example/.metadata b/catalyst_voices/utilities/uikit_example/.metadata similarity index 100% rename from catalyst_voices/uikit_example/.metadata rename to catalyst_voices/utilities/uikit_example/.metadata diff --git a/catalyst_voices/uikit_example/Earthfile b/catalyst_voices/utilities/uikit_example/Earthfile similarity index 100% rename from catalyst_voices/uikit_example/Earthfile rename to catalyst_voices/utilities/uikit_example/Earthfile diff --git a/catalyst_voices/uikit_example/README.md b/catalyst_voices/utilities/uikit_example/README.md similarity index 100% rename from catalyst_voices/uikit_example/README.md rename to catalyst_voices/utilities/uikit_example/README.md diff --git a/catalyst_voices/uikit_example/analysis_options.yaml b/catalyst_voices/utilities/uikit_example/analysis_options.yaml similarity index 100% rename from catalyst_voices/uikit_example/analysis_options.yaml rename to catalyst_voices/utilities/uikit_example/analysis_options.yaml diff --git a/catalyst_voices/uikit_example/assets/images/robot_avatar.png b/catalyst_voices/utilities/uikit_example/assets/images/robot_avatar.png similarity index 100% rename from catalyst_voices/uikit_example/assets/images/robot_avatar.png rename to catalyst_voices/utilities/uikit_example/assets/images/robot_avatar.png diff --git a/catalyst_voices/uikit_example/firebase.json b/catalyst_voices/utilities/uikit_example/firebase.json similarity index 100% rename from catalyst_voices/uikit_example/firebase.json rename to catalyst_voices/utilities/uikit_example/firebase.json diff --git a/catalyst_voices/uikit_example/lib/examples/voices_avatar_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_avatar_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_avatar_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_avatar_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_badge_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_badge_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_badge_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_badge_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_buttons_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_buttons_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_buttons_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_buttons_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_checkbox_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_checkbox_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_checkbox_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_checkbox_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_chip_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_chip_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_chip_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_chip_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_fab_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_fab_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_fab_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_fab_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_headers_examples.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_headers_examples.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_headers_examples.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_headers_examples.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_indicators_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_indicators_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_indicators_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_indicators_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_list_tile_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_list_tile_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_list_tile_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_list_tile_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_menu_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_menu_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_menu_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_menu_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_modals_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_modals_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_modals_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_modals_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_navigation_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_navigation_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_navigation_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_navigation_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_proposal_card_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_proposal_card_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_proposal_card_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_proposal_card_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_radio_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_radio_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_radio_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_radio_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_rich_text_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_rich_text_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_rich_text_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_rich_text_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_role_panels_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_role_panels_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_role_panels_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_role_panels_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_seed_phrase_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_seed_phrase_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_seed_phrase_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_seed_phrase_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_seed_phrase_field_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_seed_phrase_field_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_seed_phrase_field_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_seed_phrase_field_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_segmented_button_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_segmented_button_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_segmented_button_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_segmented_button_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_separators_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_separators_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_separators_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_separators_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_snackbar_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_snackbar_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_snackbar_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_snackbar_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_switch_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_switch_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_switch_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_switch_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_tabs_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_tabs_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_tabs_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_tabs_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_text_field_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_text_field_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_text_field_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_text_field_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_tooltips_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_tooltips_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_tooltips_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_tooltips_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples/voices_tree_view_example.dart b/catalyst_voices/utilities/uikit_example/lib/examples/voices_tree_view_example.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples/voices_tree_view_example.dart rename to catalyst_voices/utilities/uikit_example/lib/examples/voices_tree_view_example.dart diff --git a/catalyst_voices/uikit_example/lib/examples_list.dart b/catalyst_voices/utilities/uikit_example/lib/examples_list.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/examples_list.dart rename to catalyst_voices/utilities/uikit_example/lib/examples_list.dart diff --git a/catalyst_voices/uikit_example/lib/generated/assets.gen.dart b/catalyst_voices/utilities/uikit_example/lib/generated/assets.gen.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/generated/assets.gen.dart rename to catalyst_voices/utilities/uikit_example/lib/generated/assets.gen.dart diff --git a/catalyst_voices/uikit_example/lib/main.dart b/catalyst_voices/utilities/uikit_example/lib/main.dart similarity index 100% rename from catalyst_voices/uikit_example/lib/main.dart rename to catalyst_voices/utilities/uikit_example/lib/main.dart diff --git a/catalyst_voices/uikit_example/pubspec.yaml b/catalyst_voices/utilities/uikit_example/pubspec.yaml similarity index 75% rename from catalyst_voices/uikit_example/pubspec.yaml rename to catalyst_voices/utilities/uikit_example/pubspec.yaml index 203399b7a3..d2bf9e599d 100644 --- a/catalyst_voices/uikit_example/pubspec.yaml +++ b/catalyst_voices/utilities/uikit_example/pubspec.yaml @@ -9,19 +9,19 @@ environment: dependencies: catalyst_cardano_serialization: ^0.4.0 catalyst_voices: - path: ../ + path: ../../ catalyst_voices_assets: - path: ../packages/catalyst_voices_assets + path: ../../packages/catalyst_voices_assets catalyst_voices_blocs: - path: ../packages/catalyst_voices_blocs + path: ../../packages/catalyst_voices_blocs catalyst_voices_brands: - path: ../packages/catalyst_voices_brands + path: ../../packages/catalyst_voices_brands catalyst_voices_localization: - path: ../packages/catalyst_voices_localization + path: ../../packages/catalyst_voices_localization catalyst_voices_models: - path: ../packages/catalyst_voices_models + path: ../../packages/catalyst_voices_models catalyst_voices_shared: - path: ../packages/catalyst_voices_shared + path: ../../packages/catalyst_voices_shared collection: ^1.18.0 cupertino_icons: ^1.0.6 flutter: diff --git a/catalyst_voices/uikit_example/web/favicon.png b/catalyst_voices/utilities/uikit_example/web/favicon.png similarity index 100% rename from catalyst_voices/uikit_example/web/favicon.png rename to catalyst_voices/utilities/uikit_example/web/favicon.png diff --git a/catalyst_voices/uikit_example/web/icons/Icon-192.png b/catalyst_voices/utilities/uikit_example/web/icons/Icon-192.png similarity index 100% rename from catalyst_voices/uikit_example/web/icons/Icon-192.png rename to catalyst_voices/utilities/uikit_example/web/icons/Icon-192.png diff --git a/catalyst_voices/uikit_example/web/icons/Icon-512.png b/catalyst_voices/utilities/uikit_example/web/icons/Icon-512.png similarity index 100% rename from catalyst_voices/uikit_example/web/icons/Icon-512.png rename to catalyst_voices/utilities/uikit_example/web/icons/Icon-512.png diff --git a/catalyst_voices/uikit_example/web/icons/Icon-maskable-192.png b/catalyst_voices/utilities/uikit_example/web/icons/Icon-maskable-192.png similarity index 100% rename from catalyst_voices/uikit_example/web/icons/Icon-maskable-192.png rename to catalyst_voices/utilities/uikit_example/web/icons/Icon-maskable-192.png diff --git a/catalyst_voices/uikit_example/web/icons/Icon-maskable-512.png b/catalyst_voices/utilities/uikit_example/web/icons/Icon-maskable-512.png similarity index 100% rename from catalyst_voices/uikit_example/web/icons/Icon-maskable-512.png rename to catalyst_voices/utilities/uikit_example/web/icons/Icon-maskable-512.png diff --git a/catalyst_voices/uikit_example/web/index.html b/catalyst_voices/utilities/uikit_example/web/index.html similarity index 100% rename from catalyst_voices/uikit_example/web/index.html rename to catalyst_voices/utilities/uikit_example/web/index.html diff --git a/catalyst_voices/uikit_example/web/manifest.json b/catalyst_voices/utilities/uikit_example/web/manifest.json similarity index 100% rename from catalyst_voices/uikit_example/web/manifest.json rename to catalyst_voices/utilities/uikit_example/web/manifest.json diff --git a/melos.yaml b/melos.yaml index ddc6556c72..8ac52e0273 100644 --- a/melos.yaml +++ b/melos.yaml @@ -3,7 +3,7 @@ repository: https://github.com/input-output-hk/catalyst-voices packages: - catalyst_voices - - catalyst_voices/uikit_example + - catalyst_voices/utilities/uikit_example - catalyst_voices/packages/** - catalyst_voices_packages/** - utilities/** From e387a27b47c29f76cca31585cbcfc42d279dd08b Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Tue, 29 Oct 2024 12:56:20 +0100 Subject: [PATCH 03/89] fix: exclude example packages from melos bootstrap --- melos.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/melos.yaml b/melos.yaml index 8ac52e0273..2ac660786b 100644 --- a/melos.yaml +++ b/melos.yaml @@ -11,6 +11,9 @@ packages: ignore: # ignores flutter_rust_bridge packages that are non-conformant with melos - catalyst_voices_packages/catalyst_key_derivation/example/** + # ignore examples + - catalyst_voices/packages/**/example + - catalyst_voices_packages/**/example permittedLicenses: - MIT @@ -197,7 +200,7 @@ scripts: EXIT_CODE=$? ; \ printf "%s" "$OUTPUT" | tojunit --output $MELOS_ROOT_PATH/test_reports/$MELOS_PACKAGE_NAME.junit-report.xml ; \ exit $EXIT_CODE' - + # store the exit code after running the tests, # this is the exit code for the whole script EXIT_CODE=$? From 8847b78f61b71f8ee01e84ff9dbcf7e3f5f8f9a5 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Tue, 29 Oct 2024 13:23:15 +0100 Subject: [PATCH 04/89] refactor: move poc_local_storage into catalyst_voices/utilities --- .../utilities}/poc_local_storage/.firebaserc | 0 .../utilities}/poc_local_storage/.gitignore | 0 .../utilities}/poc_local_storage/.metadata | 0 .../utilities}/poc_local_storage/README.md | 0 .../poc_local_storage/analysis_options.yaml | 0 .../utilities}/poc_local_storage/android/.gitignore | 0 .../poc_local_storage/android/app/build.gradle | 0 .../android/app/src/debug/AndroidManifest.xml | 0 .../android/app/src/main/AndroidManifest.xml | 0 .../com/example/poc_local_storage/MainActivity.kt | 0 .../src/main/res/drawable-v21/launch_background.xml | 0 .../app/src/main/res/drawable/launch_background.xml | 0 .../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin .../app/src/main/res/values-night/styles.xml | 0 .../android/app/src/main/res/values/styles.xml | 0 .../android/app/src/profile/AndroidManifest.xml | 0 .../poc_local_storage/android/build.gradle | 0 .../poc_local_storage/android/gradle.properties | 0 .../gradle/wrapper/gradle-wrapper.properties | 0 .../poc_local_storage/android/settings.gradle | 0 .../utilities}/poc_local_storage/firebase.json | 0 .../utilities}/poc_local_storage/ios/.gitignore | 0 .../ios/Flutter/AppFrameworkInfo.plist | 0 .../poc_local_storage/ios/Flutter/Debug.xcconfig | 0 .../poc_local_storage/ios/Flutter/Release.xcconfig | 0 .../utilities}/poc_local_storage/ios/Podfile | 0 .../ios/Runner.xcodeproj/project.pbxproj | 0 .../project.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../ios/Runner.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../poc_local_storage/ios/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin .../AppIcon.appiconset/Icon-App-83.5x83.5@2x.png | Bin .../LaunchImage.imageset/Contents.json | 0 .../LaunchImage.imageset/LaunchImage.png | Bin .../LaunchImage.imageset/LaunchImage@2x.png | Bin .../LaunchImage.imageset/LaunchImage@3x.png | Bin .../ios/Runner/Base.lproj/LaunchScreen.storyboard | 0 .../ios/Runner/Base.lproj/Main.storyboard | 0 .../poc_local_storage/ios/Runner/Info.plist | 0 .../ios/Runner/Runner-Bridging-Header.h | 0 .../ios/RunnerTests/RunnerTests.swift | 0 .../utilities}/poc_local_storage/lib/app.dart | 0 .../poc_local_storage/lib/crypto_service.dart | 0 .../poc_local_storage/lib/file_picker_service.dart | 0 .../poc_local_storage/lib/home_screen.dart | 0 .../utilities}/poc_local_storage/lib/main.dart | 0 .../lib/password_entry_screen.dart | 0 .../poc_local_storage/lib/protected_screen.dart | 0 .../lib/secure_certificate_repository.dart | 0 .../lib/secure_storage_service.dart | 0 .../utilities}/poc_local_storage/linux/.gitignore | 0 .../poc_local_storage/linux/CMakeLists.txt | 0 .../poc_local_storage/linux/flutter/CMakeLists.txt | 0 .../linux/flutter/generated_plugin_registrant.cc | 0 .../linux/flutter/generated_plugin_registrant.h | 0 .../linux/flutter/generated_plugins.cmake | 0 .../utilities}/poc_local_storage/linux/main.cc | 0 .../poc_local_storage/linux/my_application.cc | 0 .../poc_local_storage/linux/my_application.h | 0 .../utilities}/poc_local_storage/macos/.gitignore | 0 .../macos/Flutter/Flutter-Debug.xcconfig | 0 .../macos/Flutter/Flutter-Release.xcconfig | 0 .../macos/Flutter/GeneratedPluginRegistrant.swift | 0 .../utilities}/poc_local_storage/macos/Podfile | 0 .../macos/Runner.xcodeproj/project.pbxproj | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../Runner.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../macos/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/app_icon_1024.png | Bin .../AppIcon.appiconset/app_icon_128.png | Bin .../AppIcon.appiconset/app_icon_16.png | Bin .../AppIcon.appiconset/app_icon_256.png | Bin .../AppIcon.appiconset/app_icon_32.png | Bin .../AppIcon.appiconset/app_icon_512.png | Bin .../AppIcon.appiconset/app_icon_64.png | Bin .../macos/Runner/Base.lproj/MainMenu.xib | 0 .../macos/Runner/Configs/AppInfo.xcconfig | 0 .../macos/Runner/Configs/Debug.xcconfig | 0 .../macos/Runner/Configs/Release.xcconfig | 0 .../macos/Runner/Configs/Warnings.xcconfig | 0 .../macos/Runner/DebugProfile.entitlements | 0 .../poc_local_storage/macos/Runner/Info.plist | 0 .../macos/Runner/MainFlutterWindow.swift | 0 .../macos/Runner/Release.entitlements | 0 .../macos/RunnerTests/RunnerTests.swift | 0 .../utilities}/poc_local_storage/package-lock.json | 0 .../utilities}/poc_local_storage/pubspec.yaml | 2 +- .../utilities}/poc_local_storage/web/favicon.png | Bin .../poc_local_storage/web/icons/Icon-192.png | Bin .../poc_local_storage/web/icons/Icon-512.png | Bin .../web/icons/Icon-maskable-192.png | Bin .../web/icons/Icon-maskable-512.png | Bin .../utilities}/poc_local_storage/web/index.html | 0 .../utilities}/poc_local_storage/web/manifest.json | 0 .../utilities}/poc_local_storage/windows/.gitignore | 0 .../poc_local_storage/windows/CMakeLists.txt | 0 .../windows/flutter/CMakeLists.txt | 0 .../windows/flutter/generated_plugin_registrant.cc | 0 .../windows/flutter/generated_plugin_registrant.h | 0 .../windows/flutter/generated_plugins.cmake | 0 .../poc_local_storage/windows/runner/CMakeLists.txt | 0 .../poc_local_storage/windows/runner/Runner.rc | 0 .../windows/runner/flutter_window.cpp | 0 .../windows/runner/flutter_window.h | 0 .../poc_local_storage/windows/runner/main.cpp | 0 .../poc_local_storage/windows/runner/resource.h | 0 .../windows/runner/resources/app_icon.ico | Bin .../windows/runner/runner.exe.manifest | 0 .../poc_local_storage/windows/runner/utils.cpp | 0 .../poc_local_storage/windows/runner/utils.h | 0 .../windows/runner/win32_window.cpp | 0 .../poc_local_storage/windows/runner/win32_window.h | 0 melos.yaml | 2 +- 139 files changed, 2 insertions(+), 2 deletions(-) rename {utilities => catalyst_voices/utilities}/poc_local_storage/.firebaserc (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/.gitignore (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/.metadata (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/README.md (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/analysis_options.yaml (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/.gitignore (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/app/build.gradle (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/app/src/debug/AndroidManifest.xml (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/app/src/main/AndroidManifest.xml (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/app/src/main/kotlin/com/example/poc_local_storage/MainActivity.kt (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/app/src/main/res/drawable-v21/launch_background.xml (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/app/src/main/res/drawable/launch_background.xml (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/app/src/main/res/mipmap-hdpi/ic_launcher.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/app/src/main/res/mipmap-mdpi/ic_launcher.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/app/src/main/res/values-night/styles.xml (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/app/src/main/res/values/styles.xml (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/app/src/profile/AndroidManifest.xml (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/build.gradle (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/gradle.properties (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/gradle/wrapper/gradle-wrapper.properties (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/android/settings.gradle (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/firebase.json (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/.gitignore (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Flutter/AppFrameworkInfo.plist (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Flutter/Debug.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Flutter/Release.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Podfile (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner.xcodeproj/project.pbxproj (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner.xcworkspace/contents.xcworkspacedata (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/AppDelegate.swift (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Base.lproj/LaunchScreen.storyboard (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Base.lproj/Main.storyboard (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Info.plist (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/Runner/Runner-Bridging-Header.h (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/ios/RunnerTests/RunnerTests.swift (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/lib/app.dart (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/lib/crypto_service.dart (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/lib/file_picker_service.dart (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/lib/home_screen.dart (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/lib/main.dart (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/lib/password_entry_screen.dart (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/lib/protected_screen.dart (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/lib/secure_certificate_repository.dart (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/lib/secure_storage_service.dart (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/linux/.gitignore (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/linux/CMakeLists.txt (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/linux/flutter/CMakeLists.txt (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/linux/flutter/generated_plugin_registrant.cc (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/linux/flutter/generated_plugin_registrant.h (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/linux/flutter/generated_plugins.cmake (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/linux/main.cc (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/linux/my_application.cc (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/linux/my_application.h (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/.gitignore (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Flutter/Flutter-Debug.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Flutter/Flutter-Release.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Flutter/GeneratedPluginRegistrant.swift (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Podfile (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner.xcodeproj/project.pbxproj (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner.xcworkspace/contents.xcworkspacedata (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/AppDelegate.swift (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/Base.lproj/MainMenu.xib (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/Configs/AppInfo.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/Configs/Debug.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/Configs/Release.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/Configs/Warnings.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/DebugProfile.entitlements (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/Info.plist (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/MainFlutterWindow.swift (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/Runner/Release.entitlements (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/macos/RunnerTests/RunnerTests.swift (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/package-lock.json (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/pubspec.yaml (87%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/web/favicon.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/web/icons/Icon-192.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/web/icons/Icon-512.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/web/icons/Icon-maskable-192.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/web/icons/Icon-maskable-512.png (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/web/index.html (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/web/manifest.json (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/.gitignore (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/CMakeLists.txt (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/flutter/CMakeLists.txt (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/flutter/generated_plugin_registrant.cc (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/flutter/generated_plugin_registrant.h (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/flutter/generated_plugins.cmake (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/runner/CMakeLists.txt (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/runner/Runner.rc (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/runner/flutter_window.cpp (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/runner/flutter_window.h (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/runner/main.cpp (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/runner/resource.h (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/runner/resources/app_icon.ico (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/runner/runner.exe.manifest (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/runner/utils.cpp (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/runner/utils.h (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/runner/win32_window.cpp (100%) rename {utilities => catalyst_voices/utilities}/poc_local_storage/windows/runner/win32_window.h (100%) diff --git a/utilities/poc_local_storage/.firebaserc b/catalyst_voices/utilities/poc_local_storage/.firebaserc similarity index 100% rename from utilities/poc_local_storage/.firebaserc rename to catalyst_voices/utilities/poc_local_storage/.firebaserc diff --git a/utilities/poc_local_storage/.gitignore b/catalyst_voices/utilities/poc_local_storage/.gitignore similarity index 100% rename from utilities/poc_local_storage/.gitignore rename to catalyst_voices/utilities/poc_local_storage/.gitignore diff --git a/utilities/poc_local_storage/.metadata b/catalyst_voices/utilities/poc_local_storage/.metadata similarity index 100% rename from utilities/poc_local_storage/.metadata rename to catalyst_voices/utilities/poc_local_storage/.metadata diff --git a/utilities/poc_local_storage/README.md b/catalyst_voices/utilities/poc_local_storage/README.md similarity index 100% rename from utilities/poc_local_storage/README.md rename to catalyst_voices/utilities/poc_local_storage/README.md diff --git a/utilities/poc_local_storage/analysis_options.yaml b/catalyst_voices/utilities/poc_local_storage/analysis_options.yaml similarity index 100% rename from utilities/poc_local_storage/analysis_options.yaml rename to catalyst_voices/utilities/poc_local_storage/analysis_options.yaml diff --git a/utilities/poc_local_storage/android/.gitignore b/catalyst_voices/utilities/poc_local_storage/android/.gitignore similarity index 100% rename from utilities/poc_local_storage/android/.gitignore rename to catalyst_voices/utilities/poc_local_storage/android/.gitignore diff --git a/utilities/poc_local_storage/android/app/build.gradle b/catalyst_voices/utilities/poc_local_storage/android/app/build.gradle similarity index 100% rename from utilities/poc_local_storage/android/app/build.gradle rename to catalyst_voices/utilities/poc_local_storage/android/app/build.gradle diff --git a/utilities/poc_local_storage/android/app/src/debug/AndroidManifest.xml b/catalyst_voices/utilities/poc_local_storage/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from utilities/poc_local_storage/android/app/src/debug/AndroidManifest.xml rename to catalyst_voices/utilities/poc_local_storage/android/app/src/debug/AndroidManifest.xml diff --git a/utilities/poc_local_storage/android/app/src/main/AndroidManifest.xml b/catalyst_voices/utilities/poc_local_storage/android/app/src/main/AndroidManifest.xml similarity index 100% rename from utilities/poc_local_storage/android/app/src/main/AndroidManifest.xml rename to catalyst_voices/utilities/poc_local_storage/android/app/src/main/AndroidManifest.xml diff --git a/utilities/poc_local_storage/android/app/src/main/kotlin/com/example/poc_local_storage/MainActivity.kt b/catalyst_voices/utilities/poc_local_storage/android/app/src/main/kotlin/com/example/poc_local_storage/MainActivity.kt similarity index 100% rename from utilities/poc_local_storage/android/app/src/main/kotlin/com/example/poc_local_storage/MainActivity.kt rename to catalyst_voices/utilities/poc_local_storage/android/app/src/main/kotlin/com/example/poc_local_storage/MainActivity.kt diff --git a/utilities/poc_local_storage/android/app/src/main/res/drawable-v21/launch_background.xml b/catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/drawable-v21/launch_background.xml similarity index 100% rename from utilities/poc_local_storage/android/app/src/main/res/drawable-v21/launch_background.xml rename to catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/drawable-v21/launch_background.xml diff --git a/utilities/poc_local_storage/android/app/src/main/res/drawable/launch_background.xml b/catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/drawable/launch_background.xml similarity index 100% rename from utilities/poc_local_storage/android/app/src/main/res/drawable/launch_background.xml rename to catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/drawable/launch_background.xml diff --git a/utilities/poc_local_storage/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from utilities/poc_local_storage/android/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/utilities/poc_local_storage/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from utilities/poc_local_storage/android/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/utilities/poc_local_storage/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from utilities/poc_local_storage/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/utilities/poc_local_storage/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from utilities/poc_local_storage/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/utilities/poc_local_storage/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from utilities/poc_local_storage/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/utilities/poc_local_storage/android/app/src/main/res/values-night/styles.xml b/catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/values-night/styles.xml similarity index 100% rename from utilities/poc_local_storage/android/app/src/main/res/values-night/styles.xml rename to catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/values-night/styles.xml diff --git a/utilities/poc_local_storage/android/app/src/main/res/values/styles.xml b/catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/values/styles.xml similarity index 100% rename from utilities/poc_local_storage/android/app/src/main/res/values/styles.xml rename to catalyst_voices/utilities/poc_local_storage/android/app/src/main/res/values/styles.xml diff --git a/utilities/poc_local_storage/android/app/src/profile/AndroidManifest.xml b/catalyst_voices/utilities/poc_local_storage/android/app/src/profile/AndroidManifest.xml similarity index 100% rename from utilities/poc_local_storage/android/app/src/profile/AndroidManifest.xml rename to catalyst_voices/utilities/poc_local_storage/android/app/src/profile/AndroidManifest.xml diff --git a/utilities/poc_local_storage/android/build.gradle b/catalyst_voices/utilities/poc_local_storage/android/build.gradle similarity index 100% rename from utilities/poc_local_storage/android/build.gradle rename to catalyst_voices/utilities/poc_local_storage/android/build.gradle diff --git a/utilities/poc_local_storage/android/gradle.properties b/catalyst_voices/utilities/poc_local_storage/android/gradle.properties similarity index 100% rename from utilities/poc_local_storage/android/gradle.properties rename to catalyst_voices/utilities/poc_local_storage/android/gradle.properties diff --git a/utilities/poc_local_storage/android/gradle/wrapper/gradle-wrapper.properties b/catalyst_voices/utilities/poc_local_storage/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from utilities/poc_local_storage/android/gradle/wrapper/gradle-wrapper.properties rename to catalyst_voices/utilities/poc_local_storage/android/gradle/wrapper/gradle-wrapper.properties diff --git a/utilities/poc_local_storage/android/settings.gradle b/catalyst_voices/utilities/poc_local_storage/android/settings.gradle similarity index 100% rename from utilities/poc_local_storage/android/settings.gradle rename to catalyst_voices/utilities/poc_local_storage/android/settings.gradle diff --git a/utilities/poc_local_storage/firebase.json b/catalyst_voices/utilities/poc_local_storage/firebase.json similarity index 100% rename from utilities/poc_local_storage/firebase.json rename to catalyst_voices/utilities/poc_local_storage/firebase.json diff --git a/utilities/poc_local_storage/ios/.gitignore b/catalyst_voices/utilities/poc_local_storage/ios/.gitignore similarity index 100% rename from utilities/poc_local_storage/ios/.gitignore rename to catalyst_voices/utilities/poc_local_storage/ios/.gitignore diff --git a/utilities/poc_local_storage/ios/Flutter/AppFrameworkInfo.plist b/catalyst_voices/utilities/poc_local_storage/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from utilities/poc_local_storage/ios/Flutter/AppFrameworkInfo.plist rename to catalyst_voices/utilities/poc_local_storage/ios/Flutter/AppFrameworkInfo.plist diff --git a/utilities/poc_local_storage/ios/Flutter/Debug.xcconfig b/catalyst_voices/utilities/poc_local_storage/ios/Flutter/Debug.xcconfig similarity index 100% rename from utilities/poc_local_storage/ios/Flutter/Debug.xcconfig rename to catalyst_voices/utilities/poc_local_storage/ios/Flutter/Debug.xcconfig diff --git a/utilities/poc_local_storage/ios/Flutter/Release.xcconfig b/catalyst_voices/utilities/poc_local_storage/ios/Flutter/Release.xcconfig similarity index 100% rename from utilities/poc_local_storage/ios/Flutter/Release.xcconfig rename to catalyst_voices/utilities/poc_local_storage/ios/Flutter/Release.xcconfig diff --git a/utilities/poc_local_storage/ios/Podfile b/catalyst_voices/utilities/poc_local_storage/ios/Podfile similarity index 100% rename from utilities/poc_local_storage/ios/Podfile rename to catalyst_voices/utilities/poc_local_storage/ios/Podfile diff --git a/utilities/poc_local_storage/ios/Runner.xcodeproj/project.pbxproj b/catalyst_voices/utilities/poc_local_storage/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from utilities/poc_local_storage/ios/Runner.xcodeproj/project.pbxproj rename to catalyst_voices/utilities/poc_local_storage/ios/Runner.xcodeproj/project.pbxproj diff --git a/utilities/poc_local_storage/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/catalyst_voices/utilities/poc_local_storage/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from utilities/poc_local_storage/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/utilities/poc_local_storage/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/utilities/poc_local_storage/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/utilities/poc_local_storage/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from utilities/poc_local_storage/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/utilities/poc_local_storage/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/utilities/poc_local_storage/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/catalyst_voices/utilities/poc_local_storage/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from utilities/poc_local_storage/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to catalyst_voices/utilities/poc_local_storage/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/utilities/poc_local_storage/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/catalyst_voices/utilities/poc_local_storage/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from utilities/poc_local_storage/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to catalyst_voices/utilities/poc_local_storage/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/utilities/poc_local_storage/ios/Runner.xcworkspace/contents.xcworkspacedata b/catalyst_voices/utilities/poc_local_storage/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from utilities/poc_local_storage/ios/Runner.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/utilities/poc_local_storage/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/utilities/poc_local_storage/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/utilities/poc_local_storage/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from utilities/poc_local_storage/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/utilities/poc_local_storage/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/utilities/poc_local_storage/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/catalyst_voices/utilities/poc_local_storage/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from utilities/poc_local_storage/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to catalyst_voices/utilities/poc_local_storage/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/utilities/poc_local_storage/ios/Runner/AppDelegate.swift b/catalyst_voices/utilities/poc_local_storage/ios/Runner/AppDelegate.swift similarity index 100% rename from utilities/poc_local_storage/ios/Runner/AppDelegate.swift rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/AppDelegate.swift diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png diff --git a/utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png diff --git a/utilities/poc_local_storage/ios/Runner/Base.lproj/LaunchScreen.storyboard b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/utilities/poc_local_storage/ios/Runner/Base.lproj/Main.storyboard b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Base.lproj/Main.storyboard rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Base.lproj/Main.storyboard diff --git a/utilities/poc_local_storage/ios/Runner/Info.plist b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Info.plist similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Info.plist rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Info.plist diff --git a/utilities/poc_local_storage/ios/Runner/Runner-Bridging-Header.h b/catalyst_voices/utilities/poc_local_storage/ios/Runner/Runner-Bridging-Header.h similarity index 100% rename from utilities/poc_local_storage/ios/Runner/Runner-Bridging-Header.h rename to catalyst_voices/utilities/poc_local_storage/ios/Runner/Runner-Bridging-Header.h diff --git a/utilities/poc_local_storage/ios/RunnerTests/RunnerTests.swift b/catalyst_voices/utilities/poc_local_storage/ios/RunnerTests/RunnerTests.swift similarity index 100% rename from utilities/poc_local_storage/ios/RunnerTests/RunnerTests.swift rename to catalyst_voices/utilities/poc_local_storage/ios/RunnerTests/RunnerTests.swift diff --git a/utilities/poc_local_storage/lib/app.dart b/catalyst_voices/utilities/poc_local_storage/lib/app.dart similarity index 100% rename from utilities/poc_local_storage/lib/app.dart rename to catalyst_voices/utilities/poc_local_storage/lib/app.dart diff --git a/utilities/poc_local_storage/lib/crypto_service.dart b/catalyst_voices/utilities/poc_local_storage/lib/crypto_service.dart similarity index 100% rename from utilities/poc_local_storage/lib/crypto_service.dart rename to catalyst_voices/utilities/poc_local_storage/lib/crypto_service.dart diff --git a/utilities/poc_local_storage/lib/file_picker_service.dart b/catalyst_voices/utilities/poc_local_storage/lib/file_picker_service.dart similarity index 100% rename from utilities/poc_local_storage/lib/file_picker_service.dart rename to catalyst_voices/utilities/poc_local_storage/lib/file_picker_service.dart diff --git a/utilities/poc_local_storage/lib/home_screen.dart b/catalyst_voices/utilities/poc_local_storage/lib/home_screen.dart similarity index 100% rename from utilities/poc_local_storage/lib/home_screen.dart rename to catalyst_voices/utilities/poc_local_storage/lib/home_screen.dart diff --git a/utilities/poc_local_storage/lib/main.dart b/catalyst_voices/utilities/poc_local_storage/lib/main.dart similarity index 100% rename from utilities/poc_local_storage/lib/main.dart rename to catalyst_voices/utilities/poc_local_storage/lib/main.dart diff --git a/utilities/poc_local_storage/lib/password_entry_screen.dart b/catalyst_voices/utilities/poc_local_storage/lib/password_entry_screen.dart similarity index 100% rename from utilities/poc_local_storage/lib/password_entry_screen.dart rename to catalyst_voices/utilities/poc_local_storage/lib/password_entry_screen.dart diff --git a/utilities/poc_local_storage/lib/protected_screen.dart b/catalyst_voices/utilities/poc_local_storage/lib/protected_screen.dart similarity index 100% rename from utilities/poc_local_storage/lib/protected_screen.dart rename to catalyst_voices/utilities/poc_local_storage/lib/protected_screen.dart diff --git a/utilities/poc_local_storage/lib/secure_certificate_repository.dart b/catalyst_voices/utilities/poc_local_storage/lib/secure_certificate_repository.dart similarity index 100% rename from utilities/poc_local_storage/lib/secure_certificate_repository.dart rename to catalyst_voices/utilities/poc_local_storage/lib/secure_certificate_repository.dart diff --git a/utilities/poc_local_storage/lib/secure_storage_service.dart b/catalyst_voices/utilities/poc_local_storage/lib/secure_storage_service.dart similarity index 100% rename from utilities/poc_local_storage/lib/secure_storage_service.dart rename to catalyst_voices/utilities/poc_local_storage/lib/secure_storage_service.dart diff --git a/utilities/poc_local_storage/linux/.gitignore b/catalyst_voices/utilities/poc_local_storage/linux/.gitignore similarity index 100% rename from utilities/poc_local_storage/linux/.gitignore rename to catalyst_voices/utilities/poc_local_storage/linux/.gitignore diff --git a/utilities/poc_local_storage/linux/CMakeLists.txt b/catalyst_voices/utilities/poc_local_storage/linux/CMakeLists.txt similarity index 100% rename from utilities/poc_local_storage/linux/CMakeLists.txt rename to catalyst_voices/utilities/poc_local_storage/linux/CMakeLists.txt diff --git a/utilities/poc_local_storage/linux/flutter/CMakeLists.txt b/catalyst_voices/utilities/poc_local_storage/linux/flutter/CMakeLists.txt similarity index 100% rename from utilities/poc_local_storage/linux/flutter/CMakeLists.txt rename to catalyst_voices/utilities/poc_local_storage/linux/flutter/CMakeLists.txt diff --git a/utilities/poc_local_storage/linux/flutter/generated_plugin_registrant.cc b/catalyst_voices/utilities/poc_local_storage/linux/flutter/generated_plugin_registrant.cc similarity index 100% rename from utilities/poc_local_storage/linux/flutter/generated_plugin_registrant.cc rename to catalyst_voices/utilities/poc_local_storage/linux/flutter/generated_plugin_registrant.cc diff --git a/utilities/poc_local_storage/linux/flutter/generated_plugin_registrant.h b/catalyst_voices/utilities/poc_local_storage/linux/flutter/generated_plugin_registrant.h similarity index 100% rename from utilities/poc_local_storage/linux/flutter/generated_plugin_registrant.h rename to catalyst_voices/utilities/poc_local_storage/linux/flutter/generated_plugin_registrant.h diff --git a/utilities/poc_local_storage/linux/flutter/generated_plugins.cmake b/catalyst_voices/utilities/poc_local_storage/linux/flutter/generated_plugins.cmake similarity index 100% rename from utilities/poc_local_storage/linux/flutter/generated_plugins.cmake rename to catalyst_voices/utilities/poc_local_storage/linux/flutter/generated_plugins.cmake diff --git a/utilities/poc_local_storage/linux/main.cc b/catalyst_voices/utilities/poc_local_storage/linux/main.cc similarity index 100% rename from utilities/poc_local_storage/linux/main.cc rename to catalyst_voices/utilities/poc_local_storage/linux/main.cc diff --git a/utilities/poc_local_storage/linux/my_application.cc b/catalyst_voices/utilities/poc_local_storage/linux/my_application.cc similarity index 100% rename from utilities/poc_local_storage/linux/my_application.cc rename to catalyst_voices/utilities/poc_local_storage/linux/my_application.cc diff --git a/utilities/poc_local_storage/linux/my_application.h b/catalyst_voices/utilities/poc_local_storage/linux/my_application.h similarity index 100% rename from utilities/poc_local_storage/linux/my_application.h rename to catalyst_voices/utilities/poc_local_storage/linux/my_application.h diff --git a/utilities/poc_local_storage/macos/.gitignore b/catalyst_voices/utilities/poc_local_storage/macos/.gitignore similarity index 100% rename from utilities/poc_local_storage/macos/.gitignore rename to catalyst_voices/utilities/poc_local_storage/macos/.gitignore diff --git a/utilities/poc_local_storage/macos/Flutter/Flutter-Debug.xcconfig b/catalyst_voices/utilities/poc_local_storage/macos/Flutter/Flutter-Debug.xcconfig similarity index 100% rename from utilities/poc_local_storage/macos/Flutter/Flutter-Debug.xcconfig rename to catalyst_voices/utilities/poc_local_storage/macos/Flutter/Flutter-Debug.xcconfig diff --git a/utilities/poc_local_storage/macos/Flutter/Flutter-Release.xcconfig b/catalyst_voices/utilities/poc_local_storage/macos/Flutter/Flutter-Release.xcconfig similarity index 100% rename from utilities/poc_local_storage/macos/Flutter/Flutter-Release.xcconfig rename to catalyst_voices/utilities/poc_local_storage/macos/Flutter/Flutter-Release.xcconfig diff --git a/utilities/poc_local_storage/macos/Flutter/GeneratedPluginRegistrant.swift b/catalyst_voices/utilities/poc_local_storage/macos/Flutter/GeneratedPluginRegistrant.swift similarity index 100% rename from utilities/poc_local_storage/macos/Flutter/GeneratedPluginRegistrant.swift rename to catalyst_voices/utilities/poc_local_storage/macos/Flutter/GeneratedPluginRegistrant.swift diff --git a/utilities/poc_local_storage/macos/Podfile b/catalyst_voices/utilities/poc_local_storage/macos/Podfile similarity index 100% rename from utilities/poc_local_storage/macos/Podfile rename to catalyst_voices/utilities/poc_local_storage/macos/Podfile diff --git a/utilities/poc_local_storage/macos/Runner.xcodeproj/project.pbxproj b/catalyst_voices/utilities/poc_local_storage/macos/Runner.xcodeproj/project.pbxproj similarity index 100% rename from utilities/poc_local_storage/macos/Runner.xcodeproj/project.pbxproj rename to catalyst_voices/utilities/poc_local_storage/macos/Runner.xcodeproj/project.pbxproj diff --git a/utilities/poc_local_storage/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/utilities/poc_local_storage/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from utilities/poc_local_storage/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/utilities/poc_local_storage/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/utilities/poc_local_storage/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/catalyst_voices/utilities/poc_local_storage/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from utilities/poc_local_storage/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to catalyst_voices/utilities/poc_local_storage/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/utilities/poc_local_storage/macos/Runner.xcworkspace/contents.xcworkspacedata b/catalyst_voices/utilities/poc_local_storage/macos/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from utilities/poc_local_storage/macos/Runner.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/utilities/poc_local_storage/macos/Runner.xcworkspace/contents.xcworkspacedata diff --git a/utilities/poc_local_storage/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/utilities/poc_local_storage/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from utilities/poc_local_storage/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/utilities/poc_local_storage/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/utilities/poc_local_storage/macos/Runner/AppDelegate.swift b/catalyst_voices/utilities/poc_local_storage/macos/Runner/AppDelegate.swift similarity index 100% rename from utilities/poc_local_storage/macos/Runner/AppDelegate.swift rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/AppDelegate.swift diff --git a/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png similarity index 100% rename from utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png diff --git a/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png similarity index 100% rename from utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png diff --git a/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png similarity index 100% rename from utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png diff --git a/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png similarity index 100% rename from utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png diff --git a/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png similarity index 100% rename from utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png diff --git a/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png similarity index 100% rename from utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png diff --git a/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png similarity index 100% rename from utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png diff --git a/utilities/poc_local_storage/macos/Runner/Base.lproj/MainMenu.xib b/catalyst_voices/utilities/poc_local_storage/macos/Runner/Base.lproj/MainMenu.xib similarity index 100% rename from utilities/poc_local_storage/macos/Runner/Base.lproj/MainMenu.xib rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/Base.lproj/MainMenu.xib diff --git a/utilities/poc_local_storage/macos/Runner/Configs/AppInfo.xcconfig b/catalyst_voices/utilities/poc_local_storage/macos/Runner/Configs/AppInfo.xcconfig similarity index 100% rename from utilities/poc_local_storage/macos/Runner/Configs/AppInfo.xcconfig rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/Configs/AppInfo.xcconfig diff --git a/utilities/poc_local_storage/macos/Runner/Configs/Debug.xcconfig b/catalyst_voices/utilities/poc_local_storage/macos/Runner/Configs/Debug.xcconfig similarity index 100% rename from utilities/poc_local_storage/macos/Runner/Configs/Debug.xcconfig rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/Configs/Debug.xcconfig diff --git a/utilities/poc_local_storage/macos/Runner/Configs/Release.xcconfig b/catalyst_voices/utilities/poc_local_storage/macos/Runner/Configs/Release.xcconfig similarity index 100% rename from utilities/poc_local_storage/macos/Runner/Configs/Release.xcconfig rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/Configs/Release.xcconfig diff --git a/utilities/poc_local_storage/macos/Runner/Configs/Warnings.xcconfig b/catalyst_voices/utilities/poc_local_storage/macos/Runner/Configs/Warnings.xcconfig similarity index 100% rename from utilities/poc_local_storage/macos/Runner/Configs/Warnings.xcconfig rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/Configs/Warnings.xcconfig diff --git a/utilities/poc_local_storage/macos/Runner/DebugProfile.entitlements b/catalyst_voices/utilities/poc_local_storage/macos/Runner/DebugProfile.entitlements similarity index 100% rename from utilities/poc_local_storage/macos/Runner/DebugProfile.entitlements rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/DebugProfile.entitlements diff --git a/utilities/poc_local_storage/macos/Runner/Info.plist b/catalyst_voices/utilities/poc_local_storage/macos/Runner/Info.plist similarity index 100% rename from utilities/poc_local_storage/macos/Runner/Info.plist rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/Info.plist diff --git a/utilities/poc_local_storage/macos/Runner/MainFlutterWindow.swift b/catalyst_voices/utilities/poc_local_storage/macos/Runner/MainFlutterWindow.swift similarity index 100% rename from utilities/poc_local_storage/macos/Runner/MainFlutterWindow.swift rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/MainFlutterWindow.swift diff --git a/utilities/poc_local_storage/macos/Runner/Release.entitlements b/catalyst_voices/utilities/poc_local_storage/macos/Runner/Release.entitlements similarity index 100% rename from utilities/poc_local_storage/macos/Runner/Release.entitlements rename to catalyst_voices/utilities/poc_local_storage/macos/Runner/Release.entitlements diff --git a/utilities/poc_local_storage/macos/RunnerTests/RunnerTests.swift b/catalyst_voices/utilities/poc_local_storage/macos/RunnerTests/RunnerTests.swift similarity index 100% rename from utilities/poc_local_storage/macos/RunnerTests/RunnerTests.swift rename to catalyst_voices/utilities/poc_local_storage/macos/RunnerTests/RunnerTests.swift diff --git a/utilities/poc_local_storage/package-lock.json b/catalyst_voices/utilities/poc_local_storage/package-lock.json similarity index 100% rename from utilities/poc_local_storage/package-lock.json rename to catalyst_voices/utilities/poc_local_storage/package-lock.json diff --git a/utilities/poc_local_storage/pubspec.yaml b/catalyst_voices/utilities/poc_local_storage/pubspec.yaml similarity index 87% rename from utilities/poc_local_storage/pubspec.yaml rename to catalyst_voices/utilities/poc_local_storage/pubspec.yaml index 9a0b93a197..152bee261b 100644 --- a/utilities/poc_local_storage/pubspec.yaml +++ b/catalyst_voices/utilities/poc_local_storage/pubspec.yaml @@ -1,6 +1,6 @@ name: poc_local_storage description: "A new Flutter project." -publish_to: "none" # Remove this line if you wish to publish to pub.dev +publish_to: none version: 1.0.0+1 diff --git a/utilities/poc_local_storage/web/favicon.png b/catalyst_voices/utilities/poc_local_storage/web/favicon.png similarity index 100% rename from utilities/poc_local_storage/web/favicon.png rename to catalyst_voices/utilities/poc_local_storage/web/favicon.png diff --git a/utilities/poc_local_storage/web/icons/Icon-192.png b/catalyst_voices/utilities/poc_local_storage/web/icons/Icon-192.png similarity index 100% rename from utilities/poc_local_storage/web/icons/Icon-192.png rename to catalyst_voices/utilities/poc_local_storage/web/icons/Icon-192.png diff --git a/utilities/poc_local_storage/web/icons/Icon-512.png b/catalyst_voices/utilities/poc_local_storage/web/icons/Icon-512.png similarity index 100% rename from utilities/poc_local_storage/web/icons/Icon-512.png rename to catalyst_voices/utilities/poc_local_storage/web/icons/Icon-512.png diff --git a/utilities/poc_local_storage/web/icons/Icon-maskable-192.png b/catalyst_voices/utilities/poc_local_storage/web/icons/Icon-maskable-192.png similarity index 100% rename from utilities/poc_local_storage/web/icons/Icon-maskable-192.png rename to catalyst_voices/utilities/poc_local_storage/web/icons/Icon-maskable-192.png diff --git a/utilities/poc_local_storage/web/icons/Icon-maskable-512.png b/catalyst_voices/utilities/poc_local_storage/web/icons/Icon-maskable-512.png similarity index 100% rename from utilities/poc_local_storage/web/icons/Icon-maskable-512.png rename to catalyst_voices/utilities/poc_local_storage/web/icons/Icon-maskable-512.png diff --git a/utilities/poc_local_storage/web/index.html b/catalyst_voices/utilities/poc_local_storage/web/index.html similarity index 100% rename from utilities/poc_local_storage/web/index.html rename to catalyst_voices/utilities/poc_local_storage/web/index.html diff --git a/utilities/poc_local_storage/web/manifest.json b/catalyst_voices/utilities/poc_local_storage/web/manifest.json similarity index 100% rename from utilities/poc_local_storage/web/manifest.json rename to catalyst_voices/utilities/poc_local_storage/web/manifest.json diff --git a/utilities/poc_local_storage/windows/.gitignore b/catalyst_voices/utilities/poc_local_storage/windows/.gitignore similarity index 100% rename from utilities/poc_local_storage/windows/.gitignore rename to catalyst_voices/utilities/poc_local_storage/windows/.gitignore diff --git a/utilities/poc_local_storage/windows/CMakeLists.txt b/catalyst_voices/utilities/poc_local_storage/windows/CMakeLists.txt similarity index 100% rename from utilities/poc_local_storage/windows/CMakeLists.txt rename to catalyst_voices/utilities/poc_local_storage/windows/CMakeLists.txt diff --git a/utilities/poc_local_storage/windows/flutter/CMakeLists.txt b/catalyst_voices/utilities/poc_local_storage/windows/flutter/CMakeLists.txt similarity index 100% rename from utilities/poc_local_storage/windows/flutter/CMakeLists.txt rename to catalyst_voices/utilities/poc_local_storage/windows/flutter/CMakeLists.txt diff --git a/utilities/poc_local_storage/windows/flutter/generated_plugin_registrant.cc b/catalyst_voices/utilities/poc_local_storage/windows/flutter/generated_plugin_registrant.cc similarity index 100% rename from utilities/poc_local_storage/windows/flutter/generated_plugin_registrant.cc rename to catalyst_voices/utilities/poc_local_storage/windows/flutter/generated_plugin_registrant.cc diff --git a/utilities/poc_local_storage/windows/flutter/generated_plugin_registrant.h b/catalyst_voices/utilities/poc_local_storage/windows/flutter/generated_plugin_registrant.h similarity index 100% rename from utilities/poc_local_storage/windows/flutter/generated_plugin_registrant.h rename to catalyst_voices/utilities/poc_local_storage/windows/flutter/generated_plugin_registrant.h diff --git a/utilities/poc_local_storage/windows/flutter/generated_plugins.cmake b/catalyst_voices/utilities/poc_local_storage/windows/flutter/generated_plugins.cmake similarity index 100% rename from utilities/poc_local_storage/windows/flutter/generated_plugins.cmake rename to catalyst_voices/utilities/poc_local_storage/windows/flutter/generated_plugins.cmake diff --git a/utilities/poc_local_storage/windows/runner/CMakeLists.txt b/catalyst_voices/utilities/poc_local_storage/windows/runner/CMakeLists.txt similarity index 100% rename from utilities/poc_local_storage/windows/runner/CMakeLists.txt rename to catalyst_voices/utilities/poc_local_storage/windows/runner/CMakeLists.txt diff --git a/utilities/poc_local_storage/windows/runner/Runner.rc b/catalyst_voices/utilities/poc_local_storage/windows/runner/Runner.rc similarity index 100% rename from utilities/poc_local_storage/windows/runner/Runner.rc rename to catalyst_voices/utilities/poc_local_storage/windows/runner/Runner.rc diff --git a/utilities/poc_local_storage/windows/runner/flutter_window.cpp b/catalyst_voices/utilities/poc_local_storage/windows/runner/flutter_window.cpp similarity index 100% rename from utilities/poc_local_storage/windows/runner/flutter_window.cpp rename to catalyst_voices/utilities/poc_local_storage/windows/runner/flutter_window.cpp diff --git a/utilities/poc_local_storage/windows/runner/flutter_window.h b/catalyst_voices/utilities/poc_local_storage/windows/runner/flutter_window.h similarity index 100% rename from utilities/poc_local_storage/windows/runner/flutter_window.h rename to catalyst_voices/utilities/poc_local_storage/windows/runner/flutter_window.h diff --git a/utilities/poc_local_storage/windows/runner/main.cpp b/catalyst_voices/utilities/poc_local_storage/windows/runner/main.cpp similarity index 100% rename from utilities/poc_local_storage/windows/runner/main.cpp rename to catalyst_voices/utilities/poc_local_storage/windows/runner/main.cpp diff --git a/utilities/poc_local_storage/windows/runner/resource.h b/catalyst_voices/utilities/poc_local_storage/windows/runner/resource.h similarity index 100% rename from utilities/poc_local_storage/windows/runner/resource.h rename to catalyst_voices/utilities/poc_local_storage/windows/runner/resource.h diff --git a/utilities/poc_local_storage/windows/runner/resources/app_icon.ico b/catalyst_voices/utilities/poc_local_storage/windows/runner/resources/app_icon.ico similarity index 100% rename from utilities/poc_local_storage/windows/runner/resources/app_icon.ico rename to catalyst_voices/utilities/poc_local_storage/windows/runner/resources/app_icon.ico diff --git a/utilities/poc_local_storage/windows/runner/runner.exe.manifest b/catalyst_voices/utilities/poc_local_storage/windows/runner/runner.exe.manifest similarity index 100% rename from utilities/poc_local_storage/windows/runner/runner.exe.manifest rename to catalyst_voices/utilities/poc_local_storage/windows/runner/runner.exe.manifest diff --git a/utilities/poc_local_storage/windows/runner/utils.cpp b/catalyst_voices/utilities/poc_local_storage/windows/runner/utils.cpp similarity index 100% rename from utilities/poc_local_storage/windows/runner/utils.cpp rename to catalyst_voices/utilities/poc_local_storage/windows/runner/utils.cpp diff --git a/utilities/poc_local_storage/windows/runner/utils.h b/catalyst_voices/utilities/poc_local_storage/windows/runner/utils.h similarity index 100% rename from utilities/poc_local_storage/windows/runner/utils.h rename to catalyst_voices/utilities/poc_local_storage/windows/runner/utils.h diff --git a/utilities/poc_local_storage/windows/runner/win32_window.cpp b/catalyst_voices/utilities/poc_local_storage/windows/runner/win32_window.cpp similarity index 100% rename from utilities/poc_local_storage/windows/runner/win32_window.cpp rename to catalyst_voices/utilities/poc_local_storage/windows/runner/win32_window.cpp diff --git a/utilities/poc_local_storage/windows/runner/win32_window.h b/catalyst_voices/utilities/poc_local_storage/windows/runner/win32_window.h similarity index 100% rename from utilities/poc_local_storage/windows/runner/win32_window.h rename to catalyst_voices/utilities/poc_local_storage/windows/runner/win32_window.h diff --git a/melos.yaml b/melos.yaml index 2ac660786b..0f21882a52 100644 --- a/melos.yaml +++ b/melos.yaml @@ -3,7 +3,7 @@ repository: https://github.com/input-output-hk/catalyst-voices packages: - catalyst_voices - - catalyst_voices/utilities/uikit_example + - catalyst_voices/utilities/** - catalyst_voices/packages/** - catalyst_voices_packages/** - utilities/** From c90d39205ff13e72980defa4e8f2d4bb8097a40d Mon Sep 17 00:00:00 2001 From: bkioshn Date: Tue, 29 Oct 2024 19:32:35 +0700 Subject: [PATCH 05/89] fix: key derivation implementation Signed-off-by: bkioshn --- .../example/lib/main.dart | 7 +- .../lib/src/rust/api/key_derivation.dart | 63 ++++++++ .../lib/src/rust/frb_generated.dart | 133 ++++++++++++++- .../lib/src/rust/frb_generated.io.dart | 29 ++++ .../lib/src/rust/frb_generated.web.dart | 29 ++++ .../rust/src/api/key_derivation/mod.rs | 26 ++- .../rust/src/frb_generated.rs | 153 +++++++++++++++++- 7 files changed, 416 insertions(+), 24 deletions(-) create mode 100644 catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart b/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart index 67a3d21e13..12a07ddda4 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart @@ -37,9 +37,10 @@ class MyApp extends StatelessWidget { Future _doMagic() async { // ignore: avoid_print - U8Array96 x = await mnemonicToXprv( + U8Array96 xprv = await mnemonicToXprv( mnemonic: "prevent company field green slot measure chief hero apple task eagle sunset endorse dress seed"); - print(x); - // deriveXprivateKey(xprivateKey: x, path: "m/1852'/1815'/0'/2/0"); + print(xprv); + U8Array96 derive_xprv = await deriveXprivateKey(xprivateKey: xprv, path: "m/1852'/1815'/0'/2/0"); + print(derive_xprv); } } diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart new file mode 100644 index 0000000000..9cd3ec7a48 --- /dev/null +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart @@ -0,0 +1,63 @@ +// This file is automatically generated, so please do not edit it. +// @generated by `flutter_rust_bridge`@ 2.5.1. + +// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import + +import '../frb_generated.dart'; +import 'package:collection/collection.dart'; +import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; + +// These functions are ignored because they are not marked as `pub`: `derive_xprivate_key_helper`, `mnemonic_to_xprv_helper` + +/// Generate a new extended private key (`XPrv`) from a mnemonic and passphrase. +/// This function works with BIP-0039 mnemonics. +/// For more information: Cardano Icarus master node derivation +/// https://github.com/satoshilabs/slips/blob/master/slip-0023.md +/// +/// # Arguments +/// +/// - `mnemonic`: A string representing the mnemonic. +/// - `passphrase`: An optional string representing the passphrase. +/// +/// # Returns +/// +/// Returns the `XPrv` extended private key as a `Result`. +/// If the conversion is successful, it returns `Ok` with the extended private key +/// (`XPrv`). +Future mnemonicToXprv( + {required String mnemonic, String? passphrase}) => + RustLib.instance.api.crateApiKeyDerivationMnemonicToXprv( + mnemonic: mnemonic, passphrase: passphrase); + +/// Derive a new extended private key from the given extended private key. +/// - V2 derivation scheme is used as it is mention in [SLIP-0023](https://github.com/satoshilabs/slips/blob/master/slip-0023.md). +/// - More information about child key derivation can be found in [BIP32-Ed25519](https://input-output-hk.github.io/adrestia/static/Ed25519_BIP.pdf). +/// +/// # Arguments +/// +/// - `xprivate_key`: An extended private key of type `XPrv`. +/// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. +/// +/// # Returns +/// +/// Returns the `XPrv` extended private key as a `Result`. +/// If the derivation path is successful, it returns `Ok` with the extended private key +/// (`XPrv`). +Future deriveXprivateKey( + {required U8Array96 xprivateKey, required String path}) => + RustLib.instance.api.crateApiKeyDerivationDeriveXprivateKey( + xprivateKey: xprivateKey, path: path); + +class U8Array96 extends NonGrowableListView { + static const arraySize = 96; + + @internal + Uint8List get inner => _inner; + final Uint8List _inner; + + U8Array96(this._inner) + : assert(_inner.length == arraySize), + super(_inner); + + U8Array96.init() : this(Uint8List(arraySize)); +} diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart index 0762363c50..76545f3ec3 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart @@ -3,6 +3,7 @@ // ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field +import 'api/key_derivation.dart'; import 'api/simple.dart'; import 'dart:async'; import 'dart:convert'; @@ -68,7 +69,7 @@ class RustLib extends BaseEntrypoint { String get codegenVersion => '2.5.1'; @override - int get rustContentHash => -1918914929; + int get rustContentHash => 424624821; static const kDefaultExternalLibraryLoaderConfig = ExternalLibraryLoaderConfig( @@ -79,6 +80,12 @@ class RustLib extends BaseEntrypoint { } abstract class RustLibApi extends BaseApi { + Future crateApiKeyDerivationDeriveXprivateKey( + {required U8Array96 xprivateKey, required String path}); + + Future crateApiKeyDerivationMnemonicToXprv( + {required String mnemonic, String? passphrase}); + Future crateApiSimpleGreet({required String name}); Future crateApiSimpleInitApp(); @@ -92,6 +99,60 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { required super.portManager, }); + @override + Future crateApiKeyDerivationDeriveXprivateKey( + {required U8Array96 xprivateKey, required String path}) { + return handler.executeNormal(NormalTask( + callFfi: (port_) { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_u_8_array_96(xprivateKey, serializer); + sse_encode_String(path, serializer); + pdeCallFfi(generalizedFrbRustBinding, serializer, + funcId: 1, port: port_); + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_96, + decodeErrorData: sse_decode_AnyhowException, + ), + constMeta: kCrateApiKeyDerivationDeriveXprivateKeyConstMeta, + argValues: [xprivateKey, path], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationDeriveXprivateKeyConstMeta => + const TaskConstMeta( + debugName: "derive_xprivate_key", + argNames: ["xprivateKey", "path"], + ); + + @override + Future crateApiKeyDerivationMnemonicToXprv( + {required String mnemonic, String? passphrase}) { + return handler.executeNormal(NormalTask( + callFfi: (port_) { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_String(mnemonic, serializer); + sse_encode_opt_String(passphrase, serializer); + pdeCallFfi(generalizedFrbRustBinding, serializer, + funcId: 2, port: port_); + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_96, + decodeErrorData: sse_decode_AnyhowException, + ), + constMeta: kCrateApiKeyDerivationMnemonicToXprvConstMeta, + argValues: [mnemonic, passphrase], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationMnemonicToXprvConstMeta => + const TaskConstMeta( + debugName: "mnemonic_to_xprv", + argNames: ["mnemonic", "passphrase"], + ); + @override Future crateApiSimpleGreet({required String name}) { return handler.executeNormal(NormalTask( @@ -99,7 +160,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_String(name, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 1, port: port_); + funcId: 3, port: port_); }, codec: SseCodec( decodeSuccessData: sse_decode_String, @@ -122,7 +183,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { callFfi: (port_) { final serializer = SseSerializer(generalizedFrbRustBinding); pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 2, port: port_); + funcId: 4, port: port_); }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -139,6 +200,12 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { argNames: [], ); + @protected + AnyhowException dco_decode_AnyhowException(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return AnyhowException(raw as String); + } + @protected String dco_decode_String(dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs @@ -151,18 +218,37 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { return raw as Uint8List; } + @protected + String? dco_decode_opt_String(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return raw == null ? null : dco_decode_String(raw); + } + @protected int dco_decode_u_8(dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs return raw as int; } + @protected + U8Array96 dco_decode_u_8_array_96(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return U8Array96(dco_decode_list_prim_u_8_strict(raw)); + } + @protected void dco_decode_unit(dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs return; } + @protected + AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + var inner = sse_decode_String(deserializer); + return AnyhowException(inner); + } + @protected String sse_decode_String(SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs @@ -177,12 +263,30 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { return deserializer.buffer.getUint8List(len_); } + @protected + String? sse_decode_opt_String(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + + if (sse_decode_bool(deserializer)) { + return (sse_decode_String(deserializer)); + } else { + return null; + } + } + @protected int sse_decode_u_8(SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs return deserializer.buffer.getUint8(); } + @protected + U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + var inner = sse_decode_list_prim_u_8_strict(deserializer); + return U8Array96(inner); + } + @protected void sse_decode_unit(SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs @@ -200,6 +304,13 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { return deserializer.buffer.getUint8() != 0; } + @protected + void sse_encode_AnyhowException( + AnyhowException self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_String(self.message, serializer); + } + @protected void sse_encode_String(String self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs @@ -214,12 +325,28 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { serializer.buffer.putUint8List(self); } + @protected + void sse_encode_opt_String(String? self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + + sse_encode_bool(self != null, serializer); + if (self != null) { + sse_encode_String(self, serializer); + } + } + @protected void sse_encode_u_8(int self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs serializer.buffer.putUint8(self); } + @protected + void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_list_prim_u_8_strict(self.inner, serializer); + } + @protected void sse_encode_unit(void self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart index f0efd01307..6c3c2468df 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart @@ -3,6 +3,7 @@ // ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field +import 'api/key_derivation.dart'; import 'api/simple.dart'; import 'dart:async'; import 'dart:convert'; @@ -18,27 +19,45 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { required super.portManager, }); + @protected + AnyhowException dco_decode_AnyhowException(dynamic raw); + @protected String dco_decode_String(dynamic raw); @protected Uint8List dco_decode_list_prim_u_8_strict(dynamic raw); + @protected + String? dco_decode_opt_String(dynamic raw); + @protected int dco_decode_u_8(dynamic raw); + @protected + U8Array96 dco_decode_u_8_array_96(dynamic raw); + @protected void dco_decode_unit(dynamic raw); + @protected + AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer); + @protected String sse_decode_String(SseDeserializer deserializer); @protected Uint8List sse_decode_list_prim_u_8_strict(SseDeserializer deserializer); + @protected + String? sse_decode_opt_String(SseDeserializer deserializer); + @protected int sse_decode_u_8(SseDeserializer deserializer); + @protected + U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer); + @protected void sse_decode_unit(SseDeserializer deserializer); @@ -48,6 +67,10 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected bool sse_decode_bool(SseDeserializer deserializer); + @protected + void sse_encode_AnyhowException( + AnyhowException self, SseSerializer serializer); + @protected void sse_encode_String(String self, SseSerializer serializer); @@ -55,9 +78,15 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { void sse_encode_list_prim_u_8_strict( Uint8List self, SseSerializer serializer); + @protected + void sse_encode_opt_String(String? self, SseSerializer serializer); + @protected void sse_encode_u_8(int self, SseSerializer serializer); + @protected + void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer); + @protected void sse_encode_unit(void self, SseSerializer serializer); diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart index 2b2640718a..4e5bdb78b2 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart @@ -6,6 +6,7 @@ // Static analysis wrongly picks the IO variant, thus ignore this // ignore_for_file: argument_type_not_assignable +import 'api/key_derivation.dart'; import 'api/simple.dart'; import 'dart:async'; import 'dart:convert'; @@ -20,27 +21,45 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { required super.portManager, }); + @protected + AnyhowException dco_decode_AnyhowException(dynamic raw); + @protected String dco_decode_String(dynamic raw); @protected Uint8List dco_decode_list_prim_u_8_strict(dynamic raw); + @protected + String? dco_decode_opt_String(dynamic raw); + @protected int dco_decode_u_8(dynamic raw); + @protected + U8Array96 dco_decode_u_8_array_96(dynamic raw); + @protected void dco_decode_unit(dynamic raw); + @protected + AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer); + @protected String sse_decode_String(SseDeserializer deserializer); @protected Uint8List sse_decode_list_prim_u_8_strict(SseDeserializer deserializer); + @protected + String? sse_decode_opt_String(SseDeserializer deserializer); + @protected int sse_decode_u_8(SseDeserializer deserializer); + @protected + U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer); + @protected void sse_decode_unit(SseDeserializer deserializer); @@ -50,6 +69,10 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected bool sse_decode_bool(SseDeserializer deserializer); + @protected + void sse_encode_AnyhowException( + AnyhowException self, SseSerializer serializer); + @protected void sse_encode_String(String self, SseSerializer serializer); @@ -57,9 +80,15 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { void sse_encode_list_prim_u_8_strict( Uint8List self, SseSerializer serializer); + @protected + void sse_encode_opt_String(String? self, SseSerializer serializer); + @protected void sse_encode_u_8(int self, SseSerializer serializer); + @protected + void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer); + @protected void sse_encode_unit(void self, SseSerializer serializer); diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs index 9c03c0bc54..52ebaff5ff 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs @@ -5,13 +5,12 @@ use bip39::Mnemonic; pub use ed25519_bip32::DerivationIndex; pub use ed25519_bip32::DerivationScheme; pub use ed25519_bip32::XPrv; -use ed25519_bip32::XPRV_SIZE; -use flutter_rust_bridge::frb; use hmac::Hmac; use pbkdf2::pbkdf2; use sha2::Sha512; - +/// Extended private key bytes type +pub type XPrvBytes = [u8; 96]; /// Generate a new extended private key (`XPrv`) from a mnemonic and passphrase. /// This function works with BIP-0039 mnemonics. @@ -28,11 +27,9 @@ use sha2::Sha512; /// Returns the `XPrv` extended private key as a `Result`. /// If the conversion is successful, it returns `Ok` with the extended private key /// (`XPrv`). -pub fn mnemonic_to_xprv(mnemonic: String, passphrase: Option) -> anyhow::Result<[u8; XPRV_SIZE]> { - match mnemonic_to_xprv_helper(mnemonic, passphrase) { - Ok(xprv) => Ok(xprv.into()), - Err(e) => Err(e), - } +pub fn mnemonic_to_xprv(mnemonic: String, passphrase: Option) -> anyhow::Result { + let xprv = mnemonic_to_xprv_helper(mnemonic, passphrase)?; + Ok(xprv.into()) } /// Helper function for mnemonic_to_xprv. @@ -64,7 +61,7 @@ fn mnemonic_to_xprv_helper(mnemonic: String, passphrase: Option) -> anyh /// /// # Arguments /// -/// - `xprivate_key`: An extended private key of type `XPrv`. +/// - `xprivate_key_bytes`: An extended private key of type `XPrvBytes`. /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. /// /// # Returns @@ -72,11 +69,10 @@ fn mnemonic_to_xprv_helper(mnemonic: String, passphrase: Option) -> anyh /// Returns the `XPrv` extended private key as a `Result`. /// If the derivation path is successful, it returns `Ok` with the extended private key /// (`XPrv`). -pub fn derive_xprivate_key(xprivate_key: XPrv, path: String) -> anyhow::Result<[u8; XPRV_SIZE]> { - match derive_xprivate_key_helper(xprivate_key, path) { - Ok(xprv) => Ok(xprv.into()), - Err(e) => Err(e), - } +pub fn derive_xprivate_key(xprivate_key_bytes: XPrvBytes, path: String) -> anyhow::Result { + let xprv = XPrv::from_bytes_verified(xprivate_key_bytes)?; + let derive_xprv = derive_xprivate_key_helper(xprv, path)?; + Ok(derive_xprv.into()) } /// Helper function for `derive_xprivate_key``. @@ -111,7 +107,7 @@ mod test { // Test vector from https://cips.cardano.org/cip/CIP-0011 #[test] fn test_key_derivation() { - let xprv = XPrv::from_bytes_verified(mnemonic_to_xprv(MNEMONIC.to_string(), None).unwrap()).unwrap(); + let xprv = mnemonic_to_xprv(MNEMONIC.to_string(), None).unwrap(); let path = "m/1852'/1815'/0'/2/0".to_string(); let derive_xprv = XPrv::from_bytes_verified(derive_xprivate_key(xprv, path).unwrap()).unwrap(); assert_eq!(derive_xprv.to_string(), diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs index 74519579b8..e40b566b40 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs @@ -37,7 +37,7 @@ flutter_rust_bridge::frb_generated_boilerplate!( default_rust_auto_opaque = RustAutoOpaqueMoi, ); pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.5.1"; -pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = -1918914929; +pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = 424624821; // Section: executor @@ -45,6 +45,84 @@ flutter_rust_bridge::frb_generated_default_handler!(); // Section: wire_funcs +fn wire__crate__api__key_derivation__derive_xprivate_key_impl( + port_: flutter_rust_bridge::for_generated::MessagePort, + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, + rust_vec_len_: i32, + data_len_: i32, +) { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_normal::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "derive_xprivate_key", + port: Some(port_), + mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_xprivate_key = <[u8; 96]>::sse_decode(&mut deserializer); + let api_path = ::sse_decode(&mut deserializer); + deserializer.end(); + move |context| { + transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( + (move || { + let output_ok = crate::api::key_derivation::derive_xprivate_key( + api_xprivate_key, + api_path, + )?; + Ok(output_ok) + })(), + ) + } + }, + ) +} +fn wire__crate__api__key_derivation__mnemonic_to_xprv_impl( + port_: flutter_rust_bridge::for_generated::MessagePort, + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, + rust_vec_len_: i32, + data_len_: i32, +) { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_normal::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "mnemonic_to_xprv", + port: Some(port_), + mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_mnemonic = ::sse_decode(&mut deserializer); + let api_passphrase = >::sse_decode(&mut deserializer); + deserializer.end(); + move |context| { + transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( + (move || { + let output_ok = crate::api::key_derivation::mnemonic_to_xprv( + api_mnemonic, + api_passphrase, + )?; + Ok(output_ok) + })(), + ) + } + }, + ) +} fn wire__crate__api__simple__greet_impl( port_: flutter_rust_bridge::for_generated::MessagePort, ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, @@ -119,6 +197,14 @@ fn wire__crate__api__simple__init_app_impl( // Section: dart2rust +impl SseDecode for flutter_rust_bridge::for_generated::anyhow::Error { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = ::sse_decode(deserializer); + return flutter_rust_bridge::for_generated::anyhow::anyhow!("{}", inner); + } +} + impl SseDecode for String { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { @@ -139,6 +225,17 @@ impl SseDecode for Vec { } } +impl SseDecode for Option { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + if (::sse_decode(deserializer)) { + return Some(::sse_decode(deserializer)); + } else { + return None; + } + } +} + impl SseDecode for u8 { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { @@ -146,6 +243,14 @@ impl SseDecode for u8 { } } +impl SseDecode for [u8; 96] { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = >::sse_decode(deserializer); + return flutter_rust_bridge::for_generated::from_vec_to_array(inner); + } +} + impl SseDecode for () { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {} @@ -174,8 +279,20 @@ fn pde_ffi_dispatcher_primary_impl( ) { // Codec=Pde (Serialization + dispatch), see doc to use other codecs match func_id { - 1 => wire__crate__api__simple__greet_impl(port, ptr, rust_vec_len, data_len), - 2 => wire__crate__api__simple__init_app_impl(port, ptr, rust_vec_len, data_len), + 1 => wire__crate__api__key_derivation__derive_xprivate_key_impl( + port, + ptr, + rust_vec_len, + data_len, + ), + 2 => wire__crate__api__key_derivation__mnemonic_to_xprv_impl( + port, + ptr, + rust_vec_len, + data_len, + ), + 3 => wire__crate__api__simple__greet_impl(port, ptr, rust_vec_len, data_len), + 4 => wire__crate__api__simple__init_app_impl(port, ptr, rust_vec_len, data_len), _ => unreachable!(), } } @@ -194,6 +311,13 @@ fn pde_ffi_dispatcher_sync_impl( // Section: rust2dart +impl SseEncode for flutter_rust_bridge::for_generated::anyhow::Error { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + ::sse_encode(format!("{:?}", self), serializer); + } +} + impl SseEncode for String { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { @@ -211,6 +335,16 @@ impl SseEncode for Vec { } } +impl SseEncode for Option { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + ::sse_encode(self.is_some(), serializer); + if let Some(value) = self { + ::sse_encode(value, serializer); + } + } +} + impl SseEncode for u8 { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { @@ -218,6 +352,19 @@ impl SseEncode for u8 { } } +impl SseEncode for [u8; 96] { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + >::sse_encode( + { + let boxed: Box<[_]> = Box::new(self); + boxed.into_vec() + }, + serializer, + ); + } +} + impl SseEncode for () { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) {} From 9be664a84153344212b023785ca0509d8059e796 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Tue, 29 Oct 2024 19:36:58 +0700 Subject: [PATCH 06/89] fix: auto gen file Signed-off-by: bkioshn --- .../catalyst_key_derivation/example/lib/main.dart | 2 +- .../lib/src/rust/api/key_derivation.dart | 6 +++--- .../lib/src/rust/frb_generated.dart | 10 +++++----- .../catalyst_key_derivation/rust/src/frb_generated.rs | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart b/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart index 12a07ddda4..4d7cbd481b 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart @@ -40,7 +40,7 @@ class MyApp extends StatelessWidget { U8Array96 xprv = await mnemonicToXprv( mnemonic: "prevent company field green slot measure chief hero apple task eagle sunset endorse dress seed"); print(xprv); - U8Array96 derive_xprv = await deriveXprivateKey(xprivateKey: xprv, path: "m/1852'/1815'/0'/2/0"); + U8Array96 derive_xprv = await deriveXprivateKey(xprivateKeyBytes: xprv, path: "m/1852'/1815'/0'/2/0"); print(derive_xprv); } } diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart index 9cd3ec7a48..dc1b692951 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart @@ -35,7 +35,7 @@ Future mnemonicToXprv( /// /// # Arguments /// -/// - `xprivate_key`: An extended private key of type `XPrv`. +/// - `xprivate_key_bytes`: An extended private key of type `XPrvBytes`. /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. /// /// # Returns @@ -44,9 +44,9 @@ Future mnemonicToXprv( /// If the derivation path is successful, it returns `Ok` with the extended private key /// (`XPrv`). Future deriveXprivateKey( - {required U8Array96 xprivateKey, required String path}) => + {required U8Array96 xprivateKeyBytes, required String path}) => RustLib.instance.api.crateApiKeyDerivationDeriveXprivateKey( - xprivateKey: xprivateKey, path: path); + xprivateKeyBytes: xprivateKeyBytes, path: path); class U8Array96 extends NonGrowableListView { static const arraySize = 96; diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart index 76545f3ec3..248b600c05 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart @@ -81,7 +81,7 @@ class RustLib extends BaseEntrypoint { abstract class RustLibApi extends BaseApi { Future crateApiKeyDerivationDeriveXprivateKey( - {required U8Array96 xprivateKey, required String path}); + {required U8Array96 xprivateKeyBytes, required String path}); Future crateApiKeyDerivationMnemonicToXprv( {required String mnemonic, String? passphrase}); @@ -101,11 +101,11 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { @override Future crateApiKeyDerivationDeriveXprivateKey( - {required U8Array96 xprivateKey, required String path}) { + {required U8Array96 xprivateKeyBytes, required String path}) { return handler.executeNormal(NormalTask( callFfi: (port_) { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_u_8_array_96(xprivateKey, serializer); + sse_encode_u_8_array_96(xprivateKeyBytes, serializer); sse_encode_String(path, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 1, port: port_); @@ -115,7 +115,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { decodeErrorData: sse_decode_AnyhowException, ), constMeta: kCrateApiKeyDerivationDeriveXprivateKeyConstMeta, - argValues: [xprivateKey, path], + argValues: [xprivateKeyBytes, path], apiImpl: this, )); } @@ -123,7 +123,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { TaskConstMeta get kCrateApiKeyDerivationDeriveXprivateKeyConstMeta => const TaskConstMeta( debugName: "derive_xprivate_key", - argNames: ["xprivateKey", "path"], + argNames: ["xprivateKeyBytes", "path"], ); @override diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs index e40b566b40..bb060eb9f4 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs @@ -67,14 +67,14 @@ fn wire__crate__api__key_derivation__derive_xprivate_key_impl( }; let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_xprivate_key = <[u8; 96]>::sse_decode(&mut deserializer); + let api_xprivate_key_bytes = <[u8; 96]>::sse_decode(&mut deserializer); let api_path = ::sse_decode(&mut deserializer); deserializer.end(); move |context| { transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( (move || { let output_ok = crate::api::key_derivation::derive_xprivate_key( - api_xprivate_key, + api_xprivate_key_bytes, api_path, )?; Ok(output_ok) From 79608580752241c2321e7f40498a5243df71f982 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Tue, 29 Oct 2024 13:40:22 +0100 Subject: [PATCH 07/89] refactor: move catalyst_voices_remote_widgets package to catalyst_voices/utilities dir --- .../catalyst_voices_remote_widgets/.gitignore | 0 .../catalyst_voices_remote_widgets/README.md | 0 .../analysis_options.yaml | 0 .../example/.gitignore | 0 .../example/.metadata | 0 .../example/README.md | 0 .../example/analysis_options.yaml | 0 .../example/android/.gitignore | 0 .../example/android/app/build.gradle | 0 .../android/app/src/debug/AndroidManifest.xml | 0 .../android/app/src/main/AndroidManifest.xml | 0 .../main/kotlin/com/example/example/MainActivity.kt | 0 .../src/main/res/drawable-v21/launch_background.xml | 0 .../app/src/main/res/drawable/launch_background.xml | 0 .../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin .../app/src/main/res/values-night/styles.xml | 0 .../android/app/src/main/res/values/styles.xml | 0 .../android/app/src/profile/AndroidManifest.xml | 0 .../example/android/build.gradle | 0 .../example/android/gradle.properties | 0 .../gradle/wrapper/gradle-wrapper.properties | 0 .../example/android/settings.gradle | 0 .../example/bin/main.dart | 0 .../example/ios/.gitignore | 0 .../example/ios/Flutter/AppFrameworkInfo.plist | 0 .../example/ios/Flutter/Debug.xcconfig | 0 .../example/ios/Flutter/Release.xcconfig | 0 .../example/ios/Runner.xcodeproj/project.pbxproj | 0 .../project.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../ios/Runner.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../example/ios/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin .../AppIcon.appiconset/Icon-App-83.5x83.5@2x.png | Bin .../LaunchImage.imageset/Contents.json | 0 .../LaunchImage.imageset/LaunchImage.png | Bin .../LaunchImage.imageset/LaunchImage@2x.png | Bin .../LaunchImage.imageset/LaunchImage@3x.png | Bin .../Assets.xcassets/LaunchImage.imageset/README.md | 0 .../ios/Runner/Base.lproj/LaunchScreen.storyboard | 0 .../example/ios/Runner/Base.lproj/Main.storyboard | 0 .../example/ios/Runner/Info.plist | 0 .../example/ios/Runner/Runner-Bridging-Header.h | 0 .../example/ios/RunnerTests/RunnerTests.swift | 0 .../example/lib/main.dart | 0 .../example/lib/src/app.dart | 0 .../example/lib/src/home_page.dart | 0 .../example/lib/src/remote_form.dart | 0 .../example/lib/src/widgets/local_widget.dart | 0 .../example/lib/src/widgets/new_local_widget.dart | 0 .../example/linux/.gitignore | 0 .../example/linux/CMakeLists.txt | 0 .../example/linux/flutter/CMakeLists.txt | 0 .../linux/flutter/generated_plugin_registrant.cc | 0 .../linux/flutter/generated_plugin_registrant.h | 0 .../example/linux/flutter/generated_plugins.cmake | 0 .../example/linux/main.cc | 0 .../example/linux/my_application.cc | 0 .../example/linux/my_application.h | 0 .../example/macos/.gitignore | 0 .../example/macos/Flutter/Flutter-Debug.xcconfig | 0 .../example/macos/Flutter/Flutter-Release.xcconfig | 0 .../macos/Flutter/GeneratedPluginRegistrant.swift | 0 .../example/macos/Runner.xcodeproj/project.pbxproj | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../Runner.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../example/macos/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/app_icon_1024.png | Bin .../AppIcon.appiconset/app_icon_128.png | Bin .../AppIcon.appiconset/app_icon_16.png | Bin .../AppIcon.appiconset/app_icon_256.png | Bin .../AppIcon.appiconset/app_icon_32.png | Bin .../AppIcon.appiconset/app_icon_512.png | Bin .../AppIcon.appiconset/app_icon_64.png | Bin .../example/macos/Runner/Base.lproj/MainMenu.xib | 0 .../example/macos/Runner/Configs/AppInfo.xcconfig | 0 .../example/macos/Runner/Configs/Debug.xcconfig | 0 .../example/macos/Runner/Configs/Release.xcconfig | 0 .../example/macos/Runner/Configs/Warnings.xcconfig | 0 .../example/macos/Runner/DebugProfile.entitlements | 0 .../example/macos/Runner/Info.plist | 0 .../example/macos/Runner/MainFlutterWindow.swift | 0 .../example/macos/Runner/Release.entitlements | 0 .../example/macos/RunnerTests/RunnerTests.swift | 0 .../example/pubspec.yaml | 0 .../example/rfw/new_remote_widget.rfw | Bin .../example/rfw/remote_widget.rfw | Bin .../example/rfw/test.rfw | Bin .../example/rfwtxt/new_remote_widget.rfwtxt | 0 .../example/rfwtxt/remote_widget.rfwtxt | 0 .../example/rfwtxt/test.rfwtxt | 0 .../example/web/favicon.png | Bin .../example/web/icons/Icon-192.png | Bin .../example/web/icons/Icon-512.png | Bin .../example/web/icons/Icon-maskable-192.png | Bin .../example/web/icons/Icon-maskable-512.png | Bin .../example/web/index.html | 0 .../example/web/manifest.json | 0 .../example/windows/.gitignore | 0 .../example/windows/CMakeLists.txt | 0 .../example/windows/flutter/CMakeLists.txt | 0 .../windows/flutter/generated_plugin_registrant.cc | 0 .../windows/flutter/generated_plugin_registrant.h | 0 .../example/windows/flutter/generated_plugins.cmake | 0 .../example/windows/runner/CMakeLists.txt | 0 .../example/windows/runner/Runner.rc | 0 .../example/windows/runner/flutter_window.cpp | 0 .../example/windows/runner/flutter_window.h | 0 .../example/windows/runner/main.cpp | 0 .../example/windows/runner/resource.h | 0 .../example/windows/runner/resources/app_icon.ico | Bin .../example/windows/runner/runner.exe.manifest | 0 .../example/windows/runner/utils.cpp | 0 .../example/windows/runner/utils.h | 0 .../example/windows/runner/win32_window.cpp | 0 .../example/windows/runner/win32_window.h | 0 .../catalyst_voices_remote_widgets/lib/core.dart | 0 .../catalyst_voices_remote_widgets/lib/formats.dart | 0 .../lib/src/core/catalyst_core.dart | 0 .../lib/src/formats/rfw_encode.dart | 0 .../catalyst_voices_remote_widgets/pubspec.yaml | 0 melos.yaml | 1 - 147 files changed, 1 deletion(-) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/.gitignore (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/README.md (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/analysis_options.yaml (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/.gitignore (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/.metadata (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/README.md (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/analysis_options.yaml (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/.gitignore (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/app/build.gradle (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/app/src/debug/AndroidManifest.xml (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/app/src/main/AndroidManifest.xml (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/app/src/main/res/drawable-v21/launch_background.xml (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/app/src/main/res/drawable/launch_background.xml (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/app/src/main/res/values-night/styles.xml (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/app/src/main/res/values/styles.xml (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/app/src/profile/AndroidManifest.xml (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/build.gradle (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/gradle.properties (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/gradle/wrapper/gradle-wrapper.properties (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/android/settings.gradle (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/bin/main.dart (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/.gitignore (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Flutter/AppFrameworkInfo.plist (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Flutter/Debug.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Flutter/Release.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.pbxproj (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/contents.xcworkspacedata (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/AppDelegate.swift (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Base.lproj/LaunchScreen.storyboard (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Base.lproj/Main.storyboard (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Info.plist (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/Runner/Runner-Bridging-Header.h (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/ios/RunnerTests/RunnerTests.swift (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/lib/main.dart (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/lib/src/app.dart (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/lib/src/home_page.dart (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/lib/src/remote_form.dart (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/lib/src/widgets/local_widget.dart (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/lib/src/widgets/new_local_widget.dart (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/linux/.gitignore (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/linux/CMakeLists.txt (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/linux/flutter/CMakeLists.txt (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugin_registrant.cc (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugin_registrant.h (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugins.cmake (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/linux/main.cc (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/linux/my_application.cc (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/linux/my_application.h (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/.gitignore (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Flutter/Flutter-Debug.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Flutter/Flutter-Release.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Flutter/GeneratedPluginRegistrant.swift (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/project.pbxproj (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner.xcworkspace/contents.xcworkspacedata (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/AppDelegate.swift (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/Base.lproj/MainMenu.xib (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/Configs/AppInfo.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Debug.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Release.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Warnings.xcconfig (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/DebugProfile.entitlements (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/Info.plist (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/MainFlutterWindow.swift (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/Runner/Release.entitlements (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/macos/RunnerTests/RunnerTests.swift (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/pubspec.yaml (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/rfw/new_remote_widget.rfw (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/rfw/remote_widget.rfw (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/rfw/test.rfw (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/rfwtxt/new_remote_widget.rfwtxt (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/rfwtxt/remote_widget.rfwtxt (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/rfwtxt/test.rfwtxt (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/web/favicon.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/web/icons/Icon-192.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/web/icons/Icon-512.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/web/icons/Icon-maskable-192.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/web/icons/Icon-maskable-512.png (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/web/index.html (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/web/manifest.json (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/.gitignore (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/CMakeLists.txt (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/flutter/CMakeLists.txt (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugin_registrant.cc (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugin_registrant.h (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugins.cmake (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/runner/CMakeLists.txt (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/runner/Runner.rc (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/runner/flutter_window.cpp (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/runner/flutter_window.h (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/runner/main.cpp (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/runner/resource.h (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/runner/resources/app_icon.ico (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/runner/runner.exe.manifest (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/runner/utils.cpp (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/runner/utils.h (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/runner/win32_window.cpp (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/example/windows/runner/win32_window.h (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/lib/core.dart (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/lib/formats.dart (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/lib/src/core/catalyst_core.dart (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/lib/src/formats/rfw_encode.dart (100%) rename {utilities => catalyst_voices/utilities}/catalyst_voices_remote_widgets/pubspec.yaml (100%) diff --git a/utilities/catalyst_voices_remote_widgets/.gitignore b/catalyst_voices/utilities/catalyst_voices_remote_widgets/.gitignore similarity index 100% rename from utilities/catalyst_voices_remote_widgets/.gitignore rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/.gitignore diff --git a/utilities/catalyst_voices_remote_widgets/README.md b/catalyst_voices/utilities/catalyst_voices_remote_widgets/README.md similarity index 100% rename from utilities/catalyst_voices_remote_widgets/README.md rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/README.md diff --git a/utilities/catalyst_voices_remote_widgets/analysis_options.yaml b/catalyst_voices/utilities/catalyst_voices_remote_widgets/analysis_options.yaml similarity index 100% rename from utilities/catalyst_voices_remote_widgets/analysis_options.yaml rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/analysis_options.yaml diff --git a/utilities/catalyst_voices_remote_widgets/example/.gitignore b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/.gitignore similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/.gitignore rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/.gitignore diff --git a/utilities/catalyst_voices_remote_widgets/example/.metadata b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/.metadata similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/.metadata rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/.metadata diff --git a/utilities/catalyst_voices_remote_widgets/example/README.md b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/README.md similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/README.md rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/README.md diff --git a/utilities/catalyst_voices_remote_widgets/example/analysis_options.yaml b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/analysis_options.yaml similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/analysis_options.yaml rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/analysis_options.yaml diff --git a/utilities/catalyst_voices_remote_widgets/example/android/.gitignore b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/.gitignore similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/.gitignore rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/.gitignore diff --git a/utilities/catalyst_voices_remote_widgets/example/android/app/build.gradle b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/build.gradle similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/app/build.gradle rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/build.gradle diff --git a/utilities/catalyst_voices_remote_widgets/example/android/app/src/debug/AndroidManifest.xml b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/app/src/debug/AndroidManifest.xml rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/debug/AndroidManifest.xml diff --git a/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/AndroidManifest.xml b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/AndroidManifest.xml similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/app/src/main/AndroidManifest.xml rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/AndroidManifest.xml diff --git a/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt diff --git a/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/drawable-v21/launch_background.xml b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/drawable-v21/launch_background.xml similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/drawable-v21/launch_background.xml rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/drawable-v21/launch_background.xml diff --git a/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/drawable/launch_background.xml b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/drawable/launch_background.xml similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/drawable/launch_background.xml rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/drawable/launch_background.xml diff --git a/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/values-night/styles.xml b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/values-night/styles.xml similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/values-night/styles.xml rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/values-night/styles.xml diff --git a/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/values/styles.xml b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/values/styles.xml similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/values/styles.xml rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/values/styles.xml diff --git a/utilities/catalyst_voices_remote_widgets/example/android/app/src/profile/AndroidManifest.xml b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/profile/AndroidManifest.xml similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/app/src/profile/AndroidManifest.xml rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/profile/AndroidManifest.xml diff --git a/utilities/catalyst_voices_remote_widgets/example/android/build.gradle b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/build.gradle similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/build.gradle rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/build.gradle diff --git a/utilities/catalyst_voices_remote_widgets/example/android/gradle.properties b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/gradle.properties similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/gradle.properties rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/gradle.properties diff --git a/utilities/catalyst_voices_remote_widgets/example/android/gradle/wrapper/gradle-wrapper.properties b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/gradle/wrapper/gradle-wrapper.properties rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/gradle/wrapper/gradle-wrapper.properties diff --git a/utilities/catalyst_voices_remote_widgets/example/android/settings.gradle b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/settings.gradle similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/android/settings.gradle rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/settings.gradle diff --git a/utilities/catalyst_voices_remote_widgets/example/bin/main.dart b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/bin/main.dart similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/bin/main.dart rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/bin/main.dart diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/.gitignore b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/.gitignore similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/.gitignore rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/.gitignore diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Flutter/AppFrameworkInfo.plist b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Flutter/AppFrameworkInfo.plist rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Flutter/AppFrameworkInfo.plist diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Flutter/Debug.xcconfig b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Flutter/Debug.xcconfig similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Flutter/Debug.xcconfig rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Flutter/Debug.xcconfig diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Flutter/Release.xcconfig b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Flutter/Release.xcconfig similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Flutter/Release.xcconfig rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Flutter/Release.xcconfig diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.pbxproj b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.pbxproj rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.pbxproj diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/AppDelegate.swift b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/AppDelegate.swift similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/AppDelegate.swift rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/AppDelegate.swift diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Base.lproj/Main.storyboard b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Base.lproj/Main.storyboard rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Base.lproj/Main.storyboard diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Info.plist b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Info.plist similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Info.plist rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Info.plist diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Runner-Bridging-Header.h b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Runner-Bridging-Header.h similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/Runner/Runner-Bridging-Header.h rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Runner-Bridging-Header.h diff --git a/utilities/catalyst_voices_remote_widgets/example/ios/RunnerTests/RunnerTests.swift b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/RunnerTests/RunnerTests.swift similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/ios/RunnerTests/RunnerTests.swift rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/RunnerTests/RunnerTests.swift diff --git a/utilities/catalyst_voices_remote_widgets/example/lib/main.dart b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/main.dart similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/lib/main.dart rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/main.dart diff --git a/utilities/catalyst_voices_remote_widgets/example/lib/src/app.dart b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/app.dart similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/lib/src/app.dart rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/app.dart diff --git a/utilities/catalyst_voices_remote_widgets/example/lib/src/home_page.dart b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/home_page.dart similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/lib/src/home_page.dart rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/home_page.dart diff --git a/utilities/catalyst_voices_remote_widgets/example/lib/src/remote_form.dart b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/remote_form.dart similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/lib/src/remote_form.dart rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/remote_form.dart diff --git a/utilities/catalyst_voices_remote_widgets/example/lib/src/widgets/local_widget.dart b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/widgets/local_widget.dart similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/lib/src/widgets/local_widget.dart rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/widgets/local_widget.dart diff --git a/utilities/catalyst_voices_remote_widgets/example/lib/src/widgets/new_local_widget.dart b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/widgets/new_local_widget.dart similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/lib/src/widgets/new_local_widget.dart rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/widgets/new_local_widget.dart diff --git a/utilities/catalyst_voices_remote_widgets/example/linux/.gitignore b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/.gitignore similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/linux/.gitignore rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/.gitignore diff --git a/utilities/catalyst_voices_remote_widgets/example/linux/CMakeLists.txt b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/CMakeLists.txt similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/linux/CMakeLists.txt rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/CMakeLists.txt diff --git a/utilities/catalyst_voices_remote_widgets/example/linux/flutter/CMakeLists.txt b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/CMakeLists.txt similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/linux/flutter/CMakeLists.txt rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/CMakeLists.txt diff --git a/utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugin_registrant.cc b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugin_registrant.cc similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugin_registrant.cc rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugin_registrant.cc diff --git a/utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugin_registrant.h b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugin_registrant.h similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugin_registrant.h rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugin_registrant.h diff --git a/utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugins.cmake b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugins.cmake similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugins.cmake rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugins.cmake diff --git a/utilities/catalyst_voices_remote_widgets/example/linux/main.cc b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/main.cc similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/linux/main.cc rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/main.cc diff --git a/utilities/catalyst_voices_remote_widgets/example/linux/my_application.cc b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/my_application.cc similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/linux/my_application.cc rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/my_application.cc diff --git a/utilities/catalyst_voices_remote_widgets/example/linux/my_application.h b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/my_application.h similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/linux/my_application.h rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/my_application.h diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/.gitignore b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/.gitignore similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/.gitignore rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/.gitignore diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Flutter/Flutter-Debug.xcconfig b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Flutter/Flutter-Debug.xcconfig similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Flutter/Flutter-Debug.xcconfig rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Flutter/Flutter-Debug.xcconfig diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Flutter/Flutter-Release.xcconfig b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Flutter/Flutter-Release.xcconfig similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Flutter/Flutter-Release.xcconfig rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Flutter/Flutter-Release.xcconfig diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Flutter/GeneratedPluginRegistrant.swift b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Flutter/GeneratedPluginRegistrant.swift similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Flutter/GeneratedPluginRegistrant.swift rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Flutter/GeneratedPluginRegistrant.swift diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/project.pbxproj b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/project.pbxproj similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/project.pbxproj rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/project.pbxproj diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcworkspace/contents.xcworkspacedata b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcworkspace/contents.xcworkspacedata diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/AppDelegate.swift b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/AppDelegate.swift similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/AppDelegate.swift rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/AppDelegate.swift diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Base.lproj/MainMenu.xib b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Base.lproj/MainMenu.xib similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/Base.lproj/MainMenu.xib rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Base.lproj/MainMenu.xib diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/AppInfo.xcconfig b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/AppInfo.xcconfig similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/AppInfo.xcconfig rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/AppInfo.xcconfig diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Debug.xcconfig b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Debug.xcconfig similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Debug.xcconfig rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Debug.xcconfig diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Release.xcconfig b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Release.xcconfig similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Release.xcconfig rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Release.xcconfig diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Warnings.xcconfig b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Warnings.xcconfig similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Warnings.xcconfig rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Warnings.xcconfig diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/DebugProfile.entitlements b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/DebugProfile.entitlements similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/DebugProfile.entitlements rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/DebugProfile.entitlements diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Info.plist b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Info.plist similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/Info.plist rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Info.plist diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/MainFlutterWindow.swift b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/MainFlutterWindow.swift similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/MainFlutterWindow.swift rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/MainFlutterWindow.swift diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Release.entitlements b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Release.entitlements similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/Runner/Release.entitlements rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Release.entitlements diff --git a/utilities/catalyst_voices_remote_widgets/example/macos/RunnerTests/RunnerTests.swift b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/RunnerTests/RunnerTests.swift similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/macos/RunnerTests/RunnerTests.swift rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/RunnerTests/RunnerTests.swift diff --git a/utilities/catalyst_voices_remote_widgets/example/pubspec.yaml b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/pubspec.yaml similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/pubspec.yaml rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/pubspec.yaml diff --git a/utilities/catalyst_voices_remote_widgets/example/rfw/new_remote_widget.rfw b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfw/new_remote_widget.rfw similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/rfw/new_remote_widget.rfw rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfw/new_remote_widget.rfw diff --git a/utilities/catalyst_voices_remote_widgets/example/rfw/remote_widget.rfw b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfw/remote_widget.rfw similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/rfw/remote_widget.rfw rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfw/remote_widget.rfw diff --git a/utilities/catalyst_voices_remote_widgets/example/rfw/test.rfw b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfw/test.rfw similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/rfw/test.rfw rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfw/test.rfw diff --git a/utilities/catalyst_voices_remote_widgets/example/rfwtxt/new_remote_widget.rfwtxt b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfwtxt/new_remote_widget.rfwtxt similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/rfwtxt/new_remote_widget.rfwtxt rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfwtxt/new_remote_widget.rfwtxt diff --git a/utilities/catalyst_voices_remote_widgets/example/rfwtxt/remote_widget.rfwtxt b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfwtxt/remote_widget.rfwtxt similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/rfwtxt/remote_widget.rfwtxt rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfwtxt/remote_widget.rfwtxt diff --git a/utilities/catalyst_voices_remote_widgets/example/rfwtxt/test.rfwtxt b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfwtxt/test.rfwtxt similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/rfwtxt/test.rfwtxt rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfwtxt/test.rfwtxt diff --git a/utilities/catalyst_voices_remote_widgets/example/web/favicon.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/favicon.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/web/favicon.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/favicon.png diff --git a/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-192.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-192.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-192.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-192.png diff --git a/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-512.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-512.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-512.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-512.png diff --git a/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-maskable-192.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-maskable-192.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-maskable-192.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-maskable-192.png diff --git a/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-maskable-512.png b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-maskable-512.png similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-maskable-512.png rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-maskable-512.png diff --git a/utilities/catalyst_voices_remote_widgets/example/web/index.html b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/index.html similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/web/index.html rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/index.html diff --git a/utilities/catalyst_voices_remote_widgets/example/web/manifest.json b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/manifest.json similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/web/manifest.json rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/manifest.json diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/.gitignore b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/.gitignore similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/.gitignore rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/.gitignore diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/CMakeLists.txt b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/CMakeLists.txt similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/CMakeLists.txt rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/CMakeLists.txt diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/flutter/CMakeLists.txt b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/CMakeLists.txt similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/flutter/CMakeLists.txt rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/CMakeLists.txt diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugin_registrant.cc b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugin_registrant.cc similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugin_registrant.cc rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugin_registrant.cc diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugin_registrant.h b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugin_registrant.h similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugin_registrant.h rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugin_registrant.h diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugins.cmake b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugins.cmake similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugins.cmake rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugins.cmake diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/runner/CMakeLists.txt b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/CMakeLists.txt similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/runner/CMakeLists.txt rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/CMakeLists.txt diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/runner/Runner.rc b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/Runner.rc similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/runner/Runner.rc rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/Runner.rc diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/runner/flutter_window.cpp b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/flutter_window.cpp similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/runner/flutter_window.cpp rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/flutter_window.cpp diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/runner/flutter_window.h b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/flutter_window.h similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/runner/flutter_window.h rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/flutter_window.h diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/runner/main.cpp b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/main.cpp similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/runner/main.cpp rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/main.cpp diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/runner/resource.h b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/resource.h similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/runner/resource.h rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/resource.h diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/runner/resources/app_icon.ico b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/resources/app_icon.ico similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/runner/resources/app_icon.ico rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/resources/app_icon.ico diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/runner/runner.exe.manifest b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/runner.exe.manifest similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/runner/runner.exe.manifest rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/runner.exe.manifest diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/runner/utils.cpp b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/utils.cpp similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/runner/utils.cpp rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/utils.cpp diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/runner/utils.h b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/utils.h similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/runner/utils.h rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/utils.h diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/runner/win32_window.cpp b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/win32_window.cpp similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/runner/win32_window.cpp rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/win32_window.cpp diff --git a/utilities/catalyst_voices_remote_widgets/example/windows/runner/win32_window.h b/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/win32_window.h similarity index 100% rename from utilities/catalyst_voices_remote_widgets/example/windows/runner/win32_window.h rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/win32_window.h diff --git a/utilities/catalyst_voices_remote_widgets/lib/core.dart b/catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/core.dart similarity index 100% rename from utilities/catalyst_voices_remote_widgets/lib/core.dart rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/core.dart diff --git a/utilities/catalyst_voices_remote_widgets/lib/formats.dart b/catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/formats.dart similarity index 100% rename from utilities/catalyst_voices_remote_widgets/lib/formats.dart rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/formats.dart diff --git a/utilities/catalyst_voices_remote_widgets/lib/src/core/catalyst_core.dart b/catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/src/core/catalyst_core.dart similarity index 100% rename from utilities/catalyst_voices_remote_widgets/lib/src/core/catalyst_core.dart rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/src/core/catalyst_core.dart diff --git a/utilities/catalyst_voices_remote_widgets/lib/src/formats/rfw_encode.dart b/catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/src/formats/rfw_encode.dart similarity index 100% rename from utilities/catalyst_voices_remote_widgets/lib/src/formats/rfw_encode.dart rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/src/formats/rfw_encode.dart diff --git a/utilities/catalyst_voices_remote_widgets/pubspec.yaml b/catalyst_voices/utilities/catalyst_voices_remote_widgets/pubspec.yaml similarity index 100% rename from utilities/catalyst_voices_remote_widgets/pubspec.yaml rename to catalyst_voices/utilities/catalyst_voices_remote_widgets/pubspec.yaml diff --git a/melos.yaml b/melos.yaml index 0f21882a52..b064761a3b 100644 --- a/melos.yaml +++ b/melos.yaml @@ -6,7 +6,6 @@ packages: - catalyst_voices/utilities/** - catalyst_voices/packages/** - catalyst_voices_packages/** - - utilities/** ignore: # ignores flutter_rust_bridge packages that are non-conformant with melos From 376cfb3c97308f94eaf04a328dd23b2161e07faf Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Tue, 29 Oct 2024 13:45:14 +0100 Subject: [PATCH 08/89] refactor: move scripts into catalyst_voices dir --- .../scripts}/flutter_android_integration_test.sh | 0 .../scripts}/flutter_ios_integration_test.sh | 0 .../scripts}/flutter_web_integration_test.sh | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename {scripts => catalyst_voices/scripts}/flutter_android_integration_test.sh (100%) rename {scripts => catalyst_voices/scripts}/flutter_ios_integration_test.sh (100%) rename {scripts => catalyst_voices/scripts}/flutter_web_integration_test.sh (100%) diff --git a/scripts/flutter_android_integration_test.sh b/catalyst_voices/scripts/flutter_android_integration_test.sh similarity index 100% rename from scripts/flutter_android_integration_test.sh rename to catalyst_voices/scripts/flutter_android_integration_test.sh diff --git a/scripts/flutter_ios_integration_test.sh b/catalyst_voices/scripts/flutter_ios_integration_test.sh similarity index 100% rename from scripts/flutter_ios_integration_test.sh rename to catalyst_voices/scripts/flutter_ios_integration_test.sh diff --git a/scripts/flutter_web_integration_test.sh b/catalyst_voices/scripts/flutter_web_integration_test.sh similarity index 100% rename from scripts/flutter_web_integration_test.sh rename to catalyst_voices/scripts/flutter_web_integration_test.sh From 93c9d246c526f0c06ce064f0fb10010359a49399 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Tue, 29 Oct 2024 14:40:32 +0100 Subject: [PATCH 09/89] refactor: move catalyst_voices/packages into catalyst_voices/packages/internal --- .../melos_catalyst_voices_repositories.iml | 29 ------------------ .../melos_catalyst_voices_services.iml | 29 ------------------ .../melos_catalyst_voices_view_models.iml | 29 ------------------ .../catalyst_voices_assets/.gitignore | 0 .../catalyst_voices_assets/README.md | 0 .../analysis_options.yaml | 0 .../assets/colors/colors.xml | 0 .../assets/fonts/SF-Pro-Rounded-Regular.ttf | Bin .../assets/icons/academic-cap.svg | 0 .../assets/icons/adjustments.svg | 0 .../assets/icons/all spaces menu-1.svg | 0 .../assets/icons/all spaces menu.svg | 0 .../assets/icons/annotation.svg | 0 .../assets/icons/archive.svg | 0 .../assets/icons/arrow-circle-down.svg | 0 .../assets/icons/arrow-circle-left.svg | 0 .../assets/icons/arrow-circle-right.svg | 0 .../assets/icons/arrow-circle-up.svg | 0 .../assets/icons/arrow-down.svg | 0 .../assets/icons/arrow-left.svg | 0 .../assets/icons/arrow-narrow-down.svg | 0 .../assets/icons/arrow-narrow-left.svg | 0 .../assets/icons/arrow-narrow-right.svg | 0 .../assets/icons/arrow-narrow-up.svg | 0 .../assets/icons/arrow-right.svg | 0 .../assets/icons/arrow-triangle-down.svg | 0 .../assets/icons/arrow-triangle-up.svg | 0 .../assets/icons/arrow-up.svg | 0 .../assets/icons/arrows-expand.svg | 0 .../assets/icons/at-symbol.svg | 0 .../assets/icons/backspace.svg | 0 .../assets/icons/badge-check.svg | 0 .../assets/icons/ban.svg | 0 .../assets/icons/beaker.svg | 0 .../assets/icons/bell.svg | 0 .../assets/icons/book-open.svg | 0 .../assets/icons/bookmark-alt.svg | 0 .../assets/icons/bookmark.svg | 0 .../assets/icons/bottom-main-content.svg | 0 .../assets/icons/bottom-rail-toggle-1.svg | 0 .../assets/icons/bottom-rail-toggle.svg | 0 .../assets/icons/briefcase.svg | 0 .../assets/icons/cake.svg | 0 .../assets/icons/calculator.svg | 0 .../assets/icons/calendar.svg | 0 .../assets/icons/camera.svg | 0 .../assets/icons/cash.svg | 0 .../assets/icons/chart-bar.svg | 0 .../assets/icons/chart-pie.svg | 0 .../assets/icons/chart-square-bar.svg | 0 .../assets/icons/chat-alt-2.svg | 0 .../assets/icons/chat-alt.svg | 0 .../assets/icons/chat.svg | 0 .../assets/icons/check-circle.svg | 0 .../assets/icons/check.svg | 0 .../assets/icons/chevron-double-down.svg | 0 .../assets/icons/chevron-double-left.svg | 0 .../assets/icons/chevron-double-right.svg | 0 .../assets/icons/chevron-double-up.svg | 0 .../assets/icons/chevron-down-1.svg | 0 .../assets/icons/chevron-down.svg | 0 .../assets/icons/chevron-left.svg | 0 .../assets/icons/chevron-right.svg | 0 .../assets/icons/chevron-up.svg | 0 .../assets/icons/chip.svg | 0 .../assets/icons/clipboard-check.svg | 0 .../assets/icons/clipboard-copy.svg | 0 .../assets/icons/clipboard-list.svg | 0 .../assets/icons/clipboard.svg | 0 .../assets/icons/clock.svg | 0 .../assets/icons/cloud-download.svg | 0 .../assets/icons/cloud-upload.svg | 0 .../assets/icons/cloud.svg | 0 .../assets/icons/code.svg | 0 .../assets/icons/cog-gear.svg | 0 .../assets/icons/collection.svg | 0 .../assets/icons/color-swatch.svg | 0 .../assets/icons/credit-card.svg | 0 .../assets/icons/cube-transparent.svg | 0 .../assets/icons/cube.svg | 0 .../assets/icons/currency-bangladeshi.svg | 0 .../assets/icons/currency-dollar.svg | 0 .../assets/icons/currency-euro.svg | 0 .../assets/icons/currency-pound.svg | 0 .../assets/icons/currency-rupee.svg | 0 .../assets/icons/currency-yen.svg | 0 .../assets/icons/cursor-click.svg | 0 .../assets/icons/database.svg | 0 .../assets/icons/desktop-computer.svg | 0 .../assets/icons/device-mobile.svg | 0 .../assets/icons/device-tablet.svg | 0 .../assets/icons/document-add.svg | 0 .../assets/icons/document-remove.svg | 0 .../assets/icons/document-report.svg | 0 .../assets/icons/document-search.svg | 0 .../assets/icons/document-text.svg | 0 .../assets/icons/document.svg | 0 .../assets/icons/dots-circle-horizontal.svg | 0 .../assets/icons/dots-horizontal.svg | 0 .../assets/icons/dots-vertical.svg | 0 .../assets/icons/download.svg | 0 .../assets/icons/duplicate.svg | 0 .../assets/icons/emoji-happy.svg | 0 .../assets/icons/emoji-sad.svg | 0 .../assets/icons/exclamation-circle.svg | 0 .../assets/icons/exclamation.svg | 0 .../assets/icons/external-link.svg | 0 .../assets/icons/eye-off.svg | 0 .../assets/icons/eye.svg | 0 .../assets/icons/fast-forward.svg | 0 .../assets/icons/film.svg | 0 .../assets/icons/filter.svg | 0 .../assets/icons/finger-print.svg | 0 .../assets/icons/fire.svg | 0 .../assets/icons/flag.svg | 0 .../assets/icons/folder-add.svg | 0 .../assets/icons/folder-download.svg | 0 .../assets/icons/folder-open.svg | 0 .../assets/icons/folder-remove.svg | 0 .../assets/icons/folder.svg | 0 .../assets/icons/fund.svg | 0 .../assets/icons/gift.svg | 0 .../assets/icons/globe-alt.svg | 0 .../assets/icons/globe.svg | 0 .../assets/icons/hand.svg | 0 .../assets/icons/hashtag.svg | 0 .../assets/icons/heart.svg | 0 .../assets/icons/home.svg | 0 .../assets/icons/icon-user-remove.svg | 0 .../assets/icons/identification.svg | 0 .../assets/icons/inbox-in.svg | 0 .../assets/icons/inbox.svg | 0 .../assets/icons/information-circle.svg | 0 .../assets/icons/key.svg | 0 .../assets/icons/left-rail-toggle.svg | 0 .../assets/icons/library.svg | 0 .../assets/icons/light-bulb.svg | 0 .../assets/icons/lightning-bolt.svg | 0 .../assets/icons/link.svg | 0 .../assets/icons/location-marker.svg | 0 .../assets/icons/lock-closed.svg | 0 .../assets/icons/lock-open.svg | 0 .../assets/icons/logout-1.svg | 0 .../assets/icons/logout.svg | 0 .../assets/icons/mail-open.svg | 0 .../assets/icons/mail.svg | 0 .../assets/icons/map.svg | 0 .../assets/icons/maximize-toggle.svg | 0 .../assets/icons/menu-alt-1.svg | 0 .../assets/icons/menu-alt-2.svg | 0 .../assets/icons/menu-alt-3.svg | 0 .../assets/icons/menu-alt-4.svg | 0 .../assets/icons/menu.svg | 0 .../assets/icons/microphone.svg | 0 .../assets/icons/minimize-toggle.svg | 0 .../assets/icons/minus-circle.svg | 0 .../assets/icons/minus.svg | 0 .../assets/icons/moon.svg | 0 .../assets/icons/move-item.svg | 0 .../assets/icons/music-note.svg | 0 .../assets/icons/newspaper.svg | 0 .../assets/icons/node-closed.svg | 0 .../assets/icons/node-line-end.svg | 0 .../assets/icons/node-line.svg | 0 .../assets/icons/node-open.svg | 0 .../assets/icons/office-building.svg | 0 .../assets/icons/paper-airplane.svg | 0 .../assets/icons/paper-clip.svg | 0 .../assets/icons/pause.svg | 0 .../assets/icons/pencil-alt.svg | 0 .../assets/icons/pencil.svg | 0 .../assets/icons/phone-incoming.svg | 0 .../assets/icons/phone-missed-call.svg | 0 .../assets/icons/phone-outgoing.svg | 0 .../assets/icons/phone.svg | 0 .../assets/icons/photograph.svg | 0 .../assets/icons/play.svg | 0 .../assets/icons/plus.svg | 0 .../assets/icons/plus_circle_filled.svg | 0 .../assets/icons/plus_circle_outlined.svg | 0 .../assets/icons/presentation-chart-bar.svg | 0 .../assets/icons/presentation-chart-line.svg | 0 .../assets/icons/printer.svg | 0 .../assets/icons/progress-track-warning.svg | 0 .../assets/icons/puzzle.svg | 0 .../assets/icons/qrcode.svg | 0 .../assets/icons/question-mark-circle.svg | 0 .../assets/icons/receipt-refund.svg | 0 .../assets/icons/receipt-tax.svg | 0 .../assets/icons/refresh.svg | 0 .../assets/icons/reply.svg | 0 .../assets/icons/rewind.svg | 0 .../assets/icons/right-rail-toggle.svg | 0 .../assets/icons/rss.svg | 0 .../assets/icons/rt_bold.svg | 0 .../assets/icons/rt_decrease_indent.svg | 0 .../assets/icons/rt_heading.svg | 0 .../assets/icons/rt_increase_indent.svg | 0 .../assets/icons/rt_italic.svg | 0 .../assets/icons/rt_ordered_list.svg | 0 .../assets/icons/rt_unordered_list.svg | 0 .../assets/icons/save-as.svg | 0 .../assets/icons/save.svg | 0 .../assets/icons/scale.svg | 0 .../assets/icons/scissors.svg | 0 .../assets/icons/search-circle.svg | 0 .../assets/icons/search.svg | 0 .../assets/icons/selector.svg | 0 .../assets/icons/send-airplane.svg | 0 .../assets/icons/server.svg | 0 .../assets/icons/share.svg | 0 .../assets/icons/shield-check.svg | 0 .../assets/icons/shield-exclamation.svg | 0 .../assets/icons/shopping-bag.svg | 0 .../assets/icons/shopping-cart.svg | 0 .../assets/icons/sm-view-grid-add.svg | 0 .../assets/icons/sort-ascending.svg | 0 .../assets/icons/sort-descending.svg | 0 .../assets/icons/sparkles.svg | 0 .../assets/icons/speakerphone.svg | 0 .../assets/icons/star_filled.svg | 0 .../assets/icons/star_outlined.svg | 0 .../assets/icons/status-offline.svg | 0 .../assets/icons/status-online.svg | 0 .../assets/icons/stop.svg | 0 .../assets/icons/sun.svg | 0 .../assets/icons/support.svg | 0 .../assets/icons/switch-horizontal.svg | 0 .../assets/icons/switch-vertical.svg | 0 .../assets/icons/table.svg | 0 .../assets/icons/tag.svg | 0 .../assets/icons/template.svg | 0 .../assets/icons/terminal.svg | 0 .../assets/icons/thumb-down.svg | 0 .../assets/icons/thumb-up.svg | 0 .../assets/icons/ticket.svg | 0 .../assets/icons/translate.svg | 0 .../assets/icons/trash.svg | 0 .../assets/icons/trending-down.svg | 0 .../assets/icons/trending-up.svg | 0 .../assets/icons/truck.svg | 0 .../assets/icons/upload.svg | 0 .../assets/icons/user-add.svg | 0 .../assets/icons/user-circle.svg | 0 .../assets/icons/user-group.svg | 0 .../assets/icons/user.svg | 0 .../assets/icons/users.svg | 0 .../assets/icons/variable.svg | 0 .../assets/icons/video-camera.svg | 0 .../assets/icons/view-boards.svg | 0 .../assets/icons/view-grid.svg | 0 .../assets/icons/view-list.svg | 0 .../assets/icons/volume-off.svg | 0 .../assets/icons/volume-up.svg | 0 .../assets/icons/vote.svg | 0 .../assets/icons/wallet.svg | 0 .../assets/icons/wifi.svg | 0 .../assets/icons/x-circle.svg | 0 .../catalyst_voices_assets/assets/icons/x.svg | 0 .../assets/icons/zoom-in.svg | 0 .../assets/icons/zoom-out.svg | 0 .../assets/images/2.0x/key_incorrect.webp | Bin .../assets/images/2.0x/role_drep.webp | Bin .../assets/images/2.0x/role_proposer.webp | Bin .../assets/images/2.0x/role_voter.webp | Bin .../assets/images/2.0x/task_illustration.webp | Bin .../images/2.0x/welcome_illustration.webp | Bin .../assets/images/3.0x/key_incorrect.webp | Bin .../assets/images/3.0x/role_drep.webp | Bin .../assets/images/3.0x/role_proposer.webp | Bin .../assets/images/3.0x/role_voter.webp | Bin .../assets/images/3.0x/task_illustration.webp | Bin .../images/3.0x/welcome_illustration.webp | Bin .../assets/images/account_bg.png | Bin .../assets/images/catalyst_logo.svg | 0 .../assets/images/catalyst_logo_icon.svg | 0 .../images/catalyst_logo_icon_white.svg | 0 .../assets/images/catalyst_logo_white.svg | 0 .../assets/images/coming_soon_bkg.webp | Bin .../assets/images/dragger.svg | 0 .../assets/images/dummy_catalyst_voices.webp | Bin .../assets/images/facebook.svg | 0 .../assets/images/facebook_mono.svg | 0 .../assets/images/fallback_logo.svg | 0 .../assets/images/fallback_logo_icon.svg | 0 .../assets/images/key_incorrect.webp | Bin .../assets/images/keychain.svg | 0 .../assets/images/linkedin.svg | 0 .../assets/images/linkedin_mono.svg | 0 .../assets/images/proposal_background_1.webp | Bin .../assets/images/proposal_background_2.webp | Bin .../images/registration_summary_keychain.png | Bin .../images/registration_summary_roles.png | Bin .../images/registration_summary_wallet.png | Bin .../assets/images/role_drep.webp | Bin .../assets/images/role_info_drep.png | Bin .../assets/images/role_info_proposer.png | Bin .../assets/images/role_info_voter.png | Bin .../assets/images/role_proposer.webp | Bin .../assets/images/role_voter.webp | Bin .../assets/images/task_illustration.webp | Bin .../assets/images/welcome_illustration.webp | Bin .../assets/images/x.svg | 0 .../assets/images/x_mono.svg | 0 .../catalyst_voices_assets/example/.gitignore | 0 .../catalyst_voices_assets/example/.metadata | 0 .../catalyst_voices_assets/example/README.md | 0 .../example/lib/src/main.dart | 0 .../example/pubspec.yaml | 0 .../example/web/favicon.png | Bin .../example/web/icons/Icon-192.png | Bin .../example/web/icons/Icon-512.png | Bin .../example/web/icons/Icon-maskable-192.png | Bin .../example/web/icons/Icon-maskable-512.png | Bin .../example/web/index.html | 0 .../example/web/manifest.json | 0 .../internal_resources/README.md | 0 .../internal_resources/animations/.gitkeep | 0 .../internal_resources/fonts/.gitkeep | 0 .../internal_resources/icons/.gitkeep | 0 .../internal_resources/images/.gitkeep | 0 .../lib/catalyst_voices_assets.dart | 0 .../lib/generated/assets.gen.dart | 0 .../lib/generated/colors.gen.dart | 0 .../lib/generated/fonts.gen.dart | 0 .../lib/src/assets_ext.dart | 0 .../lib/src/catalyst_image.dart | 0 .../lib/src/catalyst_svg_icon.dart | 0 .../lib/src/catalyst_svg_picture.dart | 0 .../lib/src/catalyst_voices_assets.dart | 0 .../catalyst_voices_assets/pubspec.yaml | 0 .../catalyst_voices_blocs/.gitignore | 0 .../catalyst_voices_blocs/README.md | 0 .../analysis_options.yaml | 0 .../catalyst_voices_blocs/coverage_badge.svg | 0 .../lib/catalyst_voices_blocs.dart | 0 .../src/authentication/authentication.dart | 0 .../authentication/authentication_bloc.dart | 0 .../authentication/authentication_event.dart | 0 .../authentication/authentication_state.dart | 0 .../lib/src/bloc_error_emitter_mixin.dart | 0 .../lib/src/brand/brand.dart | 0 .../lib/src/brand/brand_bloc.dart | 0 .../lib/src/brand/brand_event.dart | 0 .../lib/src/brand/brand_state.dart | 0 .../lib/src/catalyst_voices_blocs.dart | 0 .../lib/src/login/login.dart | 0 .../lib/src/login/login_bloc.dart | 0 .../lib/src/login/login_event.dart | 0 .../lib/src/login/login_state.dart | 0 .../cubits/keychain_creation_cubit.dart | 0 .../registration/cubits/recover_cubit.dart | 0 .../cubits/unlock_password_manager.dart | 0 .../cubits/wallet_link_cubit.dart | 0 .../lib/src/registration/registration.dart | 0 .../src/registration/registration_cubit.dart | 0 .../src/registration/registration_state.dart | 0 .../state_data/keychain_state_data.dart | 0 .../state_data/recover_state_data.dart | 0 .../state_data/registration_state_data.dart | 0 .../state_data/seed_phrase_state_data.dart | 0 .../state_data/unlock_password_state.dart | 0 .../state_data/wallet_link_state_data.dart | 0 .../lib/src/session/session.dart | 0 .../lib/src/session/session_cubit.dart | 0 .../lib/src/session/session_state.dart | 0 .../catalyst_voices_blocs/pubspec.yaml | 0 .../test/session/session_cubit_test.dart | 0 .../catalyst_voices_brands/.gitignore | 0 .../catalyst_voices_brands/README.md | 0 .../analysis_options.yaml | 0 .../lib/catalyst_voices_brands.dart | 0 .../lib/src/brands/brand.dart | 0 .../lib/src/catalyst_voices_brands.dart | 0 .../lib/src/theme_builder/theme_builder.dart | 0 .../src/theme_extensions/brand_assets.dart | 0 .../theme_extensions/theme_extensions.dart | 0 .../theme_extensions/voices_color_scheme.dart | 0 .../lib/src/themes/catalyst.dart | 0 .../lib/src/themes/widgets/buttons_theme.dart | 0 .../lib/src/themes/widgets/toggles_theme.dart | 0 .../lib/src/utils/typedefs.dart | 0 .../catalyst_voices_brands/pubspec.yaml | 0 .../test/src/catalyst_voices_brands_test.dart | 0 .../catalyst_voices_localization/.gitignore | 0 .../catalyst_voices_localization/README.md | 0 .../analysis_options.yaml | 0 .../catalyst_voices_localization/l10n.yaml | 0 .../lib/catalyst_voices_localization.dart | 0 .../catalyst_voices_localizations.dart | 0 .../catalyst_voices_localizations_en.dart | 0 .../catalyst_voices_localizations_es.dart | 0 .../lib/l10n/intl_en.arb | 0 .../lib/l10n/intl_es.arb | 0 .../build_context_localization_extension.dart | 0 .../lib/src/catalyst_voices_localization.dart | 0 .../lib/src/typedefs.dart | 0 .../catalyst_voices_localization/pubspec.yaml | 0 .../catalyst_voices_models/.gitignore | 0 .../catalyst_voices_models/README.md | 0 .../analysis_options.yaml | 0 .../catalyst_voices_models/coverage_badge.svg | 0 .../lib/catalyst_voices_models.dart | 0 .../lib/src/auth/authentication_status.dart | 0 .../lib/src/auth/password_strength.dart | 0 .../lib/src/catalyst_voices_models.dart | 0 .../lib/src/crypto/keychain_metadata.dart | 0 .../lib/src/crypto/lock_factor.dart | 0 .../lib/src/document/document_json.dart | 0 .../lib/src/errors/crypto_exception.dart | 0 .../lib/src/errors/errors.dart | 0 .../lib/src/errors/network_error.dart | 0 .../lib/src/errors/secure_storage_error.dart | 0 .../lib/src/errors/vault_exception.dart | 0 .../lib/src/file/voices_file.dart | 0 .../lib/src/optional.dart | 0 .../lib/src/proposal/funded_proposal.dart | 0 .../lib/src/proposal/pending_proposal.dart | 0 .../lib/src/proposal/proposal_status.dart | 0 .../src/registration/create_account_type.dart | 0 .../registration/create_keychain_stage.dart | 0 .../exception/registration_exception.dart | 0 .../recover_seed_phrase_stage.dart | 0 .../lib/src/registration/registration.dart | 0 .../registration/registration_progress.dart | 0 .../registration_recover_method.dart | 0 .../src/registration/registration_step.dart | 0 .../src/registration/wallet_link_stage.dart | 0 .../lib/src/seed_phrase.dart | 0 .../lib/src/session_data.dart | 0 .../catalyst_voices_models/lib/src/space.dart | 0 .../treasury/treasury_campaign_builder.dart | 0 .../treasury/treasury_campaign_segment.dart | 0 .../treasury_campaign_segment_step.dart | 0 .../lib/src/user/account.dart | 0 .../lib/src/user/account_role.dart | 0 .../lib/src/user/user.dart | 0 .../src/wallet/cardano_wallet_details.dart | 0 .../lib/src/wallet/wallet_info.dart | 0 .../lib/src/wallet/wallet_metadata.dart | 0 .../workspace_proposal_navigation.dart | 0 .../workspace/workspace_proposal_segment.dart | 0 .../workspace_proposal_segment_step.dart | 0 .../catalyst_voices_models/pubspec.yaml | 0 .../test/auth/password_strength_test.dart | 0 .../test/crypto/keychain_metadata_test.dart | 0 .../test/crypto/lock_factor_test.dart | 0 .../test/optional_test.dart | 0 .../test/seed_phrase_test.dart | 0 .../catalyst_voices_repositories/.gitignore | 0 .../catalyst_voices_repositories/README.md | 0 .../analysis_options.yaml | 0 .../coverage_badge.svg | 0 .../lib/catalyst_voices_repositories.dart | 0 .../lib/src/authentication_repository.dart | 0 .../src/catalyst_data_gateway_repository.dart | 0 .../lib/src/catalyst_voices_repositories.dart | 0 .../src/credentials_storage_repository.dart | 0 .../transaction_config_repository.dart | 0 .../catalyst_voices_repositories/pubspec.yaml | 0 ...catalyst_data_gateway_repository_test.dart | 0 .../catalyst_voices_repositories_test.dart | 0 .../transaction_config_repository_test.dart | 0 .../catalyst_voices_services/.gitignore | 0 .../catalyst_voices_services/README.md | 0 .../analysis_options.yaml | 0 .../catalyst_voices_services/build.yaml | 0 .../coverage_badge.svg | 0 .../lib/catalyst_voices_services.dart | 0 .../cat_gateway_api.enums.swagger.dart | 0 .../cat_gateway_api.models.swagger.dart | 0 .../cat_gateway_api.models.swagger.g.dart | 0 .../cat_gateway_api.swagger.chopper.dart | 0 .../cat_gateway_api.swagger.dart | 0 .../catalyst_gateway/client_index.dart | 0 .../catalyst_gateway/client_mapping.dart | 0 .../lib/src/catalyst_voices_services.dart | 0 .../lib/src/crypto/crypto_service.dart | 0 .../lib/src/crypto/key_derivation.dart | 0 .../lib/src/crypto/vault_crypto_service.dart | 0 .../lib/src/downloader/downloader.dart | 0 .../lib/src/downloader/downloader_stub.dart | 0 .../lib/src/downloader/io_downloader.dart | 0 .../lib/src/downloader/web_downloader.dart | 0 .../lib/src/keychain/keychain.dart | 0 .../lib/src/keychain/keychain_provider.dart | 0 .../src/keychain/keychain_transformers.dart | 0 .../lib/src/keychain/vault_keychain.dart | 0 .../src/keychain/vault_keychain_provider.dart | 0 .../lib/src/lockable.dart | 0 .../registration_progress_notifier.dart | 0 .../registration/registration_service.dart | 0 .../registration_transaction_builder.dart | 0 .../lib/src/storage/dummy_auth_storage.dart | 0 .../lib/src/storage/secure_storage.dart | 0 .../lib/src/storage/storage.dart | 0 .../lib/src/storage/storage_string_mixin.dart | 0 .../storage/vault/secure_storage_vault.dart | 0 .../lib/src/storage/vault/vault.dart | 0 .../lib/src/user/user_service.dart | 0 .../lib/src/user/user_storage.dart | 0 .../catalyst_voices_services/pubspec.yaml | 0 .../test/src/crypto/key_derivation_test.dart | 0 .../src/crypto/vault_crypto_service_test.dart | 0 .../keychain/keychain_transformers_test.dart | 0 .../vault_keychain_provider_test.dart | 0 .../src/keychain/vault_keychain_test.dart | 0 .../test/src/storage/secure_storage_test.dart | 0 .../storage/storage_string_mixin_test.dart | 0 .../vault/secure_storage_vault_test.dart | 0 .../test/src/user/user_service_test.dart | 0 .../catalyst_voices_shared/.gitignore | 0 .../catalyst_voices_shared/README.md | 0 .../analysis_options.yaml | 0 .../catalyst_voices_shared/coverage_badge.svg | 0 .../lib/catalyst_voices_shared.dart | 0 .../lib/src/catalyst_voices_shared.dart | 0 .../lib/src/common/build_config.dart | 0 .../lib/src/common/build_environment.dart | 0 .../src/dependency/dependency_provider.dart | 0 .../formatter/cryptocurrency_formatter.dart | 0 .../formatter/wallet_address_formatter.dart | 0 .../lib/src/logging/logging_service.dart | 0 .../lib/src/platform/catalyst_platform.dart | 0 .../lib/src/platform/io_platform.dart | 0 .../lib/src/platform/platform_key.dart | 0 .../lib/src/platform/stub_platform.dart | 0 .../lib/src/platform/web_platform.dart | 0 .../platform_aware_builder.dart | 0 .../responsive/responsive_breakpoint_key.dart | 0 .../src/responsive/responsive_builder.dart | 0 .../lib/src/responsive/responsive_child.dart | 0 .../src/responsive/responsive_padding.dart | 0 .../lib/src/utils/date_time_ext.dart | 0 .../lib/src/utils/future_ext.dart | 0 .../lib/src/utils/iterable_ext.dart | 0 .../lib/src/utils/typedefs.dart | 0 .../catalyst_voices_shared/pubspec.yaml | 0 .../cryptocurrency_formatter_test.dart | 0 .../wallet_address_formatter_test.dart | 0 .../test/src/platform_aware_builder_test.dart | 0 .../test/src/responsive_builder_test.dart | 0 .../test/src/responsive_child_test.dart | 0 .../test/src/responsive_padding_test.dart | 0 .../test/src/utils/date_time_ext_test.dart | 0 .../test/src/utils/iterable_ext_test.dart | 0 .../catalyst_voices_view_models/.gitignore | 0 .../catalyst_voices_view_models/README.md | 0 .../analysis_options.yaml | 0 .../coverage_badge.svg | 0 .../lib/catalyst_voices_view_models.dart | 0 .../src/authentication/authentication.dart | 0 .../lib/src/authentication/email.dart | 0 .../localized_unlock_password_exception.dart | 0 .../lib/src/authentication/password.dart | 0 .../src/authentication/unlock_password.dart | 0 .../lib/src/catalyst_voices_view_models.dart | 0 .../src/exception/localized_exception.dart | 0 .../localized_unknown_exception.dart | 0 .../localized_registration_exception.dart | 0 .../lib/src/registration/registration.dart | 0 .../src/registration/wallet_connection.dart | 0 .../lib/src/registration/wallet_summary.dart | 0 .../catalyst_voices_view_models/pubspec.yaml | 0 catalyst_voices/pubspec.yaml | 18 +++++------ 565 files changed, 9 insertions(+), 96 deletions(-) delete mode 100644 catalyst_voices/packages/catalyst_voices_repositories/melos_catalyst_voices_repositories.iml delete mode 100644 catalyst_voices/packages/catalyst_voices_services/melos_catalyst_voices_services.iml delete mode 100644 catalyst_voices/packages/catalyst_voices_view_models/melos_catalyst_voices_view_models.iml rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/.gitignore (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/README.md (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/analysis_options.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/colors/colors.xml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/fonts/SF-Pro-Rounded-Regular.ttf (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/academic-cap.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/adjustments.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/all spaces menu-1.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/all spaces menu.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/annotation.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/archive.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/arrow-circle-down.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/arrow-circle-left.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/arrow-circle-right.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/arrow-circle-up.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/arrow-down.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/arrow-left.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/arrow-narrow-down.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/arrow-narrow-left.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/arrow-narrow-right.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/arrow-narrow-up.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/arrow-right.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/arrow-triangle-down.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/arrow-triangle-up.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/arrow-up.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/arrows-expand.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/at-symbol.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/backspace.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/badge-check.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/ban.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/beaker.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/bell.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/book-open.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/bookmark-alt.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/bookmark.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/bottom-main-content.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/bottom-rail-toggle-1.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/bottom-rail-toggle.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/briefcase.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/cake.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/calculator.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/calendar.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/camera.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/cash.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chart-bar.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chart-pie.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chart-square-bar.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chat-alt-2.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chat-alt.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chat.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/check-circle.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/check.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chevron-double-down.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chevron-double-left.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chevron-double-right.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chevron-double-up.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chevron-down-1.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chevron-down.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chevron-left.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chevron-right.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chevron-up.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/chip.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/clipboard-check.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/clipboard-copy.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/clipboard-list.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/clipboard.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/clock.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/cloud-download.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/cloud-upload.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/cloud.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/code.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/cog-gear.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/collection.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/color-swatch.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/credit-card.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/cube-transparent.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/cube.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/currency-bangladeshi.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/currency-dollar.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/currency-euro.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/currency-pound.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/currency-rupee.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/currency-yen.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/cursor-click.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/database.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/desktop-computer.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/device-mobile.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/device-tablet.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/document-add.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/document-remove.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/document-report.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/document-search.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/document-text.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/document.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/dots-circle-horizontal.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/dots-horizontal.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/dots-vertical.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/download.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/duplicate.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/emoji-happy.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/emoji-sad.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/exclamation-circle.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/exclamation.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/external-link.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/eye-off.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/eye.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/fast-forward.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/film.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/filter.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/finger-print.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/fire.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/flag.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/folder-add.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/folder-download.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/folder-open.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/folder-remove.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/folder.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/fund.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/gift.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/globe-alt.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/globe.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/hand.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/hashtag.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/heart.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/home.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/icon-user-remove.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/identification.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/inbox-in.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/inbox.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/information-circle.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/key.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/left-rail-toggle.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/library.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/light-bulb.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/lightning-bolt.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/link.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/location-marker.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/lock-closed.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/lock-open.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/logout-1.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/logout.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/mail-open.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/mail.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/map.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/maximize-toggle.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/menu-alt-1.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/menu-alt-2.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/menu-alt-3.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/menu-alt-4.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/menu.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/microphone.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/minimize-toggle.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/minus-circle.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/minus.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/moon.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/move-item.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/music-note.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/newspaper.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/node-closed.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/node-line-end.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/node-line.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/node-open.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/office-building.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/paper-airplane.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/paper-clip.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/pause.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/pencil-alt.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/pencil.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/phone-incoming.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/phone-missed-call.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/phone-outgoing.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/phone.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/photograph.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/play.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/plus.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/plus_circle_filled.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/plus_circle_outlined.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/presentation-chart-bar.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/presentation-chart-line.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/printer.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/progress-track-warning.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/puzzle.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/qrcode.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/question-mark-circle.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/receipt-refund.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/receipt-tax.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/refresh.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/reply.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/rewind.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/right-rail-toggle.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/rss.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/rt_bold.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/rt_decrease_indent.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/rt_heading.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/rt_increase_indent.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/rt_italic.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/rt_ordered_list.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/rt_unordered_list.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/save-as.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/save.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/scale.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/scissors.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/search-circle.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/search.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/selector.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/send-airplane.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/server.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/share.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/shield-check.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/shield-exclamation.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/shopping-bag.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/shopping-cart.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/sm-view-grid-add.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/sort-ascending.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/sort-descending.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/sparkles.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/speakerphone.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/star_filled.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/star_outlined.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/status-offline.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/status-online.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/stop.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/sun.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/support.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/switch-horizontal.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/switch-vertical.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/table.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/tag.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/template.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/terminal.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/thumb-down.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/thumb-up.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/ticket.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/translate.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/trash.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/trending-down.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/trending-up.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/truck.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/upload.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/user-add.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/user-circle.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/user-group.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/user.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/users.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/variable.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/video-camera.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/view-boards.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/view-grid.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/view-list.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/volume-off.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/volume-up.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/vote.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/wallet.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/wifi.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/x-circle.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/x.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/zoom-in.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/icons/zoom-out.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/2.0x/key_incorrect.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/2.0x/role_drep.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/2.0x/role_proposer.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/2.0x/role_voter.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/2.0x/task_illustration.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/2.0x/welcome_illustration.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/3.0x/key_incorrect.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/3.0x/role_drep.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/3.0x/role_proposer.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/3.0x/role_voter.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/3.0x/task_illustration.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/3.0x/welcome_illustration.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/account_bg.png (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/catalyst_logo.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/catalyst_logo_icon.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/catalyst_logo_icon_white.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/catalyst_logo_white.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/coming_soon_bkg.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/dragger.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/dummy_catalyst_voices.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/facebook.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/facebook_mono.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/fallback_logo.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/fallback_logo_icon.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/key_incorrect.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/keychain.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/linkedin.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/linkedin_mono.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/proposal_background_1.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/proposal_background_2.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/registration_summary_keychain.png (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/registration_summary_roles.png (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/registration_summary_wallet.png (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/role_drep.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/role_info_drep.png (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/role_info_proposer.png (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/role_info_voter.png (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/role_proposer.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/role_voter.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/task_illustration.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/welcome_illustration.webp (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/x.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/assets/images/x_mono.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/example/.gitignore (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/example/.metadata (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/example/README.md (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/example/lib/src/main.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/example/pubspec.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/example/web/favicon.png (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/example/web/icons/Icon-192.png (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/example/web/icons/Icon-512.png (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/example/web/icons/Icon-maskable-192.png (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/example/web/icons/Icon-maskable-512.png (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/example/web/index.html (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/example/web/manifest.json (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/internal_resources/README.md (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/internal_resources/animations/.gitkeep (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/internal_resources/fonts/.gitkeep (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/internal_resources/icons/.gitkeep (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/internal_resources/images/.gitkeep (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/lib/catalyst_voices_assets.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/lib/generated/assets.gen.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/lib/generated/colors.gen.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/lib/generated/fonts.gen.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/lib/src/assets_ext.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/lib/src/catalyst_image.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/lib/src/catalyst_svg_icon.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/lib/src/catalyst_svg_picture.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/lib/src/catalyst_voices_assets.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_assets/pubspec.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/.gitignore (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/README.md (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/analysis_options.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/coverage_badge.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/catalyst_voices_blocs.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/authentication/authentication.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/authentication/authentication_bloc.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/authentication/authentication_event.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/authentication/authentication_state.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/bloc_error_emitter_mixin.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/brand/brand.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/brand/brand_bloc.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/brand/brand_event.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/brand/brand_state.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/catalyst_voices_blocs.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/login/login.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/login/login_bloc.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/login/login_event.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/login/login_state.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/registration/cubits/keychain_creation_cubit.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/registration/cubits/recover_cubit.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/registration/cubits/unlock_password_manager.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/registration/cubits/wallet_link_cubit.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/registration/registration.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/registration/registration_cubit.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/registration/registration_state.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/registration/state_data/keychain_state_data.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/registration/state_data/recover_state_data.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/registration/state_data/registration_state_data.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/registration/state_data/seed_phrase_state_data.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/registration/state_data/unlock_password_state.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/registration/state_data/wallet_link_state_data.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/session/session.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/session/session_cubit.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/lib/src/session/session_state.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/pubspec.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_blocs/test/session/session_cubit_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/.gitignore (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/README.md (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/analysis_options.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/lib/catalyst_voices_brands.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/lib/src/brands/brand.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/lib/src/catalyst_voices_brands.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/lib/src/theme_builder/theme_builder.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/lib/src/theme_extensions/brand_assets.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/lib/src/theme_extensions/theme_extensions.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/lib/src/theme_extensions/voices_color_scheme.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/lib/src/themes/catalyst.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/lib/src/themes/widgets/buttons_theme.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/lib/src/themes/widgets/toggles_theme.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/lib/src/utils/typedefs.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/pubspec.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_brands/test/src/catalyst_voices_brands_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_localization/.gitignore (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_localization/README.md (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_localization/analysis_options.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_localization/l10n.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_localization/lib/catalyst_voices_localization.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_localization/lib/generated/catalyst_voices_localizations.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_localization/lib/generated/catalyst_voices_localizations_en.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_localization/lib/generated/catalyst_voices_localizations_es.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_localization/lib/l10n/intl_en.arb (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_localization/lib/l10n/intl_es.arb (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_localization/lib/src/build_context_localization_extension.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_localization/lib/src/catalyst_voices_localization.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_localization/lib/src/typedefs.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_localization/pubspec.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/.gitignore (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/README.md (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/analysis_options.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/coverage_badge.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/catalyst_voices_models.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/auth/authentication_status.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/auth/password_strength.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/catalyst_voices_models.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/crypto/keychain_metadata.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/crypto/lock_factor.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/document/document_json.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/errors/crypto_exception.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/errors/errors.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/errors/network_error.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/errors/secure_storage_error.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/errors/vault_exception.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/file/voices_file.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/optional.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/proposal/funded_proposal.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/proposal/pending_proposal.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/proposal/proposal_status.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/registration/create_account_type.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/registration/create_keychain_stage.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/registration/exception/registration_exception.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/registration/recover_seed_phrase_stage.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/registration/registration.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/registration/registration_progress.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/registration/registration_recover_method.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/registration/registration_step.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/registration/wallet_link_stage.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/seed_phrase.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/session_data.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/space.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/treasury/treasury_campaign_builder.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/treasury/treasury_campaign_segment.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/treasury/treasury_campaign_segment_step.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/user/account.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/user/account_role.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/user/user.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/wallet/cardano_wallet_details.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/wallet/wallet_info.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/wallet/wallet_metadata.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/workspace/workspace_proposal_navigation.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/workspace/workspace_proposal_segment.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/lib/src/workspace/workspace_proposal_segment_step.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/pubspec.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/test/auth/password_strength_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/test/crypto/keychain_metadata_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/test/crypto/lock_factor_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/test/optional_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_models/test/seed_phrase_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_repositories/.gitignore (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_repositories/README.md (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_repositories/analysis_options.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_repositories/coverage_badge.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_repositories/lib/catalyst_voices_repositories.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_repositories/lib/src/authentication_repository.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_repositories/lib/src/catalyst_data_gateway_repository.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_repositories/lib/src/catalyst_voices_repositories.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_repositories/lib/src/credentials_storage_repository.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_repositories/lib/src/transaction/transaction_config_repository.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_repositories/pubspec.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_repositories/test/src/catalyst_data_gateway_repository/catalyst_data_gateway_repository_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_repositories/test/src/catalyst_voices_repositories_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_repositories/test/src/transaction/transaction_config_repository_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/.gitignore (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/README.md (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/analysis_options.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/build.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/coverage_badge.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/catalyst_voices_services.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.enums.swagger.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.models.swagger.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.models.swagger.g.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.swagger.chopper.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.swagger.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/generated/catalyst_gateway/client_index.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/generated/catalyst_gateway/client_mapping.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/catalyst_voices_services.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/crypto/crypto_service.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/crypto/key_derivation.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/crypto/vault_crypto_service.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/downloader/downloader.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/downloader/downloader_stub.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/downloader/io_downloader.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/downloader/web_downloader.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/keychain/keychain.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/keychain/keychain_provider.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/keychain/keychain_transformers.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/keychain/vault_keychain.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/keychain/vault_keychain_provider.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/lockable.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/registration/registration_progress_notifier.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/registration/registration_service.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/registration/registration_transaction_builder.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/storage/dummy_auth_storage.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/storage/secure_storage.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/storage/storage.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/storage/storage_string_mixin.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/storage/vault/secure_storage_vault.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/storage/vault/vault.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/user/user_service.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/lib/src/user/user_storage.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/pubspec.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/test/src/crypto/key_derivation_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/test/src/crypto/vault_crypto_service_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/test/src/keychain/keychain_transformers_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/test/src/keychain/vault_keychain_provider_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/test/src/keychain/vault_keychain_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/test/src/storage/secure_storage_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/test/src/storage/storage_string_mixin_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/test/src/storage/vault/secure_storage_vault_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_services/test/src/user/user_service_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/.gitignore (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/README.md (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/analysis_options.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/coverage_badge.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/catalyst_voices_shared.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/catalyst_voices_shared.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/common/build_config.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/common/build_environment.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/dependency/dependency_provider.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/formatter/cryptocurrency_formatter.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/formatter/wallet_address_formatter.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/logging/logging_service.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/platform/catalyst_platform.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/platform/io_platform.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/platform/platform_key.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/platform/stub_platform.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/platform/web_platform.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/platform_aware_builder/platform_aware_builder.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/responsive/responsive_breakpoint_key.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/responsive/responsive_builder.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/responsive/responsive_child.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/responsive/responsive_padding.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/utils/date_time_ext.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/utils/future_ext.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/utils/iterable_ext.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/lib/src/utils/typedefs.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/pubspec.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/test/src/formatter/cryptocurrency_formatter_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/test/src/formatter/wallet_address_formatter_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/test/src/platform_aware_builder_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/test/src/responsive_builder_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/test/src/responsive_child_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/test/src/responsive_padding_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/test/src/utils/date_time_ext_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_shared/test/src/utils/iterable_ext_test.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/.gitignore (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/README.md (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/analysis_options.yaml (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/coverage_badge.svg (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/lib/catalyst_voices_view_models.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/lib/src/authentication/authentication.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/lib/src/authentication/email.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/lib/src/authentication/exception/localized_unlock_password_exception.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/lib/src/authentication/password.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/lib/src/authentication/unlock_password.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/lib/src/catalyst_voices_view_models.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/lib/src/exception/localized_exception.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/lib/src/exception/localized_unknown_exception.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/lib/src/registration/exception/localized_registration_exception.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/lib/src/registration/registration.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/lib/src/registration/wallet_connection.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/lib/src/registration/wallet_summary.dart (100%) rename catalyst_voices/packages/{ => internal}/catalyst_voices_view_models/pubspec.yaml (100%) diff --git a/catalyst_voices/packages/catalyst_voices_repositories/melos_catalyst_voices_repositories.iml b/catalyst_voices/packages/catalyst_voices_repositories/melos_catalyst_voices_repositories.iml deleted file mode 100644 index 9fc8ce79a0..0000000000 --- a/catalyst_voices/packages/catalyst_voices_repositories/melos_catalyst_voices_repositories.iml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/catalyst_voices/packages/catalyst_voices_services/melos_catalyst_voices_services.iml b/catalyst_voices/packages/catalyst_voices_services/melos_catalyst_voices_services.iml deleted file mode 100644 index 9fc8ce79a0..0000000000 --- a/catalyst_voices/packages/catalyst_voices_services/melos_catalyst_voices_services.iml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/catalyst_voices/packages/catalyst_voices_view_models/melos_catalyst_voices_view_models.iml b/catalyst_voices/packages/catalyst_voices_view_models/melos_catalyst_voices_view_models.iml deleted file mode 100644 index 9fc8ce79a0..0000000000 --- a/catalyst_voices/packages/catalyst_voices_view_models/melos_catalyst_voices_view_models.iml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/catalyst_voices/packages/catalyst_voices_assets/.gitignore b/catalyst_voices/packages/internal/catalyst_voices_assets/.gitignore similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/.gitignore rename to catalyst_voices/packages/internal/catalyst_voices_assets/.gitignore diff --git a/catalyst_voices/packages/catalyst_voices_assets/README.md b/catalyst_voices/packages/internal/catalyst_voices_assets/README.md similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/README.md rename to catalyst_voices/packages/internal/catalyst_voices_assets/README.md diff --git a/catalyst_voices/packages/catalyst_voices_assets/analysis_options.yaml b/catalyst_voices/packages/internal/catalyst_voices_assets/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/analysis_options.yaml rename to catalyst_voices/packages/internal/catalyst_voices_assets/analysis_options.yaml diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/colors/colors.xml b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/colors/colors.xml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/colors/colors.xml rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/colors/colors.xml diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/fonts/SF-Pro-Rounded-Regular.ttf b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/fonts/SF-Pro-Rounded-Regular.ttf similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/fonts/SF-Pro-Rounded-Regular.ttf rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/fonts/SF-Pro-Rounded-Regular.ttf diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/academic-cap.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/academic-cap.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/academic-cap.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/academic-cap.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/adjustments.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/adjustments.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/adjustments.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/adjustments.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/all spaces menu-1.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/all spaces menu-1.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/all spaces menu-1.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/all spaces menu-1.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/all spaces menu.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/all spaces menu.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/all spaces menu.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/all spaces menu.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/annotation.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/annotation.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/annotation.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/annotation.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/archive.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/archive.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/archive.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/archive.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-circle-down.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-circle-down.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-circle-down.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-circle-down.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-circle-left.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-circle-left.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-circle-left.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-circle-left.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-circle-right.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-circle-right.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-circle-right.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-circle-right.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-circle-up.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-circle-up.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-circle-up.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-circle-up.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-down.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-down.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-down.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-down.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-left.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-left.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-left.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-left.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-narrow-down.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-narrow-down.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-narrow-down.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-narrow-down.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-narrow-left.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-narrow-left.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-narrow-left.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-narrow-left.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-narrow-right.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-narrow-right.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-narrow-right.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-narrow-right.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-narrow-up.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-narrow-up.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-narrow-up.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-narrow-up.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-right.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-right.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-right.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-right.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-triangle-down.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-triangle-down.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-triangle-down.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-triangle-down.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-triangle-up.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-triangle-up.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-triangle-up.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-triangle-up.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-up.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-up.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrow-up.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrow-up.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrows-expand.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrows-expand.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/arrows-expand.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/arrows-expand.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/at-symbol.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/at-symbol.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/at-symbol.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/at-symbol.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/backspace.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/backspace.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/backspace.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/backspace.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/badge-check.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/badge-check.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/badge-check.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/badge-check.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/ban.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/ban.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/ban.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/ban.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/beaker.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/beaker.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/beaker.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/beaker.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/bell.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/bell.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/bell.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/bell.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/book-open.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/book-open.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/book-open.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/book-open.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/bookmark-alt.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/bookmark-alt.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/bookmark-alt.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/bookmark-alt.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/bookmark.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/bookmark.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/bookmark.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/bookmark.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/bottom-main-content.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/bottom-main-content.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/bottom-main-content.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/bottom-main-content.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/bottom-rail-toggle-1.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/bottom-rail-toggle-1.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/bottom-rail-toggle-1.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/bottom-rail-toggle-1.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/bottom-rail-toggle.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/bottom-rail-toggle.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/bottom-rail-toggle.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/bottom-rail-toggle.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/briefcase.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/briefcase.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/briefcase.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/briefcase.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/cake.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cake.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/cake.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cake.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/calculator.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/calculator.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/calculator.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/calculator.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/calendar.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/calendar.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/calendar.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/calendar.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/camera.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/camera.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/camera.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/camera.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/cash.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cash.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/cash.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cash.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chart-bar.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chart-bar.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chart-bar.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chart-bar.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chart-pie.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chart-pie.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chart-pie.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chart-pie.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chart-square-bar.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chart-square-bar.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chart-square-bar.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chart-square-bar.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chat-alt-2.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chat-alt-2.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chat-alt-2.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chat-alt-2.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chat-alt.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chat-alt.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chat-alt.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chat-alt.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chat.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chat.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chat.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chat.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/check-circle.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/check-circle.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/check-circle.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/check-circle.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/check.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/check.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/check.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/check.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-double-down.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-double-down.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-double-down.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-double-down.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-double-left.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-double-left.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-double-left.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-double-left.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-double-right.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-double-right.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-double-right.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-double-right.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-double-up.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-double-up.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-double-up.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-double-up.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-down-1.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-down-1.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-down-1.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-down-1.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-down.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-down.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-down.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-down.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-left.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-left.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-left.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-left.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-right.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-right.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-right.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-right.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-up.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-up.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chevron-up.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chevron-up.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/chip.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chip.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/chip.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/chip.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/clipboard-check.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/clipboard-check.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/clipboard-check.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/clipboard-check.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/clipboard-copy.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/clipboard-copy.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/clipboard-copy.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/clipboard-copy.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/clipboard-list.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/clipboard-list.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/clipboard-list.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/clipboard-list.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/clipboard.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/clipboard.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/clipboard.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/clipboard.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/clock.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/clock.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/clock.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/clock.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/cloud-download.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cloud-download.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/cloud-download.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cloud-download.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/cloud-upload.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cloud-upload.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/cloud-upload.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cloud-upload.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/cloud.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cloud.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/cloud.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cloud.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/code.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/code.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/code.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/code.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/cog-gear.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cog-gear.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/cog-gear.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cog-gear.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/collection.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/collection.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/collection.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/collection.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/color-swatch.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/color-swatch.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/color-swatch.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/color-swatch.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/credit-card.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/credit-card.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/credit-card.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/credit-card.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/cube-transparent.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cube-transparent.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/cube-transparent.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cube-transparent.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/cube.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cube.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/cube.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cube.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/currency-bangladeshi.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/currency-bangladeshi.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/currency-bangladeshi.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/currency-bangladeshi.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/currency-dollar.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/currency-dollar.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/currency-dollar.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/currency-dollar.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/currency-euro.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/currency-euro.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/currency-euro.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/currency-euro.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/currency-pound.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/currency-pound.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/currency-pound.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/currency-pound.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/currency-rupee.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/currency-rupee.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/currency-rupee.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/currency-rupee.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/currency-yen.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/currency-yen.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/currency-yen.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/currency-yen.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/cursor-click.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cursor-click.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/cursor-click.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/cursor-click.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/database.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/database.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/database.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/database.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/desktop-computer.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/desktop-computer.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/desktop-computer.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/desktop-computer.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/device-mobile.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/device-mobile.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/device-mobile.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/device-mobile.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/device-tablet.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/device-tablet.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/device-tablet.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/device-tablet.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/document-add.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/document-add.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/document-add.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/document-add.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/document-remove.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/document-remove.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/document-remove.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/document-remove.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/document-report.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/document-report.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/document-report.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/document-report.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/document-search.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/document-search.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/document-search.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/document-search.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/document-text.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/document-text.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/document-text.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/document-text.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/document.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/document.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/document.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/document.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/dots-circle-horizontal.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/dots-circle-horizontal.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/dots-circle-horizontal.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/dots-circle-horizontal.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/dots-horizontal.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/dots-horizontal.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/dots-horizontal.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/dots-horizontal.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/dots-vertical.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/dots-vertical.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/dots-vertical.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/dots-vertical.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/download.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/download.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/download.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/download.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/duplicate.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/duplicate.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/duplicate.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/duplicate.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/emoji-happy.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/emoji-happy.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/emoji-happy.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/emoji-happy.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/emoji-sad.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/emoji-sad.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/emoji-sad.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/emoji-sad.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/exclamation-circle.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/exclamation-circle.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/exclamation-circle.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/exclamation-circle.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/exclamation.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/exclamation.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/exclamation.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/exclamation.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/external-link.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/external-link.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/external-link.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/external-link.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/eye-off.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/eye-off.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/eye-off.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/eye-off.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/eye.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/eye.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/eye.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/eye.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/fast-forward.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/fast-forward.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/fast-forward.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/fast-forward.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/film.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/film.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/film.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/film.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/filter.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/filter.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/filter.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/filter.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/finger-print.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/finger-print.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/finger-print.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/finger-print.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/fire.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/fire.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/fire.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/fire.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/flag.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/flag.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/flag.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/flag.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/folder-add.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/folder-add.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/folder-add.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/folder-add.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/folder-download.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/folder-download.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/folder-download.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/folder-download.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/folder-open.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/folder-open.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/folder-open.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/folder-open.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/folder-remove.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/folder-remove.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/folder-remove.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/folder-remove.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/folder.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/folder.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/folder.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/folder.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/fund.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/fund.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/fund.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/fund.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/gift.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/gift.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/gift.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/gift.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/globe-alt.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/globe-alt.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/globe-alt.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/globe-alt.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/globe.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/globe.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/globe.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/globe.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/hand.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/hand.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/hand.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/hand.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/hashtag.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/hashtag.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/hashtag.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/hashtag.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/heart.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/heart.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/heart.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/heart.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/home.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/home.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/home.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/home.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/icon-user-remove.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/icon-user-remove.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/icon-user-remove.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/icon-user-remove.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/identification.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/identification.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/identification.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/identification.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/inbox-in.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/inbox-in.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/inbox-in.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/inbox-in.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/inbox.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/inbox.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/inbox.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/inbox.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/information-circle.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/information-circle.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/information-circle.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/information-circle.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/key.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/key.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/key.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/key.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/left-rail-toggle.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/left-rail-toggle.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/left-rail-toggle.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/left-rail-toggle.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/library.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/library.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/library.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/library.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/light-bulb.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/light-bulb.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/light-bulb.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/light-bulb.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/lightning-bolt.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/lightning-bolt.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/lightning-bolt.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/lightning-bolt.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/link.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/link.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/link.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/link.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/location-marker.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/location-marker.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/location-marker.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/location-marker.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/lock-closed.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/lock-closed.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/lock-closed.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/lock-closed.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/lock-open.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/lock-open.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/lock-open.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/lock-open.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/logout-1.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/logout-1.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/logout-1.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/logout-1.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/logout.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/logout.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/logout.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/logout.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/mail-open.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/mail-open.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/mail-open.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/mail-open.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/mail.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/mail.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/mail.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/mail.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/map.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/map.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/map.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/map.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/maximize-toggle.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/maximize-toggle.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/maximize-toggle.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/maximize-toggle.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/menu-alt-1.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/menu-alt-1.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/menu-alt-1.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/menu-alt-1.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/menu-alt-2.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/menu-alt-2.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/menu-alt-2.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/menu-alt-2.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/menu-alt-3.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/menu-alt-3.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/menu-alt-3.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/menu-alt-3.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/menu-alt-4.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/menu-alt-4.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/menu-alt-4.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/menu-alt-4.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/menu.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/menu.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/menu.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/menu.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/microphone.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/microphone.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/microphone.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/microphone.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/minimize-toggle.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/minimize-toggle.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/minimize-toggle.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/minimize-toggle.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/minus-circle.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/minus-circle.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/minus-circle.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/minus-circle.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/minus.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/minus.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/minus.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/minus.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/moon.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/moon.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/moon.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/moon.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/move-item.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/move-item.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/move-item.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/move-item.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/music-note.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/music-note.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/music-note.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/music-note.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/newspaper.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/newspaper.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/newspaper.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/newspaper.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/node-closed.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/node-closed.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/node-closed.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/node-closed.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/node-line-end.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/node-line-end.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/node-line-end.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/node-line-end.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/node-line.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/node-line.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/node-line.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/node-line.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/node-open.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/node-open.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/node-open.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/node-open.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/office-building.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/office-building.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/office-building.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/office-building.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/paper-airplane.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/paper-airplane.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/paper-airplane.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/paper-airplane.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/paper-clip.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/paper-clip.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/paper-clip.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/paper-clip.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/pause.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/pause.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/pause.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/pause.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/pencil-alt.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/pencil-alt.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/pencil-alt.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/pencil-alt.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/pencil.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/pencil.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/pencil.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/pencil.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/phone-incoming.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/phone-incoming.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/phone-incoming.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/phone-incoming.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/phone-missed-call.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/phone-missed-call.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/phone-missed-call.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/phone-missed-call.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/phone-outgoing.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/phone-outgoing.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/phone-outgoing.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/phone-outgoing.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/phone.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/phone.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/phone.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/phone.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/photograph.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/photograph.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/photograph.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/photograph.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/play.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/play.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/play.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/play.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/plus.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/plus.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/plus.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/plus.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/plus_circle_filled.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/plus_circle_filled.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/plus_circle_filled.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/plus_circle_filled.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/plus_circle_outlined.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/plus_circle_outlined.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/plus_circle_outlined.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/plus_circle_outlined.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/presentation-chart-bar.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/presentation-chart-bar.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/presentation-chart-bar.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/presentation-chart-bar.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/presentation-chart-line.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/presentation-chart-line.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/presentation-chart-line.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/presentation-chart-line.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/printer.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/printer.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/printer.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/printer.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/progress-track-warning.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/progress-track-warning.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/progress-track-warning.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/progress-track-warning.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/puzzle.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/puzzle.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/puzzle.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/puzzle.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/qrcode.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/qrcode.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/qrcode.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/qrcode.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/question-mark-circle.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/question-mark-circle.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/question-mark-circle.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/question-mark-circle.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/receipt-refund.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/receipt-refund.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/receipt-refund.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/receipt-refund.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/receipt-tax.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/receipt-tax.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/receipt-tax.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/receipt-tax.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/refresh.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/refresh.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/refresh.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/refresh.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/reply.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/reply.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/reply.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/reply.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/rewind.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rewind.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/rewind.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rewind.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/right-rail-toggle.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/right-rail-toggle.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/right-rail-toggle.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/right-rail-toggle.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/rss.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rss.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/rss.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rss.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/rt_bold.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rt_bold.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/rt_bold.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rt_bold.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/rt_decrease_indent.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rt_decrease_indent.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/rt_decrease_indent.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rt_decrease_indent.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/rt_heading.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rt_heading.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/rt_heading.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rt_heading.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/rt_increase_indent.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rt_increase_indent.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/rt_increase_indent.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rt_increase_indent.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/rt_italic.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rt_italic.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/rt_italic.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rt_italic.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/rt_ordered_list.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rt_ordered_list.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/rt_ordered_list.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rt_ordered_list.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/rt_unordered_list.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rt_unordered_list.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/rt_unordered_list.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/rt_unordered_list.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/save-as.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/save-as.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/save-as.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/save-as.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/save.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/save.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/save.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/save.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/scale.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/scale.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/scale.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/scale.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/scissors.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/scissors.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/scissors.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/scissors.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/search-circle.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/search-circle.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/search-circle.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/search-circle.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/search.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/search.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/search.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/search.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/selector.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/selector.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/selector.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/selector.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/send-airplane.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/send-airplane.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/send-airplane.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/send-airplane.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/server.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/server.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/server.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/server.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/share.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/share.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/share.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/share.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/shield-check.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/shield-check.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/shield-check.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/shield-check.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/shield-exclamation.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/shield-exclamation.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/shield-exclamation.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/shield-exclamation.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/shopping-bag.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/shopping-bag.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/shopping-bag.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/shopping-bag.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/shopping-cart.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/shopping-cart.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/shopping-cart.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/shopping-cart.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/sm-view-grid-add.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/sm-view-grid-add.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/sm-view-grid-add.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/sm-view-grid-add.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/sort-ascending.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/sort-ascending.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/sort-ascending.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/sort-ascending.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/sort-descending.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/sort-descending.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/sort-descending.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/sort-descending.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/sparkles.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/sparkles.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/sparkles.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/sparkles.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/speakerphone.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/speakerphone.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/speakerphone.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/speakerphone.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/star_filled.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/star_filled.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/star_filled.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/star_filled.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/star_outlined.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/star_outlined.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/star_outlined.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/star_outlined.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/status-offline.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/status-offline.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/status-offline.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/status-offline.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/status-online.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/status-online.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/status-online.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/status-online.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/stop.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/stop.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/stop.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/stop.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/sun.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/sun.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/sun.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/sun.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/support.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/support.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/support.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/support.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/switch-horizontal.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/switch-horizontal.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/switch-horizontal.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/switch-horizontal.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/switch-vertical.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/switch-vertical.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/switch-vertical.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/switch-vertical.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/table.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/table.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/table.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/table.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/tag.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/tag.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/tag.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/tag.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/template.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/template.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/template.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/template.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/terminal.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/terminal.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/terminal.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/terminal.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/thumb-down.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/thumb-down.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/thumb-down.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/thumb-down.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/thumb-up.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/thumb-up.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/thumb-up.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/thumb-up.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/ticket.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/ticket.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/ticket.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/ticket.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/translate.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/translate.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/translate.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/translate.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/trash.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/trash.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/trash.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/trash.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/trending-down.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/trending-down.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/trending-down.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/trending-down.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/trending-up.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/trending-up.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/trending-up.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/trending-up.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/truck.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/truck.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/truck.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/truck.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/upload.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/upload.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/upload.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/upload.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/user-add.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/user-add.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/user-add.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/user-add.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/user-circle.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/user-circle.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/user-circle.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/user-circle.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/user-group.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/user-group.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/user-group.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/user-group.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/user.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/user.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/user.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/user.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/users.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/users.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/users.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/users.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/variable.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/variable.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/variable.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/variable.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/video-camera.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/video-camera.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/video-camera.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/video-camera.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/view-boards.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/view-boards.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/view-boards.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/view-boards.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/view-grid.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/view-grid.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/view-grid.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/view-grid.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/view-list.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/view-list.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/view-list.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/view-list.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/volume-off.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/volume-off.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/volume-off.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/volume-off.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/volume-up.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/volume-up.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/volume-up.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/volume-up.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/vote.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/vote.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/vote.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/vote.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/wallet.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/wallet.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/wallet.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/wallet.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/wifi.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/wifi.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/wifi.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/wifi.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/x-circle.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/x-circle.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/x-circle.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/x-circle.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/x.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/x.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/x.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/x.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/zoom-in.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/zoom-in.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/zoom-in.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/zoom-in.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/icons/zoom-out.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/zoom-out.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/icons/zoom-out.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/icons/zoom-out.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/2.0x/key_incorrect.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/2.0x/key_incorrect.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/2.0x/key_incorrect.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/2.0x/key_incorrect.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/2.0x/role_drep.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/2.0x/role_drep.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/2.0x/role_drep.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/2.0x/role_drep.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/2.0x/role_proposer.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/2.0x/role_proposer.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/2.0x/role_proposer.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/2.0x/role_proposer.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/2.0x/role_voter.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/2.0x/role_voter.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/2.0x/role_voter.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/2.0x/role_voter.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/2.0x/task_illustration.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/2.0x/task_illustration.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/2.0x/task_illustration.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/2.0x/task_illustration.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/2.0x/welcome_illustration.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/2.0x/welcome_illustration.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/2.0x/welcome_illustration.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/2.0x/welcome_illustration.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/3.0x/key_incorrect.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/3.0x/key_incorrect.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/3.0x/key_incorrect.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/3.0x/key_incorrect.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/3.0x/role_drep.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/3.0x/role_drep.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/3.0x/role_drep.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/3.0x/role_drep.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/3.0x/role_proposer.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/3.0x/role_proposer.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/3.0x/role_proposer.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/3.0x/role_proposer.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/3.0x/role_voter.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/3.0x/role_voter.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/3.0x/role_voter.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/3.0x/role_voter.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/3.0x/task_illustration.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/3.0x/task_illustration.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/3.0x/task_illustration.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/3.0x/task_illustration.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/3.0x/welcome_illustration.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/3.0x/welcome_illustration.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/3.0x/welcome_illustration.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/3.0x/welcome_illustration.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/account_bg.png b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/account_bg.png similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/account_bg.png rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/account_bg.png diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/catalyst_logo.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/catalyst_logo.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/catalyst_logo.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/catalyst_logo.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/catalyst_logo_icon.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/catalyst_logo_icon.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/catalyst_logo_icon.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/catalyst_logo_icon.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/catalyst_logo_icon_white.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/catalyst_logo_icon_white.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/catalyst_logo_icon_white.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/catalyst_logo_icon_white.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/catalyst_logo_white.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/catalyst_logo_white.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/catalyst_logo_white.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/catalyst_logo_white.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/coming_soon_bkg.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/coming_soon_bkg.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/coming_soon_bkg.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/coming_soon_bkg.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/dragger.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/dragger.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/dragger.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/dragger.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/dummy_catalyst_voices.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/dummy_catalyst_voices.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/dummy_catalyst_voices.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/dummy_catalyst_voices.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/facebook.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/facebook.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/facebook.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/facebook.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/facebook_mono.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/facebook_mono.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/facebook_mono.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/facebook_mono.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/fallback_logo.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/fallback_logo.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/fallback_logo.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/fallback_logo.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/fallback_logo_icon.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/fallback_logo_icon.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/fallback_logo_icon.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/fallback_logo_icon.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/key_incorrect.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/key_incorrect.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/key_incorrect.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/key_incorrect.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/keychain.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/keychain.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/keychain.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/keychain.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/linkedin.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/linkedin.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/linkedin.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/linkedin.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/linkedin_mono.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/linkedin_mono.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/linkedin_mono.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/linkedin_mono.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/proposal_background_1.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/proposal_background_1.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/proposal_background_1.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/proposal_background_1.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/proposal_background_2.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/proposal_background_2.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/proposal_background_2.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/proposal_background_2.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/registration_summary_keychain.png b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/registration_summary_keychain.png similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/registration_summary_keychain.png rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/registration_summary_keychain.png diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/registration_summary_roles.png b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/registration_summary_roles.png similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/registration_summary_roles.png rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/registration_summary_roles.png diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/registration_summary_wallet.png b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/registration_summary_wallet.png similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/registration_summary_wallet.png rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/registration_summary_wallet.png diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/role_drep.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/role_drep.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/role_drep.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/role_drep.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/role_info_drep.png b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/role_info_drep.png similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/role_info_drep.png rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/role_info_drep.png diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/role_info_proposer.png b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/role_info_proposer.png similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/role_info_proposer.png rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/role_info_proposer.png diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/role_info_voter.png b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/role_info_voter.png similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/role_info_voter.png rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/role_info_voter.png diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/role_proposer.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/role_proposer.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/role_proposer.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/role_proposer.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/role_voter.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/role_voter.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/role_voter.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/role_voter.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/task_illustration.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/task_illustration.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/task_illustration.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/task_illustration.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/welcome_illustration.webp b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/welcome_illustration.webp similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/welcome_illustration.webp rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/welcome_illustration.webp diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/x.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/x.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/x.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/x.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/x_mono.svg b/catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/x_mono.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/assets/images/x_mono.svg rename to catalyst_voices/packages/internal/catalyst_voices_assets/assets/images/x_mono.svg diff --git a/catalyst_voices/packages/catalyst_voices_assets/example/.gitignore b/catalyst_voices/packages/internal/catalyst_voices_assets/example/.gitignore similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/example/.gitignore rename to catalyst_voices/packages/internal/catalyst_voices_assets/example/.gitignore diff --git a/catalyst_voices/packages/catalyst_voices_assets/example/.metadata b/catalyst_voices/packages/internal/catalyst_voices_assets/example/.metadata similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/example/.metadata rename to catalyst_voices/packages/internal/catalyst_voices_assets/example/.metadata diff --git a/catalyst_voices/packages/catalyst_voices_assets/example/README.md b/catalyst_voices/packages/internal/catalyst_voices_assets/example/README.md similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/example/README.md rename to catalyst_voices/packages/internal/catalyst_voices_assets/example/README.md diff --git a/catalyst_voices/packages/catalyst_voices_assets/example/lib/src/main.dart b/catalyst_voices/packages/internal/catalyst_voices_assets/example/lib/src/main.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/example/lib/src/main.dart rename to catalyst_voices/packages/internal/catalyst_voices_assets/example/lib/src/main.dart diff --git a/catalyst_voices/packages/catalyst_voices_assets/example/pubspec.yaml b/catalyst_voices/packages/internal/catalyst_voices_assets/example/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/example/pubspec.yaml rename to catalyst_voices/packages/internal/catalyst_voices_assets/example/pubspec.yaml diff --git a/catalyst_voices/packages/catalyst_voices_assets/example/web/favicon.png b/catalyst_voices/packages/internal/catalyst_voices_assets/example/web/favicon.png similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/example/web/favicon.png rename to catalyst_voices/packages/internal/catalyst_voices_assets/example/web/favicon.png diff --git a/catalyst_voices/packages/catalyst_voices_assets/example/web/icons/Icon-192.png b/catalyst_voices/packages/internal/catalyst_voices_assets/example/web/icons/Icon-192.png similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/example/web/icons/Icon-192.png rename to catalyst_voices/packages/internal/catalyst_voices_assets/example/web/icons/Icon-192.png diff --git a/catalyst_voices/packages/catalyst_voices_assets/example/web/icons/Icon-512.png b/catalyst_voices/packages/internal/catalyst_voices_assets/example/web/icons/Icon-512.png similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/example/web/icons/Icon-512.png rename to catalyst_voices/packages/internal/catalyst_voices_assets/example/web/icons/Icon-512.png diff --git a/catalyst_voices/packages/catalyst_voices_assets/example/web/icons/Icon-maskable-192.png b/catalyst_voices/packages/internal/catalyst_voices_assets/example/web/icons/Icon-maskable-192.png similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/example/web/icons/Icon-maskable-192.png rename to catalyst_voices/packages/internal/catalyst_voices_assets/example/web/icons/Icon-maskable-192.png diff --git a/catalyst_voices/packages/catalyst_voices_assets/example/web/icons/Icon-maskable-512.png b/catalyst_voices/packages/internal/catalyst_voices_assets/example/web/icons/Icon-maskable-512.png similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/example/web/icons/Icon-maskable-512.png rename to catalyst_voices/packages/internal/catalyst_voices_assets/example/web/icons/Icon-maskable-512.png diff --git a/catalyst_voices/packages/catalyst_voices_assets/example/web/index.html b/catalyst_voices/packages/internal/catalyst_voices_assets/example/web/index.html similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/example/web/index.html rename to catalyst_voices/packages/internal/catalyst_voices_assets/example/web/index.html diff --git a/catalyst_voices/packages/catalyst_voices_assets/example/web/manifest.json b/catalyst_voices/packages/internal/catalyst_voices_assets/example/web/manifest.json similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/example/web/manifest.json rename to catalyst_voices/packages/internal/catalyst_voices_assets/example/web/manifest.json diff --git a/catalyst_voices/packages/catalyst_voices_assets/internal_resources/README.md b/catalyst_voices/packages/internal/catalyst_voices_assets/internal_resources/README.md similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/internal_resources/README.md rename to catalyst_voices/packages/internal/catalyst_voices_assets/internal_resources/README.md diff --git a/catalyst_voices/packages/catalyst_voices_assets/internal_resources/animations/.gitkeep b/catalyst_voices/packages/internal/catalyst_voices_assets/internal_resources/animations/.gitkeep similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/internal_resources/animations/.gitkeep rename to catalyst_voices/packages/internal/catalyst_voices_assets/internal_resources/animations/.gitkeep diff --git a/catalyst_voices/packages/catalyst_voices_assets/internal_resources/fonts/.gitkeep b/catalyst_voices/packages/internal/catalyst_voices_assets/internal_resources/fonts/.gitkeep similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/internal_resources/fonts/.gitkeep rename to catalyst_voices/packages/internal/catalyst_voices_assets/internal_resources/fonts/.gitkeep diff --git a/catalyst_voices/packages/catalyst_voices_assets/internal_resources/icons/.gitkeep b/catalyst_voices/packages/internal/catalyst_voices_assets/internal_resources/icons/.gitkeep similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/internal_resources/icons/.gitkeep rename to catalyst_voices/packages/internal/catalyst_voices_assets/internal_resources/icons/.gitkeep diff --git a/catalyst_voices/packages/catalyst_voices_assets/internal_resources/images/.gitkeep b/catalyst_voices/packages/internal/catalyst_voices_assets/internal_resources/images/.gitkeep similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/internal_resources/images/.gitkeep rename to catalyst_voices/packages/internal/catalyst_voices_assets/internal_resources/images/.gitkeep diff --git a/catalyst_voices/packages/catalyst_voices_assets/lib/catalyst_voices_assets.dart b/catalyst_voices/packages/internal/catalyst_voices_assets/lib/catalyst_voices_assets.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/lib/catalyst_voices_assets.dart rename to catalyst_voices/packages/internal/catalyst_voices_assets/lib/catalyst_voices_assets.dart diff --git a/catalyst_voices/packages/catalyst_voices_assets/lib/generated/assets.gen.dart b/catalyst_voices/packages/internal/catalyst_voices_assets/lib/generated/assets.gen.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/lib/generated/assets.gen.dart rename to catalyst_voices/packages/internal/catalyst_voices_assets/lib/generated/assets.gen.dart diff --git a/catalyst_voices/packages/catalyst_voices_assets/lib/generated/colors.gen.dart b/catalyst_voices/packages/internal/catalyst_voices_assets/lib/generated/colors.gen.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/lib/generated/colors.gen.dart rename to catalyst_voices/packages/internal/catalyst_voices_assets/lib/generated/colors.gen.dart diff --git a/catalyst_voices/packages/catalyst_voices_assets/lib/generated/fonts.gen.dart b/catalyst_voices/packages/internal/catalyst_voices_assets/lib/generated/fonts.gen.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/lib/generated/fonts.gen.dart rename to catalyst_voices/packages/internal/catalyst_voices_assets/lib/generated/fonts.gen.dart diff --git a/catalyst_voices/packages/catalyst_voices_assets/lib/src/assets_ext.dart b/catalyst_voices/packages/internal/catalyst_voices_assets/lib/src/assets_ext.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/lib/src/assets_ext.dart rename to catalyst_voices/packages/internal/catalyst_voices_assets/lib/src/assets_ext.dart diff --git a/catalyst_voices/packages/catalyst_voices_assets/lib/src/catalyst_image.dart b/catalyst_voices/packages/internal/catalyst_voices_assets/lib/src/catalyst_image.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/lib/src/catalyst_image.dart rename to catalyst_voices/packages/internal/catalyst_voices_assets/lib/src/catalyst_image.dart diff --git a/catalyst_voices/packages/catalyst_voices_assets/lib/src/catalyst_svg_icon.dart b/catalyst_voices/packages/internal/catalyst_voices_assets/lib/src/catalyst_svg_icon.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/lib/src/catalyst_svg_icon.dart rename to catalyst_voices/packages/internal/catalyst_voices_assets/lib/src/catalyst_svg_icon.dart diff --git a/catalyst_voices/packages/catalyst_voices_assets/lib/src/catalyst_svg_picture.dart b/catalyst_voices/packages/internal/catalyst_voices_assets/lib/src/catalyst_svg_picture.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/lib/src/catalyst_svg_picture.dart rename to catalyst_voices/packages/internal/catalyst_voices_assets/lib/src/catalyst_svg_picture.dart diff --git a/catalyst_voices/packages/catalyst_voices_assets/lib/src/catalyst_voices_assets.dart b/catalyst_voices/packages/internal/catalyst_voices_assets/lib/src/catalyst_voices_assets.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/lib/src/catalyst_voices_assets.dart rename to catalyst_voices/packages/internal/catalyst_voices_assets/lib/src/catalyst_voices_assets.dart diff --git a/catalyst_voices/packages/catalyst_voices_assets/pubspec.yaml b/catalyst_voices/packages/internal/catalyst_voices_assets/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_assets/pubspec.yaml rename to catalyst_voices/packages/internal/catalyst_voices_assets/pubspec.yaml diff --git a/catalyst_voices/packages/catalyst_voices_blocs/.gitignore b/catalyst_voices/packages/internal/catalyst_voices_blocs/.gitignore similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/.gitignore rename to catalyst_voices/packages/internal/catalyst_voices_blocs/.gitignore diff --git a/catalyst_voices/packages/catalyst_voices_blocs/README.md b/catalyst_voices/packages/internal/catalyst_voices_blocs/README.md similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/README.md rename to catalyst_voices/packages/internal/catalyst_voices_blocs/README.md diff --git a/catalyst_voices/packages/catalyst_voices_blocs/analysis_options.yaml b/catalyst_voices/packages/internal/catalyst_voices_blocs/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/analysis_options.yaml rename to catalyst_voices/packages/internal/catalyst_voices_blocs/analysis_options.yaml diff --git a/catalyst_voices/packages/catalyst_voices_blocs/coverage_badge.svg b/catalyst_voices/packages/internal/catalyst_voices_blocs/coverage_badge.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/coverage_badge.svg rename to catalyst_voices/packages/internal/catalyst_voices_blocs/coverage_badge.svg diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/catalyst_voices_blocs.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/catalyst_voices_blocs.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/catalyst_voices_blocs.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/catalyst_voices_blocs.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/authentication/authentication.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/authentication/authentication.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/authentication/authentication.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/authentication/authentication.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/authentication/authentication_bloc.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/authentication/authentication_bloc.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/authentication/authentication_bloc.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/authentication/authentication_bloc.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/authentication/authentication_event.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/authentication/authentication_event.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/authentication/authentication_event.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/authentication/authentication_event.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/authentication/authentication_state.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/authentication/authentication_state.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/authentication/authentication_state.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/authentication/authentication_state.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/bloc_error_emitter_mixin.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/bloc_error_emitter_mixin.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/bloc_error_emitter_mixin.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/bloc_error_emitter_mixin.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/brand/brand.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/brand/brand.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/brand/brand.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/brand/brand.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/brand/brand_bloc.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/brand/brand_bloc.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/brand/brand_bloc.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/brand/brand_bloc.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/brand/brand_event.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/brand/brand_event.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/brand/brand_event.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/brand/brand_event.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/brand/brand_state.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/brand/brand_state.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/brand/brand_state.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/brand/brand_state.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/catalyst_voices_blocs.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/catalyst_voices_blocs.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/catalyst_voices_blocs.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/catalyst_voices_blocs.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/login/login.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/login/login.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/login/login.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/login/login.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/login/login_bloc.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/login/login_bloc.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/login/login_bloc.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/login/login_bloc.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/login/login_event.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/login/login_event.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/login/login_event.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/login/login_event.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/login/login_state.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/login/login_state.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/login/login_state.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/login/login_state.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/cubits/keychain_creation_cubit.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/cubits/keychain_creation_cubit.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/cubits/keychain_creation_cubit.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/cubits/keychain_creation_cubit.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/cubits/recover_cubit.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/cubits/recover_cubit.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/cubits/recover_cubit.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/cubits/recover_cubit.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/cubits/unlock_password_manager.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/cubits/unlock_password_manager.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/cubits/unlock_password_manager.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/cubits/unlock_password_manager.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/cubits/wallet_link_cubit.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/cubits/wallet_link_cubit.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/cubits/wallet_link_cubit.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/cubits/wallet_link_cubit.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/registration.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/registration.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/registration.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/registration.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/registration_cubit.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/registration_cubit.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/registration_cubit.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/registration_cubit.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/registration_state.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/registration_state.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/registration_state.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/registration_state.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/state_data/keychain_state_data.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/state_data/keychain_state_data.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/state_data/keychain_state_data.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/state_data/keychain_state_data.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/state_data/recover_state_data.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/state_data/recover_state_data.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/state_data/recover_state_data.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/state_data/recover_state_data.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/state_data/registration_state_data.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/state_data/registration_state_data.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/state_data/registration_state_data.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/state_data/registration_state_data.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/state_data/seed_phrase_state_data.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/state_data/seed_phrase_state_data.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/state_data/seed_phrase_state_data.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/state_data/seed_phrase_state_data.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/state_data/unlock_password_state.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/state_data/unlock_password_state.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/state_data/unlock_password_state.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/state_data/unlock_password_state.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/state_data/wallet_link_state_data.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/state_data/wallet_link_state_data.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/registration/state_data/wallet_link_state_data.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/registration/state_data/wallet_link_state_data.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/session/session.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/session/session.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/session/session.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/session/session.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/session/session_cubit.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/session/session_cubit.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/session/session_cubit.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/session/session_cubit.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/lib/src/session/session_state.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/session/session_state.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/lib/src/session/session_state.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/session/session_state.dart diff --git a/catalyst_voices/packages/catalyst_voices_blocs/pubspec.yaml b/catalyst_voices/packages/internal/catalyst_voices_blocs/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/pubspec.yaml rename to catalyst_voices/packages/internal/catalyst_voices_blocs/pubspec.yaml diff --git a/catalyst_voices/packages/catalyst_voices_blocs/test/session/session_cubit_test.dart b/catalyst_voices/packages/internal/catalyst_voices_blocs/test/session/session_cubit_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_blocs/test/session/session_cubit_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_blocs/test/session/session_cubit_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_brands/.gitignore b/catalyst_voices/packages/internal/catalyst_voices_brands/.gitignore similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/.gitignore rename to catalyst_voices/packages/internal/catalyst_voices_brands/.gitignore diff --git a/catalyst_voices/packages/catalyst_voices_brands/README.md b/catalyst_voices/packages/internal/catalyst_voices_brands/README.md similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/README.md rename to catalyst_voices/packages/internal/catalyst_voices_brands/README.md diff --git a/catalyst_voices/packages/catalyst_voices_brands/analysis_options.yaml b/catalyst_voices/packages/internal/catalyst_voices_brands/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/analysis_options.yaml rename to catalyst_voices/packages/internal/catalyst_voices_brands/analysis_options.yaml diff --git a/catalyst_voices/packages/catalyst_voices_brands/lib/catalyst_voices_brands.dart b/catalyst_voices/packages/internal/catalyst_voices_brands/lib/catalyst_voices_brands.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/lib/catalyst_voices_brands.dart rename to catalyst_voices/packages/internal/catalyst_voices_brands/lib/catalyst_voices_brands.dart diff --git a/catalyst_voices/packages/catalyst_voices_brands/lib/src/brands/brand.dart b/catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/brands/brand.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/lib/src/brands/brand.dart rename to catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/brands/brand.dart diff --git a/catalyst_voices/packages/catalyst_voices_brands/lib/src/catalyst_voices_brands.dart b/catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/catalyst_voices_brands.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/lib/src/catalyst_voices_brands.dart rename to catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/catalyst_voices_brands.dart diff --git a/catalyst_voices/packages/catalyst_voices_brands/lib/src/theme_builder/theme_builder.dart b/catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/theme_builder/theme_builder.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/lib/src/theme_builder/theme_builder.dart rename to catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/theme_builder/theme_builder.dart diff --git a/catalyst_voices/packages/catalyst_voices_brands/lib/src/theme_extensions/brand_assets.dart b/catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/theme_extensions/brand_assets.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/lib/src/theme_extensions/brand_assets.dart rename to catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/theme_extensions/brand_assets.dart diff --git a/catalyst_voices/packages/catalyst_voices_brands/lib/src/theme_extensions/theme_extensions.dart b/catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/theme_extensions/theme_extensions.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/lib/src/theme_extensions/theme_extensions.dart rename to catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/theme_extensions/theme_extensions.dart diff --git a/catalyst_voices/packages/catalyst_voices_brands/lib/src/theme_extensions/voices_color_scheme.dart b/catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/theme_extensions/voices_color_scheme.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/lib/src/theme_extensions/voices_color_scheme.dart rename to catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/theme_extensions/voices_color_scheme.dart diff --git a/catalyst_voices/packages/catalyst_voices_brands/lib/src/themes/catalyst.dart b/catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/themes/catalyst.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/lib/src/themes/catalyst.dart rename to catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/themes/catalyst.dart diff --git a/catalyst_voices/packages/catalyst_voices_brands/lib/src/themes/widgets/buttons_theme.dart b/catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/themes/widgets/buttons_theme.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/lib/src/themes/widgets/buttons_theme.dart rename to catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/themes/widgets/buttons_theme.dart diff --git a/catalyst_voices/packages/catalyst_voices_brands/lib/src/themes/widgets/toggles_theme.dart b/catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/themes/widgets/toggles_theme.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/lib/src/themes/widgets/toggles_theme.dart rename to catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/themes/widgets/toggles_theme.dart diff --git a/catalyst_voices/packages/catalyst_voices_brands/lib/src/utils/typedefs.dart b/catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/utils/typedefs.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/lib/src/utils/typedefs.dart rename to catalyst_voices/packages/internal/catalyst_voices_brands/lib/src/utils/typedefs.dart diff --git a/catalyst_voices/packages/catalyst_voices_brands/pubspec.yaml b/catalyst_voices/packages/internal/catalyst_voices_brands/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/pubspec.yaml rename to catalyst_voices/packages/internal/catalyst_voices_brands/pubspec.yaml diff --git a/catalyst_voices/packages/catalyst_voices_brands/test/src/catalyst_voices_brands_test.dart b/catalyst_voices/packages/internal/catalyst_voices_brands/test/src/catalyst_voices_brands_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_brands/test/src/catalyst_voices_brands_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_brands/test/src/catalyst_voices_brands_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_localization/.gitignore b/catalyst_voices/packages/internal/catalyst_voices_localization/.gitignore similarity index 100% rename from catalyst_voices/packages/catalyst_voices_localization/.gitignore rename to catalyst_voices/packages/internal/catalyst_voices_localization/.gitignore diff --git a/catalyst_voices/packages/catalyst_voices_localization/README.md b/catalyst_voices/packages/internal/catalyst_voices_localization/README.md similarity index 100% rename from catalyst_voices/packages/catalyst_voices_localization/README.md rename to catalyst_voices/packages/internal/catalyst_voices_localization/README.md diff --git a/catalyst_voices/packages/catalyst_voices_localization/analysis_options.yaml b/catalyst_voices/packages/internal/catalyst_voices_localization/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_localization/analysis_options.yaml rename to catalyst_voices/packages/internal/catalyst_voices_localization/analysis_options.yaml diff --git a/catalyst_voices/packages/catalyst_voices_localization/l10n.yaml b/catalyst_voices/packages/internal/catalyst_voices_localization/l10n.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_localization/l10n.yaml rename to catalyst_voices/packages/internal/catalyst_voices_localization/l10n.yaml diff --git a/catalyst_voices/packages/catalyst_voices_localization/lib/catalyst_voices_localization.dart b/catalyst_voices/packages/internal/catalyst_voices_localization/lib/catalyst_voices_localization.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_localization/lib/catalyst_voices_localization.dart rename to catalyst_voices/packages/internal/catalyst_voices_localization/lib/catalyst_voices_localization.dart diff --git a/catalyst_voices/packages/catalyst_voices_localization/lib/generated/catalyst_voices_localizations.dart b/catalyst_voices/packages/internal/catalyst_voices_localization/lib/generated/catalyst_voices_localizations.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_localization/lib/generated/catalyst_voices_localizations.dart rename to catalyst_voices/packages/internal/catalyst_voices_localization/lib/generated/catalyst_voices_localizations.dart diff --git a/catalyst_voices/packages/catalyst_voices_localization/lib/generated/catalyst_voices_localizations_en.dart b/catalyst_voices/packages/internal/catalyst_voices_localization/lib/generated/catalyst_voices_localizations_en.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_localization/lib/generated/catalyst_voices_localizations_en.dart rename to catalyst_voices/packages/internal/catalyst_voices_localization/lib/generated/catalyst_voices_localizations_en.dart diff --git a/catalyst_voices/packages/catalyst_voices_localization/lib/generated/catalyst_voices_localizations_es.dart b/catalyst_voices/packages/internal/catalyst_voices_localization/lib/generated/catalyst_voices_localizations_es.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_localization/lib/generated/catalyst_voices_localizations_es.dart rename to catalyst_voices/packages/internal/catalyst_voices_localization/lib/generated/catalyst_voices_localizations_es.dart diff --git a/catalyst_voices/packages/catalyst_voices_localization/lib/l10n/intl_en.arb b/catalyst_voices/packages/internal/catalyst_voices_localization/lib/l10n/intl_en.arb similarity index 100% rename from catalyst_voices/packages/catalyst_voices_localization/lib/l10n/intl_en.arb rename to catalyst_voices/packages/internal/catalyst_voices_localization/lib/l10n/intl_en.arb diff --git a/catalyst_voices/packages/catalyst_voices_localization/lib/l10n/intl_es.arb b/catalyst_voices/packages/internal/catalyst_voices_localization/lib/l10n/intl_es.arb similarity index 100% rename from catalyst_voices/packages/catalyst_voices_localization/lib/l10n/intl_es.arb rename to catalyst_voices/packages/internal/catalyst_voices_localization/lib/l10n/intl_es.arb diff --git a/catalyst_voices/packages/catalyst_voices_localization/lib/src/build_context_localization_extension.dart b/catalyst_voices/packages/internal/catalyst_voices_localization/lib/src/build_context_localization_extension.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_localization/lib/src/build_context_localization_extension.dart rename to catalyst_voices/packages/internal/catalyst_voices_localization/lib/src/build_context_localization_extension.dart diff --git a/catalyst_voices/packages/catalyst_voices_localization/lib/src/catalyst_voices_localization.dart b/catalyst_voices/packages/internal/catalyst_voices_localization/lib/src/catalyst_voices_localization.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_localization/lib/src/catalyst_voices_localization.dart rename to catalyst_voices/packages/internal/catalyst_voices_localization/lib/src/catalyst_voices_localization.dart diff --git a/catalyst_voices/packages/catalyst_voices_localization/lib/src/typedefs.dart b/catalyst_voices/packages/internal/catalyst_voices_localization/lib/src/typedefs.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_localization/lib/src/typedefs.dart rename to catalyst_voices/packages/internal/catalyst_voices_localization/lib/src/typedefs.dart diff --git a/catalyst_voices/packages/catalyst_voices_localization/pubspec.yaml b/catalyst_voices/packages/internal/catalyst_voices_localization/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_localization/pubspec.yaml rename to catalyst_voices/packages/internal/catalyst_voices_localization/pubspec.yaml diff --git a/catalyst_voices/packages/catalyst_voices_models/.gitignore b/catalyst_voices/packages/internal/catalyst_voices_models/.gitignore similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/.gitignore rename to catalyst_voices/packages/internal/catalyst_voices_models/.gitignore diff --git a/catalyst_voices/packages/catalyst_voices_models/README.md b/catalyst_voices/packages/internal/catalyst_voices_models/README.md similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/README.md rename to catalyst_voices/packages/internal/catalyst_voices_models/README.md diff --git a/catalyst_voices/packages/catalyst_voices_models/analysis_options.yaml b/catalyst_voices/packages/internal/catalyst_voices_models/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/analysis_options.yaml rename to catalyst_voices/packages/internal/catalyst_voices_models/analysis_options.yaml diff --git a/catalyst_voices/packages/catalyst_voices_models/coverage_badge.svg b/catalyst_voices/packages/internal/catalyst_voices_models/coverage_badge.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/coverage_badge.svg rename to catalyst_voices/packages/internal/catalyst_voices_models/coverage_badge.svg diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/catalyst_voices_models.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/catalyst_voices_models.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/catalyst_voices_models.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/catalyst_voices_models.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/auth/authentication_status.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/auth/authentication_status.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/auth/authentication_status.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/auth/authentication_status.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/auth/password_strength.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/auth/password_strength.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/auth/password_strength.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/auth/password_strength.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/catalyst_voices_models.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/catalyst_voices_models.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/catalyst_voices_models.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/catalyst_voices_models.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/crypto/keychain_metadata.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/crypto/keychain_metadata.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/crypto/keychain_metadata.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/crypto/keychain_metadata.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/crypto/lock_factor.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/crypto/lock_factor.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/crypto/lock_factor.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/crypto/lock_factor.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/document/document_json.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/document/document_json.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/document/document_json.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/document/document_json.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/errors/crypto_exception.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/errors/crypto_exception.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/errors/crypto_exception.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/errors/crypto_exception.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/errors/errors.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/errors/errors.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/errors/errors.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/errors/errors.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/errors/network_error.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/errors/network_error.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/errors/network_error.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/errors/network_error.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/errors/secure_storage_error.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/errors/secure_storage_error.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/errors/secure_storage_error.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/errors/secure_storage_error.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/errors/vault_exception.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/errors/vault_exception.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/errors/vault_exception.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/errors/vault_exception.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/file/voices_file.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/file/voices_file.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/file/voices_file.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/file/voices_file.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/optional.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/optional.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/optional.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/optional.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/proposal/funded_proposal.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/proposal/funded_proposal.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/proposal/funded_proposal.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/proposal/funded_proposal.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/proposal/pending_proposal.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/proposal/pending_proposal.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/proposal/pending_proposal.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/proposal/pending_proposal.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/proposal/proposal_status.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/proposal/proposal_status.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/proposal/proposal_status.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/proposal/proposal_status.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/registration/create_account_type.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/create_account_type.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/registration/create_account_type.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/create_account_type.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/registration/create_keychain_stage.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/create_keychain_stage.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/registration/create_keychain_stage.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/create_keychain_stage.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/registration/exception/registration_exception.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/exception/registration_exception.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/registration/exception/registration_exception.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/exception/registration_exception.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/registration/recover_seed_phrase_stage.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/recover_seed_phrase_stage.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/registration/recover_seed_phrase_stage.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/recover_seed_phrase_stage.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/registration/registration.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/registration.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/registration/registration.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/registration.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/registration/registration_progress.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/registration_progress.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/registration/registration_progress.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/registration_progress.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/registration/registration_recover_method.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/registration_recover_method.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/registration/registration_recover_method.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/registration_recover_method.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/registration/registration_step.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/registration_step.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/registration/registration_step.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/registration_step.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/registration/wallet_link_stage.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/wallet_link_stage.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/registration/wallet_link_stage.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/registration/wallet_link_stage.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/seed_phrase.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/seed_phrase.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/seed_phrase.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/seed_phrase.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/session_data.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/session_data.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/session_data.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/session_data.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/space.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/space.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/space.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/space.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/treasury/treasury_campaign_builder.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/treasury/treasury_campaign_builder.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/treasury/treasury_campaign_builder.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/treasury/treasury_campaign_builder.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/treasury/treasury_campaign_segment.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/treasury/treasury_campaign_segment.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/treasury/treasury_campaign_segment.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/treasury/treasury_campaign_segment.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/treasury/treasury_campaign_segment_step.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/treasury/treasury_campaign_segment_step.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/treasury/treasury_campaign_segment_step.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/treasury/treasury_campaign_segment_step.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/user/account.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/user/account.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/user/account.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/user/account.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/user/account_role.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/user/account_role.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/user/account_role.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/user/account_role.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/user/user.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/user/user.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/user/user.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/user/user.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/wallet/cardano_wallet_details.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/wallet/cardano_wallet_details.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/wallet/cardano_wallet_details.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/wallet/cardano_wallet_details.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/wallet/wallet_info.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/wallet/wallet_info.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/wallet/wallet_info.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/wallet/wallet_info.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/wallet/wallet_metadata.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/wallet/wallet_metadata.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/wallet/wallet_metadata.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/wallet/wallet_metadata.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/workspace/workspace_proposal_navigation.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/workspace/workspace_proposal_navigation.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/workspace/workspace_proposal_navigation.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/workspace/workspace_proposal_navigation.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/workspace/workspace_proposal_segment.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/workspace/workspace_proposal_segment.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/workspace/workspace_proposal_segment.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/workspace/workspace_proposal_segment.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/lib/src/workspace/workspace_proposal_segment_step.dart b/catalyst_voices/packages/internal/catalyst_voices_models/lib/src/workspace/workspace_proposal_segment_step.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/lib/src/workspace/workspace_proposal_segment_step.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/lib/src/workspace/workspace_proposal_segment_step.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/pubspec.yaml b/catalyst_voices/packages/internal/catalyst_voices_models/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/pubspec.yaml rename to catalyst_voices/packages/internal/catalyst_voices_models/pubspec.yaml diff --git a/catalyst_voices/packages/catalyst_voices_models/test/auth/password_strength_test.dart b/catalyst_voices/packages/internal/catalyst_voices_models/test/auth/password_strength_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/test/auth/password_strength_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/test/auth/password_strength_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/test/crypto/keychain_metadata_test.dart b/catalyst_voices/packages/internal/catalyst_voices_models/test/crypto/keychain_metadata_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/test/crypto/keychain_metadata_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/test/crypto/keychain_metadata_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/test/crypto/lock_factor_test.dart b/catalyst_voices/packages/internal/catalyst_voices_models/test/crypto/lock_factor_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/test/crypto/lock_factor_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/test/crypto/lock_factor_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/test/optional_test.dart b/catalyst_voices/packages/internal/catalyst_voices_models/test/optional_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/test/optional_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/test/optional_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_models/test/seed_phrase_test.dart b/catalyst_voices/packages/internal/catalyst_voices_models/test/seed_phrase_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_models/test/seed_phrase_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_models/test/seed_phrase_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_repositories/.gitignore b/catalyst_voices/packages/internal/catalyst_voices_repositories/.gitignore similarity index 100% rename from catalyst_voices/packages/catalyst_voices_repositories/.gitignore rename to catalyst_voices/packages/internal/catalyst_voices_repositories/.gitignore diff --git a/catalyst_voices/packages/catalyst_voices_repositories/README.md b/catalyst_voices/packages/internal/catalyst_voices_repositories/README.md similarity index 100% rename from catalyst_voices/packages/catalyst_voices_repositories/README.md rename to catalyst_voices/packages/internal/catalyst_voices_repositories/README.md diff --git a/catalyst_voices/packages/catalyst_voices_repositories/analysis_options.yaml b/catalyst_voices/packages/internal/catalyst_voices_repositories/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_repositories/analysis_options.yaml rename to catalyst_voices/packages/internal/catalyst_voices_repositories/analysis_options.yaml diff --git a/catalyst_voices/packages/catalyst_voices_repositories/coverage_badge.svg b/catalyst_voices/packages/internal/catalyst_voices_repositories/coverage_badge.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_repositories/coverage_badge.svg rename to catalyst_voices/packages/internal/catalyst_voices_repositories/coverage_badge.svg diff --git a/catalyst_voices/packages/catalyst_voices_repositories/lib/catalyst_voices_repositories.dart b/catalyst_voices/packages/internal/catalyst_voices_repositories/lib/catalyst_voices_repositories.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_repositories/lib/catalyst_voices_repositories.dart rename to catalyst_voices/packages/internal/catalyst_voices_repositories/lib/catalyst_voices_repositories.dart diff --git a/catalyst_voices/packages/catalyst_voices_repositories/lib/src/authentication_repository.dart b/catalyst_voices/packages/internal/catalyst_voices_repositories/lib/src/authentication_repository.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_repositories/lib/src/authentication_repository.dart rename to catalyst_voices/packages/internal/catalyst_voices_repositories/lib/src/authentication_repository.dart diff --git a/catalyst_voices/packages/catalyst_voices_repositories/lib/src/catalyst_data_gateway_repository.dart b/catalyst_voices/packages/internal/catalyst_voices_repositories/lib/src/catalyst_data_gateway_repository.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_repositories/lib/src/catalyst_data_gateway_repository.dart rename to catalyst_voices/packages/internal/catalyst_voices_repositories/lib/src/catalyst_data_gateway_repository.dart diff --git a/catalyst_voices/packages/catalyst_voices_repositories/lib/src/catalyst_voices_repositories.dart b/catalyst_voices/packages/internal/catalyst_voices_repositories/lib/src/catalyst_voices_repositories.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_repositories/lib/src/catalyst_voices_repositories.dart rename to catalyst_voices/packages/internal/catalyst_voices_repositories/lib/src/catalyst_voices_repositories.dart diff --git a/catalyst_voices/packages/catalyst_voices_repositories/lib/src/credentials_storage_repository.dart b/catalyst_voices/packages/internal/catalyst_voices_repositories/lib/src/credentials_storage_repository.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_repositories/lib/src/credentials_storage_repository.dart rename to catalyst_voices/packages/internal/catalyst_voices_repositories/lib/src/credentials_storage_repository.dart diff --git a/catalyst_voices/packages/catalyst_voices_repositories/lib/src/transaction/transaction_config_repository.dart b/catalyst_voices/packages/internal/catalyst_voices_repositories/lib/src/transaction/transaction_config_repository.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_repositories/lib/src/transaction/transaction_config_repository.dart rename to catalyst_voices/packages/internal/catalyst_voices_repositories/lib/src/transaction/transaction_config_repository.dart diff --git a/catalyst_voices/packages/catalyst_voices_repositories/pubspec.yaml b/catalyst_voices/packages/internal/catalyst_voices_repositories/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_repositories/pubspec.yaml rename to catalyst_voices/packages/internal/catalyst_voices_repositories/pubspec.yaml diff --git a/catalyst_voices/packages/catalyst_voices_repositories/test/src/catalyst_data_gateway_repository/catalyst_data_gateway_repository_test.dart b/catalyst_voices/packages/internal/catalyst_voices_repositories/test/src/catalyst_data_gateway_repository/catalyst_data_gateway_repository_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_repositories/test/src/catalyst_data_gateway_repository/catalyst_data_gateway_repository_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_repositories/test/src/catalyst_data_gateway_repository/catalyst_data_gateway_repository_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_repositories/test/src/catalyst_voices_repositories_test.dart b/catalyst_voices/packages/internal/catalyst_voices_repositories/test/src/catalyst_voices_repositories_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_repositories/test/src/catalyst_voices_repositories_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_repositories/test/src/catalyst_voices_repositories_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_repositories/test/src/transaction/transaction_config_repository_test.dart b/catalyst_voices/packages/internal/catalyst_voices_repositories/test/src/transaction/transaction_config_repository_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_repositories/test/src/transaction/transaction_config_repository_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_repositories/test/src/transaction/transaction_config_repository_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/.gitignore b/catalyst_voices/packages/internal/catalyst_voices_services/.gitignore similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/.gitignore rename to catalyst_voices/packages/internal/catalyst_voices_services/.gitignore diff --git a/catalyst_voices/packages/catalyst_voices_services/README.md b/catalyst_voices/packages/internal/catalyst_voices_services/README.md similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/README.md rename to catalyst_voices/packages/internal/catalyst_voices_services/README.md diff --git a/catalyst_voices/packages/catalyst_voices_services/analysis_options.yaml b/catalyst_voices/packages/internal/catalyst_voices_services/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/analysis_options.yaml rename to catalyst_voices/packages/internal/catalyst_voices_services/analysis_options.yaml diff --git a/catalyst_voices/packages/catalyst_voices_services/build.yaml b/catalyst_voices/packages/internal/catalyst_voices_services/build.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/build.yaml rename to catalyst_voices/packages/internal/catalyst_voices_services/build.yaml diff --git a/catalyst_voices/packages/catalyst_voices_services/coverage_badge.svg b/catalyst_voices/packages/internal/catalyst_voices_services/coverage_badge.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/coverage_badge.svg rename to catalyst_voices/packages/internal/catalyst_voices_services/coverage_badge.svg diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/catalyst_voices_services.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/catalyst_voices_services.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/catalyst_voices_services.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/catalyst_voices_services.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.enums.swagger.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.enums.swagger.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.enums.swagger.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.enums.swagger.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.models.swagger.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.models.swagger.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.models.swagger.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.models.swagger.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.models.swagger.g.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.models.swagger.g.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.models.swagger.g.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.models.swagger.g.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.swagger.chopper.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.swagger.chopper.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.swagger.chopper.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.swagger.chopper.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.swagger.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.swagger.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.swagger.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/cat_gateway_api.swagger.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/generated/catalyst_gateway/client_index.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/client_index.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/generated/catalyst_gateway/client_index.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/client_index.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/generated/catalyst_gateway/client_mapping.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/client_mapping.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/generated/catalyst_gateway/client_mapping.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/client_mapping.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/catalyst_voices_services.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/catalyst_voices_services.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/catalyst_voices_services.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/catalyst_voices_services.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/crypto/crypto_service.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/crypto/crypto_service.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/crypto/crypto_service.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/crypto/crypto_service.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/crypto/key_derivation.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/crypto/key_derivation.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/crypto/key_derivation.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/crypto/key_derivation.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/crypto/vault_crypto_service.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/crypto/vault_crypto_service.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/crypto/vault_crypto_service.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/crypto/vault_crypto_service.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/downloader/downloader.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/downloader/downloader.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/downloader/downloader.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/downloader/downloader.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/downloader/downloader_stub.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/downloader/downloader_stub.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/downloader/downloader_stub.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/downloader/downloader_stub.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/downloader/io_downloader.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/downloader/io_downloader.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/downloader/io_downloader.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/downloader/io_downloader.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/downloader/web_downloader.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/downloader/web_downloader.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/downloader/web_downloader.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/downloader/web_downloader.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/keychain/keychain.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/keychain/keychain.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/keychain/keychain.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/keychain/keychain.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/keychain/keychain_provider.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/keychain/keychain_provider.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/keychain/keychain_provider.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/keychain/keychain_provider.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/keychain/keychain_transformers.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/keychain/keychain_transformers.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/keychain/keychain_transformers.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/keychain/keychain_transformers.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/keychain/vault_keychain.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/keychain/vault_keychain.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/keychain/vault_keychain.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/keychain/vault_keychain.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/keychain/vault_keychain_provider.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/keychain/vault_keychain_provider.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/keychain/vault_keychain_provider.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/keychain/vault_keychain_provider.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/lockable.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/lockable.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/lockable.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/lockable.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/registration/registration_progress_notifier.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/registration/registration_progress_notifier.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/registration/registration_progress_notifier.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/registration/registration_progress_notifier.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/registration/registration_service.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/registration/registration_service.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/registration/registration_service.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/registration/registration_service.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/registration/registration_transaction_builder.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/registration/registration_transaction_builder.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/registration/registration_transaction_builder.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/registration/registration_transaction_builder.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/storage/dummy_auth_storage.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/storage/dummy_auth_storage.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/storage/dummy_auth_storage.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/storage/dummy_auth_storage.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/storage/secure_storage.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/storage/secure_storage.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/storage/secure_storage.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/storage/secure_storage.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/storage/storage.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/storage/storage.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/storage/storage.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/storage/storage.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/storage/storage_string_mixin.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/storage/storage_string_mixin.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/storage/storage_string_mixin.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/storage/storage_string_mixin.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/storage/vault/secure_storage_vault.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/storage/vault/secure_storage_vault.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/storage/vault/secure_storage_vault.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/storage/vault/secure_storage_vault.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/storage/vault/vault.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/storage/vault/vault.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/storage/vault/vault.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/storage/vault/vault.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/user/user_service.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/user/user_service.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/user/user_service.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/user/user_service.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/lib/src/user/user_storage.dart b/catalyst_voices/packages/internal/catalyst_voices_services/lib/src/user/user_storage.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/lib/src/user/user_storage.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/lib/src/user/user_storage.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/pubspec.yaml b/catalyst_voices/packages/internal/catalyst_voices_services/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/pubspec.yaml rename to catalyst_voices/packages/internal/catalyst_voices_services/pubspec.yaml diff --git a/catalyst_voices/packages/catalyst_voices_services/test/src/crypto/key_derivation_test.dart b/catalyst_voices/packages/internal/catalyst_voices_services/test/src/crypto/key_derivation_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/test/src/crypto/key_derivation_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/test/src/crypto/key_derivation_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/test/src/crypto/vault_crypto_service_test.dart b/catalyst_voices/packages/internal/catalyst_voices_services/test/src/crypto/vault_crypto_service_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/test/src/crypto/vault_crypto_service_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/test/src/crypto/vault_crypto_service_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/test/src/keychain/keychain_transformers_test.dart b/catalyst_voices/packages/internal/catalyst_voices_services/test/src/keychain/keychain_transformers_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/test/src/keychain/keychain_transformers_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/test/src/keychain/keychain_transformers_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/test/src/keychain/vault_keychain_provider_test.dart b/catalyst_voices/packages/internal/catalyst_voices_services/test/src/keychain/vault_keychain_provider_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/test/src/keychain/vault_keychain_provider_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/test/src/keychain/vault_keychain_provider_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/test/src/keychain/vault_keychain_test.dart b/catalyst_voices/packages/internal/catalyst_voices_services/test/src/keychain/vault_keychain_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/test/src/keychain/vault_keychain_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/test/src/keychain/vault_keychain_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/test/src/storage/secure_storage_test.dart b/catalyst_voices/packages/internal/catalyst_voices_services/test/src/storage/secure_storage_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/test/src/storage/secure_storage_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/test/src/storage/secure_storage_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/test/src/storage/storage_string_mixin_test.dart b/catalyst_voices/packages/internal/catalyst_voices_services/test/src/storage/storage_string_mixin_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/test/src/storage/storage_string_mixin_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/test/src/storage/storage_string_mixin_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/test/src/storage/vault/secure_storage_vault_test.dart b/catalyst_voices/packages/internal/catalyst_voices_services/test/src/storage/vault/secure_storage_vault_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/test/src/storage/vault/secure_storage_vault_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/test/src/storage/vault/secure_storage_vault_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_services/test/src/user/user_service_test.dart b/catalyst_voices/packages/internal/catalyst_voices_services/test/src/user/user_service_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_services/test/src/user/user_service_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_services/test/src/user/user_service_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/.gitignore b/catalyst_voices/packages/internal/catalyst_voices_shared/.gitignore similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/.gitignore rename to catalyst_voices/packages/internal/catalyst_voices_shared/.gitignore diff --git a/catalyst_voices/packages/catalyst_voices_shared/README.md b/catalyst_voices/packages/internal/catalyst_voices_shared/README.md similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/README.md rename to catalyst_voices/packages/internal/catalyst_voices_shared/README.md diff --git a/catalyst_voices/packages/catalyst_voices_shared/analysis_options.yaml b/catalyst_voices/packages/internal/catalyst_voices_shared/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/analysis_options.yaml rename to catalyst_voices/packages/internal/catalyst_voices_shared/analysis_options.yaml diff --git a/catalyst_voices/packages/catalyst_voices_shared/coverage_badge.svg b/catalyst_voices/packages/internal/catalyst_voices_shared/coverage_badge.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/coverage_badge.svg rename to catalyst_voices/packages/internal/catalyst_voices_shared/coverage_badge.svg diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/catalyst_voices_shared.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/catalyst_voices_shared.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/catalyst_voices_shared.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/catalyst_voices_shared.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/catalyst_voices_shared.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/catalyst_voices_shared.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/catalyst_voices_shared.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/catalyst_voices_shared.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/common/build_config.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/common/build_config.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/common/build_config.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/common/build_config.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/common/build_environment.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/common/build_environment.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/common/build_environment.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/common/build_environment.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/dependency/dependency_provider.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/dependency/dependency_provider.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/dependency/dependency_provider.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/dependency/dependency_provider.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/formatter/cryptocurrency_formatter.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/formatter/cryptocurrency_formatter.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/formatter/cryptocurrency_formatter.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/formatter/cryptocurrency_formatter.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/formatter/wallet_address_formatter.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/formatter/wallet_address_formatter.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/formatter/wallet_address_formatter.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/formatter/wallet_address_formatter.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/logging/logging_service.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/logging/logging_service.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/logging/logging_service.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/logging/logging_service.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/platform/catalyst_platform.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/platform/catalyst_platform.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/platform/catalyst_platform.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/platform/catalyst_platform.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/platform/io_platform.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/platform/io_platform.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/platform/io_platform.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/platform/io_platform.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/platform/platform_key.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/platform/platform_key.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/platform/platform_key.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/platform/platform_key.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/platform/stub_platform.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/platform/stub_platform.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/platform/stub_platform.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/platform/stub_platform.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/platform/web_platform.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/platform/web_platform.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/platform/web_platform.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/platform/web_platform.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/platform_aware_builder/platform_aware_builder.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/platform_aware_builder/platform_aware_builder.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/platform_aware_builder/platform_aware_builder.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/platform_aware_builder/platform_aware_builder.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/responsive/responsive_breakpoint_key.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/responsive/responsive_breakpoint_key.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/responsive/responsive_breakpoint_key.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/responsive/responsive_breakpoint_key.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/responsive/responsive_builder.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/responsive/responsive_builder.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/responsive/responsive_builder.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/responsive/responsive_builder.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/responsive/responsive_child.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/responsive/responsive_child.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/responsive/responsive_child.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/responsive/responsive_child.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/responsive/responsive_padding.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/responsive/responsive_padding.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/responsive/responsive_padding.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/responsive/responsive_padding.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/utils/date_time_ext.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/utils/date_time_ext.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/utils/date_time_ext.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/utils/date_time_ext.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/utils/future_ext.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/utils/future_ext.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/utils/future_ext.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/utils/future_ext.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/utils/iterable_ext.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/utils/iterable_ext.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/utils/iterable_ext.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/utils/iterable_ext.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/lib/src/utils/typedefs.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/utils/typedefs.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/lib/src/utils/typedefs.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/lib/src/utils/typedefs.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/pubspec.yaml b/catalyst_voices/packages/internal/catalyst_voices_shared/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/pubspec.yaml rename to catalyst_voices/packages/internal/catalyst_voices_shared/pubspec.yaml diff --git a/catalyst_voices/packages/catalyst_voices_shared/test/src/formatter/cryptocurrency_formatter_test.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/test/src/formatter/cryptocurrency_formatter_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/test/src/formatter/cryptocurrency_formatter_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/test/src/formatter/cryptocurrency_formatter_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/test/src/formatter/wallet_address_formatter_test.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/test/src/formatter/wallet_address_formatter_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/test/src/formatter/wallet_address_formatter_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/test/src/formatter/wallet_address_formatter_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/test/src/platform_aware_builder_test.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/test/src/platform_aware_builder_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/test/src/platform_aware_builder_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/test/src/platform_aware_builder_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/test/src/responsive_builder_test.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/test/src/responsive_builder_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/test/src/responsive_builder_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/test/src/responsive_builder_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/test/src/responsive_child_test.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/test/src/responsive_child_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/test/src/responsive_child_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/test/src/responsive_child_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/test/src/responsive_padding_test.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/test/src/responsive_padding_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/test/src/responsive_padding_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/test/src/responsive_padding_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/test/src/utils/date_time_ext_test.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/test/src/utils/date_time_ext_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/test/src/utils/date_time_ext_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/test/src/utils/date_time_ext_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_shared/test/src/utils/iterable_ext_test.dart b/catalyst_voices/packages/internal/catalyst_voices_shared/test/src/utils/iterable_ext_test.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_shared/test/src/utils/iterable_ext_test.dart rename to catalyst_voices/packages/internal/catalyst_voices_shared/test/src/utils/iterable_ext_test.dart diff --git a/catalyst_voices/packages/catalyst_voices_view_models/.gitignore b/catalyst_voices/packages/internal/catalyst_voices_view_models/.gitignore similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/.gitignore rename to catalyst_voices/packages/internal/catalyst_voices_view_models/.gitignore diff --git a/catalyst_voices/packages/catalyst_voices_view_models/README.md b/catalyst_voices/packages/internal/catalyst_voices_view_models/README.md similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/README.md rename to catalyst_voices/packages/internal/catalyst_voices_view_models/README.md diff --git a/catalyst_voices/packages/catalyst_voices_view_models/analysis_options.yaml b/catalyst_voices/packages/internal/catalyst_voices_view_models/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/analysis_options.yaml rename to catalyst_voices/packages/internal/catalyst_voices_view_models/analysis_options.yaml diff --git a/catalyst_voices/packages/catalyst_voices_view_models/coverage_badge.svg b/catalyst_voices/packages/internal/catalyst_voices_view_models/coverage_badge.svg similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/coverage_badge.svg rename to catalyst_voices/packages/internal/catalyst_voices_view_models/coverage_badge.svg diff --git a/catalyst_voices/packages/catalyst_voices_view_models/lib/catalyst_voices_view_models.dart b/catalyst_voices/packages/internal/catalyst_voices_view_models/lib/catalyst_voices_view_models.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/lib/catalyst_voices_view_models.dart rename to catalyst_voices/packages/internal/catalyst_voices_view_models/lib/catalyst_voices_view_models.dart diff --git a/catalyst_voices/packages/catalyst_voices_view_models/lib/src/authentication/authentication.dart b/catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/authentication/authentication.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/lib/src/authentication/authentication.dart rename to catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/authentication/authentication.dart diff --git a/catalyst_voices/packages/catalyst_voices_view_models/lib/src/authentication/email.dart b/catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/authentication/email.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/lib/src/authentication/email.dart rename to catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/authentication/email.dart diff --git a/catalyst_voices/packages/catalyst_voices_view_models/lib/src/authentication/exception/localized_unlock_password_exception.dart b/catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/authentication/exception/localized_unlock_password_exception.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/lib/src/authentication/exception/localized_unlock_password_exception.dart rename to catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/authentication/exception/localized_unlock_password_exception.dart diff --git a/catalyst_voices/packages/catalyst_voices_view_models/lib/src/authentication/password.dart b/catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/authentication/password.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/lib/src/authentication/password.dart rename to catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/authentication/password.dart diff --git a/catalyst_voices/packages/catalyst_voices_view_models/lib/src/authentication/unlock_password.dart b/catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/authentication/unlock_password.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/lib/src/authentication/unlock_password.dart rename to catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/authentication/unlock_password.dart diff --git a/catalyst_voices/packages/catalyst_voices_view_models/lib/src/catalyst_voices_view_models.dart b/catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/catalyst_voices_view_models.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/lib/src/catalyst_voices_view_models.dart rename to catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/catalyst_voices_view_models.dart diff --git a/catalyst_voices/packages/catalyst_voices_view_models/lib/src/exception/localized_exception.dart b/catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/exception/localized_exception.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/lib/src/exception/localized_exception.dart rename to catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/exception/localized_exception.dart diff --git a/catalyst_voices/packages/catalyst_voices_view_models/lib/src/exception/localized_unknown_exception.dart b/catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/exception/localized_unknown_exception.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/lib/src/exception/localized_unknown_exception.dart rename to catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/exception/localized_unknown_exception.dart diff --git a/catalyst_voices/packages/catalyst_voices_view_models/lib/src/registration/exception/localized_registration_exception.dart b/catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/registration/exception/localized_registration_exception.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/lib/src/registration/exception/localized_registration_exception.dart rename to catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/registration/exception/localized_registration_exception.dart diff --git a/catalyst_voices/packages/catalyst_voices_view_models/lib/src/registration/registration.dart b/catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/registration/registration.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/lib/src/registration/registration.dart rename to catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/registration/registration.dart diff --git a/catalyst_voices/packages/catalyst_voices_view_models/lib/src/registration/wallet_connection.dart b/catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/registration/wallet_connection.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/lib/src/registration/wallet_connection.dart rename to catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/registration/wallet_connection.dart diff --git a/catalyst_voices/packages/catalyst_voices_view_models/lib/src/registration/wallet_summary.dart b/catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/registration/wallet_summary.dart similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/lib/src/registration/wallet_summary.dart rename to catalyst_voices/packages/internal/catalyst_voices_view_models/lib/src/registration/wallet_summary.dart diff --git a/catalyst_voices/packages/catalyst_voices_view_models/pubspec.yaml b/catalyst_voices/packages/internal/catalyst_voices_view_models/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/catalyst_voices_view_models/pubspec.yaml rename to catalyst_voices/packages/internal/catalyst_voices_view_models/pubspec.yaml diff --git a/catalyst_voices/pubspec.yaml b/catalyst_voices/pubspec.yaml index 327c8743ee..4c9a22f44e 100644 --- a/catalyst_voices/pubspec.yaml +++ b/catalyst_voices/pubspec.yaml @@ -14,23 +14,23 @@ dependencies: catalyst_cardano_serialization: ^0.4.0 catalyst_cardano_web: ^0.3.0 catalyst_voices_assets: - path: ./packages/catalyst_voices_assets + path: ./packages/internal/catalyst_voices_assets catalyst_voices_blocs: - path: ./packages/catalyst_voices_blocs + path: ./packages/internal/catalyst_voices_blocs catalyst_voices_brands: - path: ./packages/catalyst_voices_brands + path: ./packages/internal/catalyst_voices_brands catalyst_voices_localization: - path: ./packages/catalyst_voices_localization + path: ./packages/internal/catalyst_voices_localization catalyst_voices_models: - path: ./packages/catalyst_voices_models + path: ./packages/internal/catalyst_voices_models catalyst_voices_repositories: - path: ./packages/catalyst_voices_repositories + path: ./packages/internal/catalyst_voices_repositories catalyst_voices_services: - path: ./packages/catalyst_voices_services + path: ./packages/internal/catalyst_voices_services catalyst_voices_shared: - path: ./packages/catalyst_voices_shared + path: ./packages/internal/catalyst_voices_shared catalyst_voices_view_models: - path: ./packages/catalyst_voices_view_models + path: ./packages/internal/catalyst_voices_view_models collection: ^1.18.0 dotted_border: ^2.1.0 equatable: ^2.0.5 From cdd42d209e2d7f34ff523abebdef0f3ef6fe7825 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Tue, 29 Oct 2024 15:07:38 +0100 Subject: [PATCH 10/89] refactor: move catalyst_voices_packages into catalyst_voices/packages/external --- .../packages/external}/README.md | 0 .../packages/external}/SECURITY.md | 0 .../packages/external}/catalyst_analysis/.gitignore | 0 .../external}/catalyst_analysis/CHANGELOG.md | 0 .../packages/external}/catalyst_analysis/LICENSE | 0 .../packages/external}/catalyst_analysis/README.md | 0 .../external}/catalyst_analysis/example/README.md | 0 .../catalyst_analysis/example/analysis_options.yaml | 0 .../catalyst_analysis/example/lib/example.dart | 0 .../catalyst_analysis/example/pubspec.yaml | 0 .../catalyst_analysis/lib/analysis_options.yaml | 0 .../catalyst_analysis/lib/catalyst_analysis.dart | 0 .../external}/catalyst_analysis/pubspec.yaml | 0 .../catalyst_cardano/catalyst_cardano/CHANGELOG.md | 0 .../catalyst_cardano/catalyst_cardano/LICENSE | 0 .../catalyst_cardano/catalyst_cardano/README.md | 0 .../catalyst_cardano/analysis_options.yaml | 0 .../catalyst_cardano/example/.gitignore | 0 .../catalyst_cardano/example/.metadata | 0 .../catalyst_cardano/example/README.md | 0 .../catalyst_cardano/example/analysis_options.yaml | 0 .../catalyst_cardano/example/lib/main.dart | 0 .../example/lib/sign_and_submit_rbac_tx.dart | 0 .../example/lib/sign_and_submit_tx.dart | 0 .../catalyst_cardano/example/lib/sign_data.dart | 0 .../catalyst_cardano/example/pubspec.yaml | 0 .../catalyst_cardano/example/web/favicon.png | Bin .../catalyst_cardano/example/web/icons/Icon-192.png | Bin .../catalyst_cardano/example/web/icons/Icon-512.png | Bin .../example/web/icons/Icon-maskable-192.png | Bin .../example/web/icons/Icon-maskable-512.png | Bin .../catalyst_cardano/example/web/index.html | 0 .../catalyst_cardano/example/web/manifest.json | 0 .../catalyst_cardano/lib/catalyst_cardano.dart | 0 .../catalyst_cardano/lib/src/catalyst_cardano.dart | 0 .../catalyst_cardano/catalyst_cardano/pubspec.yaml | 0 .../catalyst_cardano/wallet-automation/Earthfile | 0 .../wallet-automation/blueprint.cue | 0 .../catalyst_cardano/wallet-automation/compose.yml | 0 .../wallet-automation/global-setup.ts | 0 .../catalyst_cardano/wallet-automation/keys.txt | 0 .../wallet-automation/package-lock.json | 0 .../catalyst_cardano/wallet-automation/package.json | 0 .../wallet-automation/playwright.config.ts | 0 .../catalyst_cardano/wallet-automation/utils.ts | 0 .../wallet-automation/wallet-tests.spec.ts | 0 .../CHANGELOG.md | 0 .../catalyst_cardano_platform_interface/LICENSE | 0 .../catalyst_cardano_platform_interface/README.md | 0 .../analysis_options.yaml | 0 .../example/main.dart | 0 .../lib/catalyst_cardano_platform_interface.dart | 0 .../lib/src/cardano_wallet.dart | 0 .../lib/src/catalyst_cardano_platform.dart | 0 .../lib/src/exceptions.dart | 0 .../pubspec.yaml | 0 .../catalyst_cardano_web/CHANGELOG.md | 0 .../catalyst_cardano/catalyst_cardano_web/LICENSE | 0 .../catalyst_cardano/catalyst_cardano_web/README.md | 0 .../catalyst_cardano_web/analysis_options.yaml | 0 .../assets/js/catalyst_cardano.js | 0 .../catalyst_cardano_web/example/main.dart | 0 .../lib/catalyst_cardano_web.dart | 0 .../lib/src/interop/catalyst_cardano_interop.dart | 0 .../src/interop/catalyst_cardano_wallet_proxy.dart | 0 .../catalyst_cardano_web/pubspec.yaml | 0 .../catalyst_cardano_serialization/CHANGELOG.md | 0 .../catalyst_cardano_serialization/LICENSE | 0 .../catalyst_cardano_serialization/README.md | 0 .../analysis_options.yaml | 0 .../example/main.dart | 0 .../lib/catalyst_cardano_serialization.dart | 0 .../lib/src/address.dart | 0 .../lib/src/builders/transaction_builder.dart | 0 .../lib/src/builders/witness_builder.dart | 0 .../lib/src/certificate.dart | 0 .../lib/src/cip95/drep.dart | 0 .../lib/src/datum.dart | 0 .../lib/src/exceptions.dart | 0 .../lib/src/fees.dart | 0 .../lib/src/hashes.dart | 0 .../lib/src/rbac/auth_token.dart | 0 .../lib/src/rbac/registration_data.dart | 0 .../lib/src/rbac/x509_certificate.dart | 0 .../lib/src/rbac/x509_metadata_envelope.dart | 0 .../lib/src/redeemer.dart | 0 .../lib/src/scripts.dart | 0 .../lib/src/signature.dart | 0 .../lib/src/transaction.dart | 0 .../lib/src/transaction_output.dart | 0 .../lib/src/types.dart | 0 .../lib/src/utils/cbor.dart | 0 .../lib/src/utils/numbers.dart | 0 .../lib/src/utils/uuid.dart | 0 .../lib/src/witness.dart | 0 .../catalyst_cardano_serialization/pubspec.yaml | 0 .../test/address_test.dart | 0 .../test/builders/witness_builder_test.dart | 0 .../test/fees_test.dart | 0 .../test/hashes_test.dart | 0 .../test/rbac/auth_token_test.dart | 0 .../test/rbac/registration_data_test.dart | 0 .../test/rbac/x509_certificate_test.dart | 0 .../test/scripts_test.dart | 0 .../test/signature_test.dart | 0 .../test/test_utils/test_data.dart | 0 .../test/transaction_output_test.dart | 0 .../test/transaction_test.dart | 0 .../test/types_test.dart | 0 .../test/utils/cbor_test.dart | 0 .../test/utils/uuid_test.dart | 0 .../catalyst_compression/CHANGELOG.md | 0 .../catalyst_compression/LICENSE | 0 .../catalyst_compression/README.md | 0 .../catalyst_compression/analysis_options.yaml | 0 .../catalyst_compression/example/main.dart | 0 .../lib/catalyst_compression.dart | 0 .../lib/src/catalyst_compression.dart | 0 .../catalyst_compression/pubspec.yaml | 0 .../CHANGELOG.md | 0 .../catalyst_compression_platform_interface/LICENSE | 0 .../README.md | 0 .../analysis_options.yaml | 0 .../example/main.dart | 0 .../catalyst_compression_platform_interface.dart | 0 .../lib/src/catalyst_compression_platform.dart | 0 .../lib/src/catalyst_compressor.dart | 0 .../pubspec.yaml | 0 .../catalyst_compression_web/CHANGELOG.md | 0 .../catalyst_compression_web/LICENSE | 0 .../catalyst_compression_web/README.md | 0 .../catalyst_compression_web/analysis_options.yaml | 0 .../assets/js/catalyst_compression.js | 0 .../assets/js/catalyst_compression_worker.js | 0 .../catalyst_compression_web/example/main.dart | 0 .../lib/catalyst_compression_web.dart | 0 .../src/interop/catalyst_compression_interop.dart | 0 .../catalyst_compression_web/pubspec.yaml | 0 .../packages/external}/catalyst_cose/CHANGELOG.md | 0 .../packages/external}/catalyst_cose/LICENSE | 0 .../packages/external}/catalyst_cose/README.md | 0 .../external}/catalyst_cose/analysis_options.yaml | 0 .../external}/catalyst_cose/example/main.dart | 0 .../external}/catalyst_cose/lib/catalyst_cose.dart | 0 .../catalyst_cose/lib/src/catalyst_cose.dart | 0 .../packages/external}/catalyst_cose/pubspec.yaml | 0 .../catalyst_cose/test/catalyst_cose_test.dart | 0 .../external}/catalyst_key_derivation/.gitignore | 0 .../external}/catalyst_key_derivation/.metadata | 0 .../external}/catalyst_key_derivation/CHANGELOG.md | 0 .../external}/catalyst_key_derivation/LICENSE | 0 .../external}/catalyst_key_derivation/README.md | 0 .../catalyst_key_derivation/analysis_options.yaml | 0 .../catalyst_key_derivation/android/.gitignore | 0 .../catalyst_key_derivation/android/build.gradle | 0 .../catalyst_key_derivation/android/settings.gradle | 0 .../android/src/main/AndroidManifest.xml | 0 .../catalyst_key_derivation/cargokit/.gitignore | 0 .../catalyst_key_derivation/cargokit/LICENSE | 0 .../catalyst_key_derivation/cargokit/README | 0 .../catalyst_key_derivation/cargokit/build_pod.sh | 0 .../cargokit/build_tool/.gitignore | 0 .../cargokit/build_tool/README.md | 0 .../cargokit/build_tool/analysis_options.yaml | 0 .../cargokit/build_tool/bin/build_tool.dart | 0 .../cargokit/build_tool/lib/build_tool.dart | 0 .../build_tool/lib/src/android_environment.dart | 0 .../build_tool/lib/src/artifacts_provider.dart | 0 .../cargokit/build_tool/lib/src/build_cmake.dart | 0 .../cargokit/build_tool/lib/src/build_gradle.dart | 0 .../cargokit/build_tool/lib/src/build_pod.dart | 0 .../cargokit/build_tool/lib/src/build_tool.dart | 0 .../cargokit/build_tool/lib/src/builder.dart | 0 .../cargokit/build_tool/lib/src/cargo.dart | 0 .../cargokit/build_tool/lib/src/crate_hash.dart | 0 .../cargokit/build_tool/lib/src/environment.dart | 0 .../cargokit/build_tool/lib/src/logging.dart | 0 .../cargokit/build_tool/lib/src/options.dart | 0 .../build_tool/lib/src/precompile_binaries.dart | 0 .../cargokit/build_tool/lib/src/rustup.dart | 0 .../cargokit/build_tool/lib/src/target.dart | 0 .../cargokit/build_tool/lib/src/util.dart | 0 .../build_tool/lib/src/verify_binaries.dart | 0 .../cargokit/build_tool/pubspec.yaml | 0 .../cargokit/cmake/cargokit.cmake | 0 .../cargokit/cmake/resolve_symlinks.ps1 | 0 .../cargokit/gradle/plugin.gradle | 0 .../cargokit/run_build_tool.cmd | 0 .../cargokit/run_build_tool.sh | 0 .../catalyst_key_derivation/example/.gitignore | 0 .../catalyst_key_derivation/example/README.md | 0 .../example/analysis_options.yaml | 0 .../example/android/.gitignore | 0 .../example/android/app/build.gradle | 0 .../android/app/src/debug/AndroidManifest.xml | 0 .../android/app/src/main/AndroidManifest.xml | 0 .../catalyst_key_derivation_example/MainActivity.kt | 0 .../src/main/res/drawable-v21/launch_background.xml | 0 .../app/src/main/res/drawable/launch_background.xml | 0 .../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin .../app/src/main/res/values-night/styles.xml | 0 .../android/app/src/main/res/values/styles.xml | 0 .../android/app/src/profile/AndroidManifest.xml | 0 .../example/android/build.gradle | 0 .../example/android/gradle.properties | 0 .../gradle/wrapper/gradle-wrapper.properties | 0 .../example/android/settings.gradle | 0 .../catalyst_key_derivation/example/ios/.gitignore | 0 .../example/ios/Flutter/AppFrameworkInfo.plist | 0 .../example/ios/Flutter/Debug.xcconfig | 0 .../example/ios/Flutter/Release.xcconfig | 0 .../catalyst_key_derivation/example/ios/Podfile | 0 .../example/ios/Podfile.lock | 0 .../example/ios/Runner.xcodeproj/project.pbxproj | 0 .../project.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../ios/Runner.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../example/ios/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin .../AppIcon.appiconset/Icon-App-83.5x83.5@2x.png | Bin .../LaunchImage.imageset/Contents.json | 0 .../LaunchImage.imageset/LaunchImage.png | Bin .../LaunchImage.imageset/LaunchImage@2x.png | Bin .../LaunchImage.imageset/LaunchImage@3x.png | Bin .../ios/Runner/Base.lproj/LaunchScreen.storyboard | 0 .../example/ios/Runner/Base.lproj/Main.storyboard | 0 .../example/ios/Runner/Info.plist | 0 .../example/ios/Runner/Runner-Bridging-Header.h | 0 .../example/ios/RunnerTests/RunnerTests.swift | 0 .../catalyst_key_derivation/example/lib/main.dart | 0 .../example/macos/.gitignore | 0 .../example/macos/Flutter/Flutter-Debug.xcconfig | 0 .../example/macos/Flutter/Flutter-Release.xcconfig | 0 .../macos/Flutter/GeneratedPluginRegistrant.swift | 0 .../catalyst_key_derivation/example/macos/Podfile | 0 .../example/macos/Podfile.lock | 0 .../example/macos/Runner.xcodeproj/project.pbxproj | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../Runner.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../example/macos/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/app_icon_1024.png | Bin .../AppIcon.appiconset/app_icon_128.png | Bin .../AppIcon.appiconset/app_icon_16.png | Bin .../AppIcon.appiconset/app_icon_256.png | Bin .../AppIcon.appiconset/app_icon_32.png | Bin .../AppIcon.appiconset/app_icon_512.png | Bin .../AppIcon.appiconset/app_icon_64.png | Bin .../example/macos/Runner/Base.lproj/MainMenu.xib | 0 .../example/macos/Runner/Configs/AppInfo.xcconfig | 0 .../example/macos/Runner/Configs/Debug.xcconfig | 0 .../example/macos/Runner/Configs/Release.xcconfig | 0 .../example/macos/Runner/Configs/Warnings.xcconfig | 0 .../example/macos/Runner/DebugProfile.entitlements | 0 .../example/macos/Runner/Info.plist | 0 .../example/macos/Runner/MainFlutterWindow.swift | 0 .../example/macos/Runner/Release.entitlements | 0 .../example/macos/RunnerTests/RunnerTests.swift | 0 .../catalyst_key_derivation/example/pubspec.yaml | 0 .../catalyst_key_derivation/example/web/favicon.png | Bin .../example/web/icons/Icon-192.png | Bin .../example/web/icons/Icon-512.png | Bin .../example/web/icons/Icon-maskable-192.png | Bin .../example/web/icons/Icon-maskable-512.png | Bin .../example/web/icons/favicon.png | Bin .../catalyst_key_derivation/example/web/index.html | 0 .../example/web/manifest.json | 0 .../flutter_rust_bridge.yaml | 0 .../ios/Classes/dummy_file.c | 0 .../ios/catalyst_key_derivation.podspec | 0 .../lib/catalyst_key_derivation.dart | 0 .../lib/src/rust/api/simple.dart | 0 .../lib/src/rust/frb_generated.dart | 0 .../lib/src/rust/frb_generated.io.dart | 0 .../lib/src/rust/frb_generated.web.dart | 0 .../macos/Classes/dummy_file.c | 0 .../macos/catalyst_key_derivation.podspec | 0 .../external}/catalyst_key_derivation/pubspec.yaml | 0 .../external}/catalyst_key_derivation/run.sh | 0 .../catalyst_key_derivation/rust/.gitignore | 0 .../catalyst_key_derivation/rust/Cargo.toml | 0 .../catalyst_key_derivation/rust/src/api/mod.rs | 0 .../catalyst_key_derivation/rust/src/api/simple.rs | 0 .../rust/src/frb_generated.rs | 0 .../catalyst_key_derivation/rust/src/lib.rs | 0 melos.yaml | 8 ++++---- 310 files changed, 4 insertions(+), 4 deletions(-) rename {catalyst_voices_packages => catalyst_voices/packages/external}/README.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/SECURITY.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_analysis/.gitignore (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_analysis/CHANGELOG.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_analysis/LICENSE (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_analysis/README.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_analysis/example/README.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_analysis/example/analysis_options.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_analysis/example/lib/example.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_analysis/example/pubspec.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_analysis/lib/analysis_options.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_analysis/lib/catalyst_analysis.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_analysis/pubspec.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/CHANGELOG.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/LICENSE (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/README.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/analysis_options.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/.gitignore (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/.metadata (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/README.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/analysis_options.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/lib/main.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_rbac_tx.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_tx.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/lib/sign_data.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/pubspec.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/web/favicon.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-192.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-512.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-192.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-512.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/web/index.html (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/example/web/manifest.json (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/lib/catalyst_cardano.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/lib/src/catalyst_cardano.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/pubspec.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/wallet-automation/blueprint.cue (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/wallet-automation/compose.yml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/wallet-automation/global-setup.ts (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/wallet-automation/keys.txt (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/wallet-automation/package-lock.json (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/wallet-automation/package.json (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/wallet-automation/playwright.config.ts (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/wallet-automation/utils.ts (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano/wallet-automation/wallet-tests.spec.ts (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_platform_interface/CHANGELOG.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_platform_interface/LICENSE (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_platform_interface/README.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_platform_interface/analysis_options.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_platform_interface/example/main.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_platform_interface/lib/catalyst_cardano_platform_interface.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/cardano_wallet.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/catalyst_cardano_platform.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/exceptions.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_platform_interface/pubspec.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_web/CHANGELOG.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_web/LICENSE (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_web/README.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_web/analysis_options.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_web/assets/js/catalyst_cardano.js (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_web/example/main.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_web/lib/catalyst_cardano_web.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_interop.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_wallet_proxy.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano/catalyst_cardano_web/pubspec.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/CHANGELOG.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/LICENSE (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/README.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/analysis_options.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/example/main.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/catalyst_cardano_serialization.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/address.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/builders/transaction_builder.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/builders/witness_builder.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/certificate.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/cip95/drep.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/datum.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/exceptions.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/fees.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/hashes.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/rbac/auth_token.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/rbac/registration_data.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/rbac/x509_certificate.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/rbac/x509_metadata_envelope.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/redeemer.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/scripts.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/signature.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/transaction.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/transaction_output.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/types.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/utils/cbor.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/utils/numbers.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/utils/uuid.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/lib/src/witness.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/pubspec.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/test/address_test.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/test/builders/witness_builder_test.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/test/fees_test.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/test/hashes_test.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/test/rbac/auth_token_test.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/test/rbac/registration_data_test.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/test/rbac/x509_certificate_test.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/test/scripts_test.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/test/signature_test.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/test/test_utils/test_data.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/test/transaction_output_test.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/test/transaction_test.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/test/types_test.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/test/utils/cbor_test.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cardano_serialization/test/utils/uuid_test.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression/CHANGELOG.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression/LICENSE (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression/README.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression/analysis_options.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression/example/main.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression/lib/catalyst_compression.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression/lib/src/catalyst_compression.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression/pubspec.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_platform_interface/CHANGELOG.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_platform_interface/LICENSE (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_platform_interface/README.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_platform_interface/analysis_options.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_platform_interface/example/main.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_platform_interface/lib/catalyst_compression_platform_interface.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compression_platform.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compressor.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_platform_interface/pubspec.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_web/CHANGELOG.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_web/LICENSE (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_web/README.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_web/analysis_options.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression.js (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression_worker.js (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_web/example/main.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_web/lib/catalyst_compression_web.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_web/lib/src/interop/catalyst_compression_interop.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_compression/catalyst_compression_web/pubspec.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cose/CHANGELOG.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cose/LICENSE (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cose/README.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cose/analysis_options.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cose/example/main.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cose/lib/catalyst_cose.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cose/lib/src/catalyst_cose.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cose/pubspec.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_cose/test/catalyst_cose_test.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/.gitignore (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/.metadata (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/CHANGELOG.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/LICENSE (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/README.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/analysis_options.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/android/.gitignore (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/android/build.gradle (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/android/settings.gradle (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/android/src/main/AndroidManifest.xml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/.gitignore (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/LICENSE (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/README (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_pod.sh (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/.gitignore (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/README.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/analysis_options.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/bin/build_tool.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/build_tool.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/android_environment.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/artifacts_provider.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/build_cmake.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/build_gradle.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/build_pod.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/build_tool.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/builder.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/cargo.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/crate_hash.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/environment.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/logging.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/options.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/precompile_binaries.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/rustup.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/target.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/util.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/lib/src/verify_binaries.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/build_tool/pubspec.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/cmake/cargokit.cmake (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/cmake/resolve_symlinks.ps1 (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/gradle/plugin.gradle (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/run_build_tool.cmd (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/cargokit/run_build_tool.sh (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/.gitignore (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/README.md (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/analysis_options.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/.gitignore (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/app/build.gradle (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/app/src/debug/AndroidManifest.xml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/app/src/main/AndroidManifest.xml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/app/src/main/kotlin/com/example/catalyst_key_derivation_example/MainActivity.kt (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/app/src/main/res/drawable-v21/launch_background.xml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/app/src/main/res/drawable/launch_background.xml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/app/src/main/res/values-night/styles.xml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/app/src/main/res/values/styles.xml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/app/src/profile/AndroidManifest.xml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/build.gradle (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/gradle.properties (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/gradle/wrapper/gradle-wrapper.properties (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/android/settings.gradle (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/.gitignore (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Flutter/AppFrameworkInfo.plist (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Flutter/Debug.xcconfig (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Flutter/Release.xcconfig (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Podfile (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Podfile.lock (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.pbxproj (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner.xcworkspace/contents.xcworkspacedata (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/AppDelegate.swift (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Base.lproj/LaunchScreen.storyboard (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Base.lproj/Main.storyboard (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Info.plist (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/Runner/Runner-Bridging-Header.h (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/ios/RunnerTests/RunnerTests.swift (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/lib/main.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/.gitignore (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Flutter/Flutter-Debug.xcconfig (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Flutter/Flutter-Release.xcconfig (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Flutter/GeneratedPluginRegistrant.swift (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Podfile (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Podfile.lock (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.pbxproj (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner.xcworkspace/contents.xcworkspacedata (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/AppDelegate.swift (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/Base.lproj/MainMenu.xib (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/Configs/AppInfo.xcconfig (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/Configs/Debug.xcconfig (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/Configs/Release.xcconfig (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/Configs/Warnings.xcconfig (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/DebugProfile.entitlements (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/Info.plist (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/MainFlutterWindow.swift (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/Runner/Release.entitlements (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/macos/RunnerTests/RunnerTests.swift (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/pubspec.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/web/favicon.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/web/icons/Icon-192.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/web/icons/Icon-512.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/web/icons/Icon-maskable-192.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/web/icons/Icon-maskable-512.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/web/icons/favicon.png (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/web/index.html (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/example/web/manifest.json (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/flutter_rust_bridge.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/ios/Classes/dummy_file.c (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/ios/catalyst_key_derivation.podspec (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/lib/catalyst_key_derivation.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/lib/src/rust/api/simple.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/lib/src/rust/frb_generated.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/macos/Classes/dummy_file.c (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/macos/catalyst_key_derivation.podspec (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/pubspec.yaml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/run.sh (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/rust/.gitignore (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/rust/Cargo.toml (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/rust/src/api/mod.rs (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/rust/src/api/simple.rs (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/rust/src/frb_generated.rs (100%) rename {catalyst_voices_packages => catalyst_voices/packages/external}/catalyst_key_derivation/rust/src/lib.rs (100%) diff --git a/catalyst_voices_packages/README.md b/catalyst_voices/packages/external/README.md similarity index 100% rename from catalyst_voices_packages/README.md rename to catalyst_voices/packages/external/README.md diff --git a/catalyst_voices_packages/SECURITY.md b/catalyst_voices/packages/external/SECURITY.md similarity index 100% rename from catalyst_voices_packages/SECURITY.md rename to catalyst_voices/packages/external/SECURITY.md diff --git a/catalyst_voices_packages/catalyst_analysis/.gitignore b/catalyst_voices/packages/external/catalyst_analysis/.gitignore similarity index 100% rename from catalyst_voices_packages/catalyst_analysis/.gitignore rename to catalyst_voices/packages/external/catalyst_analysis/.gitignore diff --git a/catalyst_voices_packages/catalyst_analysis/CHANGELOG.md b/catalyst_voices/packages/external/catalyst_analysis/CHANGELOG.md similarity index 100% rename from catalyst_voices_packages/catalyst_analysis/CHANGELOG.md rename to catalyst_voices/packages/external/catalyst_analysis/CHANGELOG.md diff --git a/catalyst_voices_packages/catalyst_analysis/LICENSE b/catalyst_voices/packages/external/catalyst_analysis/LICENSE similarity index 100% rename from catalyst_voices_packages/catalyst_analysis/LICENSE rename to catalyst_voices/packages/external/catalyst_analysis/LICENSE diff --git a/catalyst_voices_packages/catalyst_analysis/README.md b/catalyst_voices/packages/external/catalyst_analysis/README.md similarity index 100% rename from catalyst_voices_packages/catalyst_analysis/README.md rename to catalyst_voices/packages/external/catalyst_analysis/README.md diff --git a/catalyst_voices_packages/catalyst_analysis/example/README.md b/catalyst_voices/packages/external/catalyst_analysis/example/README.md similarity index 100% rename from catalyst_voices_packages/catalyst_analysis/example/README.md rename to catalyst_voices/packages/external/catalyst_analysis/example/README.md diff --git a/catalyst_voices_packages/catalyst_analysis/example/analysis_options.yaml b/catalyst_voices/packages/external/catalyst_analysis/example/analysis_options.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_analysis/example/analysis_options.yaml rename to catalyst_voices/packages/external/catalyst_analysis/example/analysis_options.yaml diff --git a/catalyst_voices_packages/catalyst_analysis/example/lib/example.dart b/catalyst_voices/packages/external/catalyst_analysis/example/lib/example.dart similarity index 100% rename from catalyst_voices_packages/catalyst_analysis/example/lib/example.dart rename to catalyst_voices/packages/external/catalyst_analysis/example/lib/example.dart diff --git a/catalyst_voices_packages/catalyst_analysis/example/pubspec.yaml b/catalyst_voices/packages/external/catalyst_analysis/example/pubspec.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_analysis/example/pubspec.yaml rename to catalyst_voices/packages/external/catalyst_analysis/example/pubspec.yaml diff --git a/catalyst_voices_packages/catalyst_analysis/lib/analysis_options.yaml b/catalyst_voices/packages/external/catalyst_analysis/lib/analysis_options.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_analysis/lib/analysis_options.yaml rename to catalyst_voices/packages/external/catalyst_analysis/lib/analysis_options.yaml diff --git a/catalyst_voices_packages/catalyst_analysis/lib/catalyst_analysis.dart b/catalyst_voices/packages/external/catalyst_analysis/lib/catalyst_analysis.dart similarity index 100% rename from catalyst_voices_packages/catalyst_analysis/lib/catalyst_analysis.dart rename to catalyst_voices/packages/external/catalyst_analysis/lib/catalyst_analysis.dart diff --git a/catalyst_voices_packages/catalyst_analysis/pubspec.yaml b/catalyst_voices/packages/external/catalyst_analysis/pubspec.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_analysis/pubspec.yaml rename to catalyst_voices/packages/external/catalyst_analysis/pubspec.yaml diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/CHANGELOG.md b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/CHANGELOG.md similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/CHANGELOG.md rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/CHANGELOG.md diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/LICENSE b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/LICENSE similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/LICENSE rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/LICENSE diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/README.md b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/README.md similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/README.md rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/README.md diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/analysis_options.yaml b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/analysis_options.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/analysis_options.yaml rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/analysis_options.yaml diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/.gitignore b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/.gitignore similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/.gitignore rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/.gitignore diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/.metadata b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/.metadata similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/.metadata rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/.metadata diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/README.md b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/README.md similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/README.md rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/README.md diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/analysis_options.yaml b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/analysis_options.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/analysis_options.yaml rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/analysis_options.yaml diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/lib/main.dart b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/main.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/lib/main.dart rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/main.dart diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_rbac_tx.dart b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_rbac_tx.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_rbac_tx.dart rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_rbac_tx.dart diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_tx.dart b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_tx.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_tx.dart rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_tx.dart diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/lib/sign_data.dart b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/sign_data.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/lib/sign_data.dart rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/sign_data.dart diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/pubspec.yaml b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/pubspec.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/pubspec.yaml rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/pubspec.yaml diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/web/favicon.png b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/favicon.png similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/web/favicon.png rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/favicon.png diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-192.png b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-192.png similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-192.png rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-192.png diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-512.png b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-512.png similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-512.png rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-512.png diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-192.png b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-192.png similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-192.png rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-192.png diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-512.png b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-512.png similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-512.png rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-512.png diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/web/index.html b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/index.html similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/web/index.html rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/index.html diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/web/manifest.json b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/manifest.json similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example/web/manifest.json rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/manifest.json diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/lib/catalyst_cardano.dart b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/lib/catalyst_cardano.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/lib/catalyst_cardano.dart rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/lib/catalyst_cardano.dart diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/lib/src/catalyst_cardano.dart b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/lib/src/catalyst_cardano.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/lib/src/catalyst_cardano.dart rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/lib/src/catalyst_cardano.dart diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/pubspec.yaml b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/pubspec.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/pubspec.yaml rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/pubspec.yaml diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/blueprint.cue b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/blueprint.cue similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/blueprint.cue rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/blueprint.cue diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/compose.yml b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/compose.yml similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/compose.yml rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/compose.yml diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/global-setup.ts b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/global-setup.ts similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/global-setup.ts rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/global-setup.ts diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/keys.txt b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/keys.txt similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/keys.txt rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/keys.txt diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/package-lock.json b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/package-lock.json similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/package-lock.json rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/package-lock.json diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/package.json b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/package.json similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/package.json rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/package.json diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/playwright.config.ts b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/playwright.config.ts similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/playwright.config.ts rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/playwright.config.ts diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/utils.ts b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/utils.ts similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/utils.ts rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/utils.ts diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/wallet-tests.spec.ts b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/wallet-tests.spec.ts similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/wallet-tests.spec.ts rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/wallet-tests.spec.ts diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/CHANGELOG.md b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/CHANGELOG.md similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/CHANGELOG.md rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/CHANGELOG.md diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/LICENSE b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/LICENSE similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/LICENSE rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/LICENSE diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/README.md b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/README.md similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/README.md rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/README.md diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/analysis_options.yaml b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/analysis_options.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/analysis_options.yaml rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/analysis_options.yaml diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/example/main.dart b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/example/main.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/example/main.dart rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/example/main.dart diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/lib/catalyst_cardano_platform_interface.dart b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/catalyst_cardano_platform_interface.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/lib/catalyst_cardano_platform_interface.dart rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/catalyst_cardano_platform_interface.dart diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/cardano_wallet.dart b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/cardano_wallet.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/cardano_wallet.dart rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/cardano_wallet.dart diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/catalyst_cardano_platform.dart b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/catalyst_cardano_platform.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/catalyst_cardano_platform.dart rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/catalyst_cardano_platform.dart diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/exceptions.dart b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/exceptions.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/exceptions.dart rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/exceptions.dart diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/pubspec.yaml b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/pubspec.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface/pubspec.yaml rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/pubspec.yaml diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/CHANGELOG.md b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/CHANGELOG.md similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/CHANGELOG.md rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/CHANGELOG.md diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/LICENSE b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/LICENSE similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/LICENSE rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/LICENSE diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/README.md b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/README.md similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/README.md rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/README.md diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/analysis_options.yaml b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/analysis_options.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/analysis_options.yaml rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/analysis_options.yaml diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/assets/js/catalyst_cardano.js b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/assets/js/catalyst_cardano.js similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/assets/js/catalyst_cardano.js rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/assets/js/catalyst_cardano.js diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/example/main.dart b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/example/main.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/example/main.dart rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/example/main.dart diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/lib/catalyst_cardano_web.dart b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/lib/catalyst_cardano_web.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/lib/catalyst_cardano_web.dart rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/lib/catalyst_cardano_web.dart diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_interop.dart b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_interop.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_interop.dart rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_interop.dart diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_wallet_proxy.dart b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_wallet_proxy.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_wallet_proxy.dart rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_wallet_proxy.dart diff --git a/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/pubspec.yaml b/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/pubspec.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web/pubspec.yaml rename to catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/pubspec.yaml diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/CHANGELOG.md b/catalyst_voices/packages/external/catalyst_cardano_serialization/CHANGELOG.md similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/CHANGELOG.md rename to catalyst_voices/packages/external/catalyst_cardano_serialization/CHANGELOG.md diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/LICENSE b/catalyst_voices/packages/external/catalyst_cardano_serialization/LICENSE similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/LICENSE rename to catalyst_voices/packages/external/catalyst_cardano_serialization/LICENSE diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/README.md b/catalyst_voices/packages/external/catalyst_cardano_serialization/README.md similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/README.md rename to catalyst_voices/packages/external/catalyst_cardano_serialization/README.md diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/analysis_options.yaml b/catalyst_voices/packages/external/catalyst_cardano_serialization/analysis_options.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/analysis_options.yaml rename to catalyst_voices/packages/external/catalyst_cardano_serialization/analysis_options.yaml diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/example/main.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/example/main.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/example/main.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/example/main.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/catalyst_cardano_serialization.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/catalyst_cardano_serialization.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/catalyst_cardano_serialization.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/catalyst_cardano_serialization.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/address.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/address.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/address.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/address.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/builders/transaction_builder.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/builders/transaction_builder.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/builders/transaction_builder.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/builders/transaction_builder.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/builders/witness_builder.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/builders/witness_builder.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/builders/witness_builder.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/builders/witness_builder.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/certificate.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/certificate.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/certificate.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/certificate.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/cip95/drep.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/cip95/drep.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/cip95/drep.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/cip95/drep.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/datum.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/datum.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/datum.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/datum.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/exceptions.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/exceptions.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/exceptions.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/exceptions.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/fees.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/fees.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/fees.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/fees.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/hashes.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/hashes.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/hashes.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/hashes.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/rbac/auth_token.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/auth_token.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/rbac/auth_token.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/auth_token.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/rbac/registration_data.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/registration_data.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/rbac/registration_data.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/registration_data.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/rbac/x509_certificate.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/x509_certificate.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/rbac/x509_certificate.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/x509_certificate.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/rbac/x509_metadata_envelope.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/x509_metadata_envelope.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/rbac/x509_metadata_envelope.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/x509_metadata_envelope.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/redeemer.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/redeemer.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/redeemer.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/redeemer.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/scripts.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/scripts.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/scripts.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/scripts.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/signature.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/signature.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/signature.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/signature.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/transaction.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/transaction.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/transaction.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/transaction.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/transaction_output.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/transaction_output.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/transaction_output.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/transaction_output.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/types.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/types.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/types.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/types.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/utils/cbor.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/utils/cbor.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/utils/cbor.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/utils/cbor.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/utils/numbers.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/utils/numbers.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/utils/numbers.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/utils/numbers.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/utils/uuid.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/utils/uuid.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/utils/uuid.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/utils/uuid.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/lib/src/witness.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/witness.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/lib/src/witness.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/witness.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/pubspec.yaml b/catalyst_voices/packages/external/catalyst_cardano_serialization/pubspec.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/pubspec.yaml rename to catalyst_voices/packages/external/catalyst_cardano_serialization/pubspec.yaml diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/test/address_test.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/test/address_test.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/test/address_test.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/test/address_test.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/test/builders/witness_builder_test.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/test/builders/witness_builder_test.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/test/builders/witness_builder_test.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/test/builders/witness_builder_test.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/test/fees_test.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/test/fees_test.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/test/fees_test.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/test/fees_test.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/test/hashes_test.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/test/hashes_test.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/test/hashes_test.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/test/hashes_test.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/test/rbac/auth_token_test.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/test/rbac/auth_token_test.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/test/rbac/auth_token_test.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/test/rbac/auth_token_test.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/test/rbac/registration_data_test.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/test/rbac/registration_data_test.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/test/rbac/registration_data_test.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/test/rbac/registration_data_test.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/test/rbac/x509_certificate_test.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/test/rbac/x509_certificate_test.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/test/rbac/x509_certificate_test.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/test/rbac/x509_certificate_test.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/test/scripts_test.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/test/scripts_test.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/test/scripts_test.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/test/scripts_test.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/test/signature_test.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/test/signature_test.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/test/signature_test.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/test/signature_test.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/test/test_utils/test_data.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/test/test_utils/test_data.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/test/test_utils/test_data.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/test/test_utils/test_data.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/test/transaction_output_test.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/test/transaction_output_test.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/test/transaction_output_test.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/test/transaction_output_test.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/test/transaction_test.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/test/transaction_test.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/test/transaction_test.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/test/transaction_test.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/test/types_test.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/test/types_test.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/test/types_test.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/test/types_test.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/test/utils/cbor_test.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/test/utils/cbor_test.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/test/utils/cbor_test.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/test/utils/cbor_test.dart diff --git a/catalyst_voices_packages/catalyst_cardano_serialization/test/utils/uuid_test.dart b/catalyst_voices/packages/external/catalyst_cardano_serialization/test/utils/uuid_test.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cardano_serialization/test/utils/uuid_test.dart rename to catalyst_voices/packages/external/catalyst_cardano_serialization/test/utils/uuid_test.dart diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression/CHANGELOG.md b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/CHANGELOG.md similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression/CHANGELOG.md rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression/CHANGELOG.md diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression/LICENSE b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/LICENSE similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression/LICENSE rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression/LICENSE diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression/README.md b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/README.md similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression/README.md rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression/README.md diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression/analysis_options.yaml b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/analysis_options.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression/analysis_options.yaml rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression/analysis_options.yaml diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression/example/main.dart b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/example/main.dart similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression/example/main.dart rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression/example/main.dart diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression/lib/catalyst_compression.dart b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/lib/catalyst_compression.dart similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression/lib/catalyst_compression.dart rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression/lib/catalyst_compression.dart diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression/lib/src/catalyst_compression.dart b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/lib/src/catalyst_compression.dart similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression/lib/src/catalyst_compression.dart rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression/lib/src/catalyst_compression.dart diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression/pubspec.yaml b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/pubspec.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression/pubspec.yaml rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression/pubspec.yaml diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/CHANGELOG.md b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/CHANGELOG.md similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/CHANGELOG.md rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/CHANGELOG.md diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/LICENSE b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/LICENSE similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/LICENSE rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/LICENSE diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/README.md b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/README.md similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/README.md rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/README.md diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/analysis_options.yaml b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/analysis_options.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/analysis_options.yaml rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/analysis_options.yaml diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/example/main.dart b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/example/main.dart similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/example/main.dart rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/example/main.dart diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/lib/catalyst_compression_platform_interface.dart b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/lib/catalyst_compression_platform_interface.dart similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/lib/catalyst_compression_platform_interface.dart rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/lib/catalyst_compression_platform_interface.dart diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compression_platform.dart b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compression_platform.dart similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compression_platform.dart rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compression_platform.dart diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compressor.dart b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compressor.dart similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compressor.dart rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compressor.dart diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/pubspec.yaml b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/pubspec.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface/pubspec.yaml rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/pubspec.yaml diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_web/CHANGELOG.md b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/CHANGELOG.md similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_web/CHANGELOG.md rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/CHANGELOG.md diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_web/LICENSE b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/LICENSE similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_web/LICENSE rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/LICENSE diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_web/README.md b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/README.md similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_web/README.md rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/README.md diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_web/analysis_options.yaml b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/analysis_options.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_web/analysis_options.yaml rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/analysis_options.yaml diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression.js b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression.js similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression.js rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression.js diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression_worker.js b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression_worker.js similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression_worker.js rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression_worker.js diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_web/example/main.dart b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/example/main.dart similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_web/example/main.dart rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/example/main.dart diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_web/lib/catalyst_compression_web.dart b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/lib/catalyst_compression_web.dart similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_web/lib/catalyst_compression_web.dart rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/lib/catalyst_compression_web.dart diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_web/lib/src/interop/catalyst_compression_interop.dart b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/lib/src/interop/catalyst_compression_interop.dart similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_web/lib/src/interop/catalyst_compression_interop.dart rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/lib/src/interop/catalyst_compression_interop.dart diff --git a/catalyst_voices_packages/catalyst_compression/catalyst_compression_web/pubspec.yaml b/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/pubspec.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_compression/catalyst_compression_web/pubspec.yaml rename to catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/pubspec.yaml diff --git a/catalyst_voices_packages/catalyst_cose/CHANGELOG.md b/catalyst_voices/packages/external/catalyst_cose/CHANGELOG.md similarity index 100% rename from catalyst_voices_packages/catalyst_cose/CHANGELOG.md rename to catalyst_voices/packages/external/catalyst_cose/CHANGELOG.md diff --git a/catalyst_voices_packages/catalyst_cose/LICENSE b/catalyst_voices/packages/external/catalyst_cose/LICENSE similarity index 100% rename from catalyst_voices_packages/catalyst_cose/LICENSE rename to catalyst_voices/packages/external/catalyst_cose/LICENSE diff --git a/catalyst_voices_packages/catalyst_cose/README.md b/catalyst_voices/packages/external/catalyst_cose/README.md similarity index 100% rename from catalyst_voices_packages/catalyst_cose/README.md rename to catalyst_voices/packages/external/catalyst_cose/README.md diff --git a/catalyst_voices_packages/catalyst_cose/analysis_options.yaml b/catalyst_voices/packages/external/catalyst_cose/analysis_options.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_cose/analysis_options.yaml rename to catalyst_voices/packages/external/catalyst_cose/analysis_options.yaml diff --git a/catalyst_voices_packages/catalyst_cose/example/main.dart b/catalyst_voices/packages/external/catalyst_cose/example/main.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cose/example/main.dart rename to catalyst_voices/packages/external/catalyst_cose/example/main.dart diff --git a/catalyst_voices_packages/catalyst_cose/lib/catalyst_cose.dart b/catalyst_voices/packages/external/catalyst_cose/lib/catalyst_cose.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cose/lib/catalyst_cose.dart rename to catalyst_voices/packages/external/catalyst_cose/lib/catalyst_cose.dart diff --git a/catalyst_voices_packages/catalyst_cose/lib/src/catalyst_cose.dart b/catalyst_voices/packages/external/catalyst_cose/lib/src/catalyst_cose.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cose/lib/src/catalyst_cose.dart rename to catalyst_voices/packages/external/catalyst_cose/lib/src/catalyst_cose.dart diff --git a/catalyst_voices_packages/catalyst_cose/pubspec.yaml b/catalyst_voices/packages/external/catalyst_cose/pubspec.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_cose/pubspec.yaml rename to catalyst_voices/packages/external/catalyst_cose/pubspec.yaml diff --git a/catalyst_voices_packages/catalyst_cose/test/catalyst_cose_test.dart b/catalyst_voices/packages/external/catalyst_cose/test/catalyst_cose_test.dart similarity index 100% rename from catalyst_voices_packages/catalyst_cose/test/catalyst_cose_test.dart rename to catalyst_voices/packages/external/catalyst_cose/test/catalyst_cose_test.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/.gitignore b/catalyst_voices/packages/external/catalyst_key_derivation/.gitignore similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/.gitignore rename to catalyst_voices/packages/external/catalyst_key_derivation/.gitignore diff --git a/catalyst_voices_packages/catalyst_key_derivation/.metadata b/catalyst_voices/packages/external/catalyst_key_derivation/.metadata similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/.metadata rename to catalyst_voices/packages/external/catalyst_key_derivation/.metadata diff --git a/catalyst_voices_packages/catalyst_key_derivation/CHANGELOG.md b/catalyst_voices/packages/external/catalyst_key_derivation/CHANGELOG.md similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/CHANGELOG.md rename to catalyst_voices/packages/external/catalyst_key_derivation/CHANGELOG.md diff --git a/catalyst_voices_packages/catalyst_key_derivation/LICENSE b/catalyst_voices/packages/external/catalyst_key_derivation/LICENSE similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/LICENSE rename to catalyst_voices/packages/external/catalyst_key_derivation/LICENSE diff --git a/catalyst_voices_packages/catalyst_key_derivation/README.md b/catalyst_voices/packages/external/catalyst_key_derivation/README.md similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/README.md rename to catalyst_voices/packages/external/catalyst_key_derivation/README.md diff --git a/catalyst_voices_packages/catalyst_key_derivation/analysis_options.yaml b/catalyst_voices/packages/external/catalyst_key_derivation/analysis_options.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/analysis_options.yaml rename to catalyst_voices/packages/external/catalyst_key_derivation/analysis_options.yaml diff --git a/catalyst_voices_packages/catalyst_key_derivation/android/.gitignore b/catalyst_voices/packages/external/catalyst_key_derivation/android/.gitignore similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/android/.gitignore rename to catalyst_voices/packages/external/catalyst_key_derivation/android/.gitignore diff --git a/catalyst_voices_packages/catalyst_key_derivation/android/build.gradle b/catalyst_voices/packages/external/catalyst_key_derivation/android/build.gradle similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/android/build.gradle rename to catalyst_voices/packages/external/catalyst_key_derivation/android/build.gradle diff --git a/catalyst_voices_packages/catalyst_key_derivation/android/settings.gradle b/catalyst_voices/packages/external/catalyst_key_derivation/android/settings.gradle similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/android/settings.gradle rename to catalyst_voices/packages/external/catalyst_key_derivation/android/settings.gradle diff --git a/catalyst_voices_packages/catalyst_key_derivation/android/src/main/AndroidManifest.xml b/catalyst_voices/packages/external/catalyst_key_derivation/android/src/main/AndroidManifest.xml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/android/src/main/AndroidManifest.xml rename to catalyst_voices/packages/external/catalyst_key_derivation/android/src/main/AndroidManifest.xml diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/.gitignore b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/.gitignore similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/.gitignore rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/.gitignore diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/LICENSE b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/LICENSE similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/LICENSE rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/LICENSE diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/README b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/README similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/README rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/README diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_pod.sh b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_pod.sh similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_pod.sh rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_pod.sh diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/.gitignore b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/.gitignore similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/.gitignore rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/.gitignore diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/README.md b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/README.md similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/README.md rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/README.md diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/analysis_options.yaml b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/analysis_options.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/analysis_options.yaml rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/analysis_options.yaml diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/bin/build_tool.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/bin/build_tool.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/bin/build_tool.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/bin/build_tool.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/build_tool.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/build_tool.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/build_tool.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/build_tool.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/android_environment.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/android_environment.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/android_environment.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/android_environment.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/artifacts_provider.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/artifacts_provider.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/artifacts_provider.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/artifacts_provider.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/build_cmake.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_cmake.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/build_cmake.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_cmake.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/build_gradle.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_gradle.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/build_gradle.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_gradle.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/build_pod.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_pod.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/build_pod.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_pod.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/build_tool.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_tool.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/build_tool.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_tool.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/builder.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/builder.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/builder.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/builder.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/cargo.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/cargo.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/cargo.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/cargo.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/crate_hash.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/crate_hash.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/crate_hash.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/crate_hash.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/environment.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/environment.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/environment.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/environment.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/logging.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/logging.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/logging.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/logging.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/options.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/options.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/options.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/options.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/precompile_binaries.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/precompile_binaries.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/precompile_binaries.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/precompile_binaries.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/rustup.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/rustup.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/rustup.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/rustup.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/target.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/target.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/target.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/target.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/util.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/util.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/util.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/util.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/verify_binaries.dart b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/verify_binaries.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/lib/src/verify_binaries.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/verify_binaries.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/pubspec.yaml b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/pubspec.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/build_tool/pubspec.yaml rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/pubspec.yaml diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/cmake/cargokit.cmake b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/cmake/cargokit.cmake similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/cmake/cargokit.cmake rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/cmake/cargokit.cmake diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/cmake/resolve_symlinks.ps1 b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/cmake/resolve_symlinks.ps1 similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/cmake/resolve_symlinks.ps1 rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/cmake/resolve_symlinks.ps1 diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/gradle/plugin.gradle b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/gradle/plugin.gradle similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/gradle/plugin.gradle rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/gradle/plugin.gradle diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/run_build_tool.cmd b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/run_build_tool.cmd similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/run_build_tool.cmd rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/run_build_tool.cmd diff --git a/catalyst_voices_packages/catalyst_key_derivation/cargokit/run_build_tool.sh b/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/run_build_tool.sh similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/cargokit/run_build_tool.sh rename to catalyst_voices/packages/external/catalyst_key_derivation/cargokit/run_build_tool.sh diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/.gitignore b/catalyst_voices/packages/external/catalyst_key_derivation/example/.gitignore similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/.gitignore rename to catalyst_voices/packages/external/catalyst_key_derivation/example/.gitignore diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/README.md b/catalyst_voices/packages/external/catalyst_key_derivation/example/README.md similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/README.md rename to catalyst_voices/packages/external/catalyst_key_derivation/example/README.md diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/analysis_options.yaml b/catalyst_voices/packages/external/catalyst_key_derivation/example/analysis_options.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/analysis_options.yaml rename to catalyst_voices/packages/external/catalyst_key_derivation/example/analysis_options.yaml diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/.gitignore b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/.gitignore similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/.gitignore rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/.gitignore diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/app/build.gradle b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/build.gradle similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/app/build.gradle rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/build.gradle diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/debug/AndroidManifest.xml b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/debug/AndroidManifest.xml rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/debug/AndroidManifest.xml diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/AndroidManifest.xml b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/AndroidManifest.xml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/AndroidManifest.xml rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/AndroidManifest.xml diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/kotlin/com/example/catalyst_key_derivation_example/MainActivity.kt b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/kotlin/com/example/catalyst_key_derivation_example/MainActivity.kt similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/kotlin/com/example/catalyst_key_derivation_example/MainActivity.kt rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/kotlin/com/example/catalyst_key_derivation_example/MainActivity.kt diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/drawable-v21/launch_background.xml b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/drawable-v21/launch_background.xml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/drawable-v21/launch_background.xml rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/drawable-v21/launch_background.xml diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/drawable/launch_background.xml b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/drawable/launch_background.xml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/drawable/launch_background.xml rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/drawable/launch_background.xml diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/values-night/styles.xml b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/values-night/styles.xml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/values-night/styles.xml rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/values-night/styles.xml diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/values/styles.xml b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/values/styles.xml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/main/res/values/styles.xml rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/values/styles.xml diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/profile/AndroidManifest.xml b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/profile/AndroidManifest.xml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/app/src/profile/AndroidManifest.xml rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/profile/AndroidManifest.xml diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/build.gradle b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/build.gradle similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/build.gradle rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/build.gradle diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/gradle.properties b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/gradle.properties similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/gradle.properties rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/gradle.properties diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/gradle/wrapper/gradle-wrapper.properties b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/gradle/wrapper/gradle-wrapper.properties rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/gradle/wrapper/gradle-wrapper.properties diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/android/settings.gradle b/catalyst_voices/packages/external/catalyst_key_derivation/example/android/settings.gradle similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/android/settings.gradle rename to catalyst_voices/packages/external/catalyst_key_derivation/example/android/settings.gradle diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/.gitignore b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/.gitignore similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/.gitignore rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/.gitignore diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Flutter/AppFrameworkInfo.plist b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Flutter/AppFrameworkInfo.plist rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Flutter/AppFrameworkInfo.plist diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Flutter/Debug.xcconfig b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Flutter/Debug.xcconfig similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Flutter/Debug.xcconfig rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Flutter/Debug.xcconfig diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Flutter/Release.xcconfig b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Flutter/Release.xcconfig similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Flutter/Release.xcconfig rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Flutter/Release.xcconfig diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Podfile b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Podfile similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Podfile rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Podfile diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Podfile.lock b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Podfile.lock similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Podfile.lock rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Podfile.lock diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.pbxproj b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.pbxproj rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.pbxproj diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/AppDelegate.swift b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/AppDelegate.swift similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/AppDelegate.swift rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/AppDelegate.swift diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Base.lproj/Main.storyboard b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Base.lproj/Main.storyboard rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Base.lproj/Main.storyboard diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Info.plist b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Info.plist similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Info.plist rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Info.plist diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Runner-Bridging-Header.h b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Runner-Bridging-Header.h similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/Runner/Runner-Bridging-Header.h rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Runner-Bridging-Header.h diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/ios/RunnerTests/RunnerTests.swift b/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/RunnerTests/RunnerTests.swift similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/ios/RunnerTests/RunnerTests.swift rename to catalyst_voices/packages/external/catalyst_key_derivation/example/ios/RunnerTests/RunnerTests.swift diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart b/catalyst_voices/packages/external/catalyst_key_derivation/example/lib/main.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/example/lib/main.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/.gitignore b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/.gitignore similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/.gitignore rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/.gitignore diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Flutter/Flutter-Debug.xcconfig b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Flutter/Flutter-Debug.xcconfig similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Flutter/Flutter-Debug.xcconfig rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Flutter/Flutter-Debug.xcconfig diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Flutter/Flutter-Release.xcconfig b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Flutter/Flutter-Release.xcconfig similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Flutter/Flutter-Release.xcconfig rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Flutter/Flutter-Release.xcconfig diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Flutter/GeneratedPluginRegistrant.swift b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Flutter/GeneratedPluginRegistrant.swift similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Flutter/GeneratedPluginRegistrant.swift rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Flutter/GeneratedPluginRegistrant.swift diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Podfile b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Podfile similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Podfile rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Podfile diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Podfile.lock b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Podfile.lock similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Podfile.lock rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Podfile.lock diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.pbxproj b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.pbxproj similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.pbxproj rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.pbxproj diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner.xcworkspace/contents.xcworkspacedata b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcworkspace/contents.xcworkspacedata diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/AppDelegate.swift b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/AppDelegate.swift similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/AppDelegate.swift rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/AppDelegate.swift diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Base.lproj/MainMenu.xib b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Base.lproj/MainMenu.xib similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Base.lproj/MainMenu.xib rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Base.lproj/MainMenu.xib diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Configs/AppInfo.xcconfig b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/AppInfo.xcconfig similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Configs/AppInfo.xcconfig rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/AppInfo.xcconfig diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Configs/Debug.xcconfig b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/Debug.xcconfig similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Configs/Debug.xcconfig rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/Debug.xcconfig diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Configs/Release.xcconfig b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/Release.xcconfig similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Configs/Release.xcconfig rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/Release.xcconfig diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Configs/Warnings.xcconfig b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/Warnings.xcconfig similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Configs/Warnings.xcconfig rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/Warnings.xcconfig diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/DebugProfile.entitlements b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/DebugProfile.entitlements similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/DebugProfile.entitlements rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/DebugProfile.entitlements diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Info.plist b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Info.plist similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Info.plist rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Info.plist diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/MainFlutterWindow.swift b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/MainFlutterWindow.swift similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/MainFlutterWindow.swift rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/MainFlutterWindow.swift diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Release.entitlements b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Release.entitlements similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/Runner/Release.entitlements rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Release.entitlements diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/macos/RunnerTests/RunnerTests.swift b/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/RunnerTests/RunnerTests.swift similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/macos/RunnerTests/RunnerTests.swift rename to catalyst_voices/packages/external/catalyst_key_derivation/example/macos/RunnerTests/RunnerTests.swift diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/pubspec.yaml b/catalyst_voices/packages/external/catalyst_key_derivation/example/pubspec.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/pubspec.yaml rename to catalyst_voices/packages/external/catalyst_key_derivation/example/pubspec.yaml diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/web/favicon.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/web/favicon.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/web/favicon.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/web/favicon.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/web/icons/Icon-192.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-192.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/web/icons/Icon-192.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-192.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/web/icons/Icon-512.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-512.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/web/icons/Icon-512.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-512.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/web/icons/Icon-maskable-192.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-maskable-192.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/web/icons/Icon-maskable-192.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-maskable-192.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/web/icons/Icon-maskable-512.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-maskable-512.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/web/icons/Icon-maskable-512.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-maskable-512.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/web/icons/favicon.png b/catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/favicon.png similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/web/icons/favicon.png rename to catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/favicon.png diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/web/index.html b/catalyst_voices/packages/external/catalyst_key_derivation/example/web/index.html similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/web/index.html rename to catalyst_voices/packages/external/catalyst_key_derivation/example/web/index.html diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/web/manifest.json b/catalyst_voices/packages/external/catalyst_key_derivation/example/web/manifest.json similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/example/web/manifest.json rename to catalyst_voices/packages/external/catalyst_key_derivation/example/web/manifest.json diff --git a/catalyst_voices_packages/catalyst_key_derivation/flutter_rust_bridge.yaml b/catalyst_voices/packages/external/catalyst_key_derivation/flutter_rust_bridge.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/flutter_rust_bridge.yaml rename to catalyst_voices/packages/external/catalyst_key_derivation/flutter_rust_bridge.yaml diff --git a/catalyst_voices_packages/catalyst_key_derivation/ios/Classes/dummy_file.c b/catalyst_voices/packages/external/catalyst_key_derivation/ios/Classes/dummy_file.c similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/ios/Classes/dummy_file.c rename to catalyst_voices/packages/external/catalyst_key_derivation/ios/Classes/dummy_file.c diff --git a/catalyst_voices_packages/catalyst_key_derivation/ios/catalyst_key_derivation.podspec b/catalyst_voices/packages/external/catalyst_key_derivation/ios/catalyst_key_derivation.podspec similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/ios/catalyst_key_derivation.podspec rename to catalyst_voices/packages/external/catalyst_key_derivation/ios/catalyst_key_derivation.podspec diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/catalyst_key_derivation.dart b/catalyst_voices/packages/external/catalyst_key_derivation/lib/catalyst_key_derivation.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/lib/catalyst_key_derivation.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/lib/catalyst_key_derivation.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/simple.dart b/catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/api/simple.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/simple.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/api/simple.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart b/catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/frb_generated.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/frb_generated.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart b/catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart b/catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart rename to catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/macos/Classes/dummy_file.c b/catalyst_voices/packages/external/catalyst_key_derivation/macos/Classes/dummy_file.c similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/macos/Classes/dummy_file.c rename to catalyst_voices/packages/external/catalyst_key_derivation/macos/Classes/dummy_file.c diff --git a/catalyst_voices_packages/catalyst_key_derivation/macos/catalyst_key_derivation.podspec b/catalyst_voices/packages/external/catalyst_key_derivation/macos/catalyst_key_derivation.podspec similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/macos/catalyst_key_derivation.podspec rename to catalyst_voices/packages/external/catalyst_key_derivation/macos/catalyst_key_derivation.podspec diff --git a/catalyst_voices_packages/catalyst_key_derivation/pubspec.yaml b/catalyst_voices/packages/external/catalyst_key_derivation/pubspec.yaml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/pubspec.yaml rename to catalyst_voices/packages/external/catalyst_key_derivation/pubspec.yaml diff --git a/catalyst_voices_packages/catalyst_key_derivation/run.sh b/catalyst_voices/packages/external/catalyst_key_derivation/run.sh similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/run.sh rename to catalyst_voices/packages/external/catalyst_key_derivation/run.sh diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/.gitignore b/catalyst_voices/packages/external/catalyst_key_derivation/rust/.gitignore similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/rust/.gitignore rename to catalyst_voices/packages/external/catalyst_key_derivation/rust/.gitignore diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/Cargo.toml b/catalyst_voices/packages/external/catalyst_key_derivation/rust/Cargo.toml similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/rust/Cargo.toml rename to catalyst_voices/packages/external/catalyst_key_derivation/rust/Cargo.toml diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/mod.rs b/catalyst_voices/packages/external/catalyst_key_derivation/rust/src/api/mod.rs similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/rust/src/api/mod.rs rename to catalyst_voices/packages/external/catalyst_key_derivation/rust/src/api/mod.rs diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/simple.rs b/catalyst_voices/packages/external/catalyst_key_derivation/rust/src/api/simple.rs similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/rust/src/api/simple.rs rename to catalyst_voices/packages/external/catalyst_key_derivation/rust/src/api/simple.rs diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs b/catalyst_voices/packages/external/catalyst_key_derivation/rust/src/frb_generated.rs similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs rename to catalyst_voices/packages/external/catalyst_key_derivation/rust/src/frb_generated.rs diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/lib.rs b/catalyst_voices/packages/external/catalyst_key_derivation/rust/src/lib.rs similarity index 100% rename from catalyst_voices_packages/catalyst_key_derivation/rust/src/lib.rs rename to catalyst_voices/packages/external/catalyst_key_derivation/rust/src/lib.rs diff --git a/melos.yaml b/melos.yaml index b064761a3b..edb3e1ce55 100644 --- a/melos.yaml +++ b/melos.yaml @@ -3,16 +3,16 @@ repository: https://github.com/input-output-hk/catalyst-voices packages: - catalyst_voices + - catalyst_voices/packages/external/** + - catalyst_voices/packages/internal/** - catalyst_voices/utilities/** - - catalyst_voices/packages/** - - catalyst_voices_packages/** ignore: # ignores flutter_rust_bridge packages that are non-conformant with melos - catalyst_voices_packages/catalyst_key_derivation/example/** # ignore examples - - catalyst_voices/packages/**/example - - catalyst_voices_packages/**/example + - catalyst_voices/packages/external/**/example + - catalyst_voices/packages/internal/**/example permittedLicenses: - MIT From 9571bc512ad6614e68dbb4585d6e55ffb9143952 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Tue, 29 Oct 2024 15:32:48 +0100 Subject: [PATCH 11/89] refactor: move melos.yaml into catalyst_voices --- README.md | 2 +- .../.idea/runConfigurations/melos_run_analyze.xml | 11 ----------- .../runConfigurations/melos_run_build_pub_get_all.xml | 11 ----------- .../.idea/runConfigurations/melos_run_coverage.xml | 11 ----------- .../.idea/runConfigurations/melos_run_format.xml | 11 ----------- .../.idea/runConfigurations/melos_run_lint.xml | 11 ----------- melos.yaml => catalyst_voices/melos.yaml | 0 .../packages/external/CHANGELOG.md | 0 catalyst_voices/pubspec.yaml | 1 + pubspec.yaml | 7 ------- 10 files changed, 2 insertions(+), 63 deletions(-) delete mode 100644 catalyst_voices/.idea/runConfigurations/melos_run_analyze.xml delete mode 100644 catalyst_voices/.idea/runConfigurations/melos_run_build_pub_get_all.xml delete mode 100644 catalyst_voices/.idea/runConfigurations/melos_run_coverage.xml delete mode 100644 catalyst_voices/.idea/runConfigurations/melos_run_format.xml delete mode 100644 catalyst_voices/.idea/runConfigurations/melos_run_lint.xml rename melos.yaml => catalyst_voices/melos.yaml (100%) rename CHANGELOG.md => catalyst_voices/packages/external/CHANGELOG.md (100%) delete mode 100644 pubspec.yaml diff --git a/README.md b/README.md index 167f186171..297cdf93f3 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ The backend services for Catalyst Voices. Shared Flutter and Dart packages used across the Catalyst. -* **Directory**: [catalyst_voices_packages](https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices_packages) +* **Directory**: [catalyst_voices_packages](https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/external) * **Setup**: Navigate to ./catalyst_voices_packages. * **Documentation**: [Link to detailed documentation or Wiki] diff --git a/catalyst_voices/.idea/runConfigurations/melos_run_analyze.xml b/catalyst_voices/.idea/runConfigurations/melos_run_analyze.xml deleted file mode 100644 index 4287f1c5eb..0000000000 --- a/catalyst_voices/.idea/runConfigurations/melos_run_analyze.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - diff --git a/catalyst_voices/.idea/runConfigurations/melos_run_build_pub_get_all.xml b/catalyst_voices/.idea/runConfigurations/melos_run_build_pub_get_all.xml deleted file mode 100644 index 0657f330f0..0000000000 --- a/catalyst_voices/.idea/runConfigurations/melos_run_build_pub_get_all.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - diff --git a/catalyst_voices/.idea/runConfigurations/melos_run_coverage.xml b/catalyst_voices/.idea/runConfigurations/melos_run_coverage.xml deleted file mode 100644 index cd8e1d0ea1..0000000000 --- a/catalyst_voices/.idea/runConfigurations/melos_run_coverage.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - diff --git a/catalyst_voices/.idea/runConfigurations/melos_run_format.xml b/catalyst_voices/.idea/runConfigurations/melos_run_format.xml deleted file mode 100644 index 04ba109fe6..0000000000 --- a/catalyst_voices/.idea/runConfigurations/melos_run_format.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - diff --git a/catalyst_voices/.idea/runConfigurations/melos_run_lint.xml b/catalyst_voices/.idea/runConfigurations/melos_run_lint.xml deleted file mode 100644 index f2c1bacd26..0000000000 --- a/catalyst_voices/.idea/runConfigurations/melos_run_lint.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - diff --git a/melos.yaml b/catalyst_voices/melos.yaml similarity index 100% rename from melos.yaml rename to catalyst_voices/melos.yaml diff --git a/CHANGELOG.md b/catalyst_voices/packages/external/CHANGELOG.md similarity index 100% rename from CHANGELOG.md rename to catalyst_voices/packages/external/CHANGELOG.md diff --git a/catalyst_voices/pubspec.yaml b/catalyst_voices/pubspec.yaml index 4c9a22f44e..9610bfec3a 100644 --- a/catalyst_voices/pubspec.yaml +++ b/catalyst_voices/pubspec.yaml @@ -67,6 +67,7 @@ dev_dependencies: go_router_builder: ^2.4.1 integration_test: sdk: flutter + melos: ^6.1.0 mockito: ^5.4.4 mocktail: ^1.0.1 sentry_dart_plugin: ^2.1.0 diff --git a/pubspec.yaml b/pubspec.yaml deleted file mode 100644 index 05b1f417b8..0000000000 --- a/pubspec.yaml +++ /dev/null @@ -1,7 +0,0 @@ -name: catalyst_voices_workspace - -environment: - sdk: ">=3.3.3 <4.0.0" - -dev_dependencies: - melos: ^6.1.0 From 021c13d30880943e020bfde531fffb2bf8bc68ef Mon Sep 17 00:00:00 2001 From: bkioshn Date: Wed, 30 Oct 2024 11:16:48 +0700 Subject: [PATCH 12/89] fix: add word to dict Signed-off-by: bkioshn --- .config/dictionaries/project.dic | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.config/dictionaries/project.dic b/.config/dictionaries/project.dic index 838cf80397..6dd081d26e 100644 --- a/.config/dictionaries/project.dic +++ b/.config/dictionaries/project.dic @@ -2,6 +2,7 @@ aapt aarch abnf addr +addrof addrr adminer afinet @@ -10,6 +11,7 @@ anypolicy appbar appspot Arbritrary +ARCHS ARGB Arissara asmjs @@ -28,8 +30,10 @@ bluefireteam BROTLI canvaskit cardano +cargokit carryforward Catalyst +cbindgen CBOR cborg cborseq @@ -78,6 +82,7 @@ earthfile Easterling eddsa Edgedriver +Embedder emurgo encryptor endfunction @@ -115,6 +120,7 @@ interps inversed iohk iphoneos +iphonesimulator jdbc jetbrains Joaquín @@ -139,12 +145,14 @@ libasound libatk libatspi libavcodec +libcatalyst libdrm libflutter libgbm libnss libxkbcommon libxshmfence +Lifetimeable lintfix localizable loguru @@ -160,6 +168,7 @@ miniaturizable minicbor mithril mitigations +mocktail moderations moka msedgedriver @@ -190,6 +199,8 @@ pinenacl plpgsql podfile podhelper +podspec +Podspec postcss Pozhylenkov Precache @@ -238,8 +249,10 @@ servernum serviceworker slotno sqlfluff +SRCROOT sslmode sstableinfo +staticlib Stefano stevenj stringzilla @@ -303,19 +316,7 @@ xcodeproj xctest xctestrun xcworkspace +xprivate +xprv xvfb yoroi -Pbkdf2 -Embedder -Podspec -podspec -ARCHS -iphonesimulator -cargokit -SRCROOT -libcatalyst -staticlib -addrof -Lifetimeable -cbindgen -mocktail \ No newline at end of file From 78eccc96568021f5b09e59f36e1f421e4e3138cd Mon Sep 17 00:00:00 2001 From: bkioshn Date: Wed, 30 Oct 2024 11:18:42 +0700 Subject: [PATCH 13/89] fix: key derivation implementation Signed-off-by: bkioshn --- .../lib/src/rust/api/key_derivation.dart | 14 ++-- .../rust/src/api/key_derivation/mod.rs | 81 +++++++++++++------ .../rust/src/frb_generated.rs | 24 +++--- 3 files changed, 75 insertions(+), 44 deletions(-) diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart index dc1b692951..e25a50394b 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart @@ -10,20 +10,18 @@ import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; // These functions are ignored because they are not marked as `pub`: `derive_xprivate_key_helper`, `mnemonic_to_xprv_helper` /// Generate a new extended private key (`XPrv`) from a mnemonic and passphrase. -/// This function works with BIP-0039 mnemonics. +/// Note that this function only works with BIP-0039 mnemonics. /// For more information: Cardano Icarus master node derivation /// https://github.com/satoshilabs/slips/blob/master/slip-0023.md /// /// # Arguments /// /// - `mnemonic`: A string representing the mnemonic. -/// - `passphrase`: An optional string representing the passphrase. +/// - `passphrase`: An optional string representing the passphrase (aka. password). /// /// # Returns /// -/// Returns the `XPrv` extended private key as a `Result`. -/// If the conversion is successful, it returns `Ok` with the extended private key -/// (`XPrv`). +/// Returns a bytes of extended private key as a `Result`. Future mnemonicToXprv( {required String mnemonic, String? passphrase}) => RustLib.instance.api.crateApiKeyDerivationMnemonicToXprv( @@ -35,14 +33,12 @@ Future mnemonicToXprv( /// /// # Arguments /// -/// - `xprivate_key_bytes`: An extended private key of type `XPrvBytes`. +/// - `xprivate_key_bytes`: An extended private key bytes of type `XPrvBytes`. /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. /// /// # Returns /// -/// Returns the `XPrv` extended private key as a `Result`. -/// If the derivation path is successful, it returns `Ok` with the extended private key -/// (`XPrv`). +/// Returns a bytes of extended private key as a `Result`. Future deriveXprivateKey( {required U8Array96 xprivateKeyBytes, required String path}) => RustLib.instance.api.crateApiKeyDerivationDeriveXprivateKey( diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs index 52ebaff5ff..8f9b28e521 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs @@ -1,38 +1,62 @@ -//! Key derivation module. +//! Cardano deterministic key hierarchy using BIP-0039 module. +//! +//! This module provides functions necessary to handle deterministic key derivation +//! using BIP-0039 mnemonics. use bip32::DerivationPath; use bip39::Mnemonic; -pub use ed25519_bip32::DerivationIndex; -pub use ed25519_bip32::DerivationScheme; -pub use ed25519_bip32::XPrv; +pub use ed25519_bip32::{DerivationIndex, DerivationScheme, XPrv}; use hmac::Hmac; use pbkdf2::pbkdf2; use sha2::Sha512; +use flutter_rust_bridge::spawn_blocking_with; +use crate::frb_generated::FLUTTER_RUST_BRIDGE_HANDLER; -/// Extended private key bytes type +/// Extended private key bytes type. +/// Compose of: +/// - 64 Bytes: extended Ed25519 secret key +/// - 32 Bytes: chain code pub type XPrvBytes = [u8; 96]; /// Generate a new extended private key (`XPrv`) from a mnemonic and passphrase. -/// This function works with BIP-0039 mnemonics. +/// Note that this function only works with BIP-0039 mnemonics. /// For more information: Cardano Icarus master node derivation /// https://github.com/satoshilabs/slips/blob/master/slip-0023.md /// /// # Arguments /// /// - `mnemonic`: A string representing the mnemonic. -/// - `passphrase`: An optional string representing the passphrase. +/// - `passphrase`: An optional string representing the passphrase (aka. password). /// /// # Returns /// -/// Returns the `XPrv` extended private key as a `Result`. -/// If the conversion is successful, it returns `Ok` with the extended private key -/// (`XPrv`). -pub fn mnemonic_to_xprv(mnemonic: String, passphrase: Option) -> anyhow::Result { - let xprv = mnemonic_to_xprv_helper(mnemonic, passphrase)?; +/// Returns a bytes of extended private key as a `Result`. +pub async fn mnemonic_to_xprv(mnemonic: String, passphrase: Option) -> anyhow::Result { + let xprv = spawn_blocking_with( + move || mnemonic_to_xprv_helper(mnemonic, passphrase), + FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), + ) + .await + .map_err(|e| anyhow::anyhow!("{e}"))??; + Ok(xprv.into()) } -/// Helper function for mnemonic_to_xprv. + +/// Helper function for `mnemonic_to_xprv`. +/// +/// # Steps +/// +/// This implementation follows SLIP-0023 - Cardano Icarus master node derivation +/// +/// 1. Let `mnemonic` be a BIP-0039 mnemonic and `passphrase`be the passphrase. +/// 2. Determine entropy that was used to generate `mnemonic`. +/// 3. Compute `pbkdf2_result` = PBKDF2-HMAC-SHA512(password = `passphrase`, salt = `entropy`, iterations = 4096, dkLen = 96). +/// 4. given `pbkdf2_result` is S, modify S by assigning S[0] := S[0] & 0xf8 and S[31] := (S[31] & 0x1f) | 0x40. +/// 5. The result will be +/// - kL where S[0:32] a 256-bit integer in little-endian byte order. +/// - kR where S[32:64] +/// - Result in (kL, kR) as the root extended private key and c := S[64:96] as the root chain code. fn mnemonic_to_xprv_helper(mnemonic: String, passphrase: Option) -> anyhow::Result { /// 4096 is the number of iterations for PBKDF2. const ITER: u32 = 4096; @@ -43,7 +67,6 @@ fn mnemonic_to_xprv_helper(mnemonic: String, passphrase: Option) -> anyh let entropy = mnemonic.to_entropy(); - // This implementation follows SLIP-0023 - Cardano Icarus master node derivation let mut pbkdf2_result = [0; 96]; let _ = pbkdf2::>( passphrase.unwrap_or_default().as_bytes(), @@ -61,17 +84,23 @@ fn mnemonic_to_xprv_helper(mnemonic: String, passphrase: Option) -> anyh /// /// # Arguments /// -/// - `xprivate_key_bytes`: An extended private key of type `XPrvBytes`. +/// - `xprivate_key_bytes`: An extended private key bytes of type `XPrvBytes`. /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. /// /// # Returns /// -/// Returns the `XPrv` extended private key as a `Result`. -/// If the derivation path is successful, it returns `Ok` with the extended private key -/// (`XPrv`). -pub fn derive_xprivate_key(xprivate_key_bytes: XPrvBytes, path: String) -> anyhow::Result { - let xprv = XPrv::from_bytes_verified(xprivate_key_bytes)?; - let derive_xprv = derive_xprivate_key_helper(xprv, path)?; +/// Returns a bytes of extended private key as a `Result`. +pub async fn derive_xprivate_key(xprivate_key_bytes: XPrvBytes, path: String) -> anyhow::Result { + let derive_xprv = spawn_blocking_with( + move || { + let xprv = XPrv::from_bytes_verified(xprivate_key_bytes)?; + derive_xprivate_key_helper(xprv, path) + }, + FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), + ) + .await + .map_err(|e| anyhow::anyhow!("{e}"))??; + Ok(derive_xprv.into()) } @@ -84,6 +113,7 @@ fn derive_xprivate_key_helper(xprivate_key: XPrv, path: String) -> anyhow::Resul .iter() .fold(xprivate_key, |xprv, child_num| { if child_num.is_hardened() { + // i >= 2^31 is a hardened derivation xprv.derive(DerivationScheme::V2, child_num.index() | 0x80_00_00_00) } else { xprv.derive(DerivationScheme::V2, child_num.index()) @@ -99,18 +129,19 @@ mod test { const MNEMONIC: &str = "prevent company field green slot measure chief hero apple task eagle sunset endorse dress seed"; + // Call to function should not return error #[test] fn test_mnemonic_to_xprv() { - assert!(mnemonic_to_xprv(MNEMONIC.to_string(), None).is_ok()); + assert!(mnemonic_to_xprv_helper(MNEMONIC.to_string(), None).is_ok()); } // Test vector from https://cips.cardano.org/cip/CIP-0011 #[test] fn test_key_derivation() { - let xprv = mnemonic_to_xprv(MNEMONIC.to_string(), None).unwrap(); + let xprv = mnemonic_to_xprv_helper(MNEMONIC.to_string(), None).unwrap(); let path = "m/1852'/1815'/0'/2/0".to_string(); - let derive_xprv = XPrv::from_bytes_verified(derive_xprivate_key(xprv, path).unwrap()).unwrap(); + let derive_xprv = derive_xprivate_key_helper(xprv, path).unwrap(); assert_eq!(derive_xprv.to_string(), "b8ab42f1aacbcdb3ae858e3a3df88142b3ed27a2d3f432024e0d943fc1e597442d57545d84c8db2820b11509d944093bc605350e60c533b8886a405bd59eed6dcf356648fe9e9219d83e989c8ff5b5b337e2897b6554c1ab4e636de791fe5427"); - } + } } diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs index bb060eb9f4..6a72660ce1 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs @@ -51,7 +51,7 @@ fn wire__crate__api__key_derivation__derive_xprivate_key_impl( rust_vec_len_: i32, data_len_: i32, ) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_normal::( + FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( flutter_rust_bridge::for_generated::TaskInfo { debug_name: "derive_xprivate_key", port: Some(port_), @@ -70,15 +70,17 @@ fn wire__crate__api__key_derivation__derive_xprivate_key_impl( let api_xprivate_key_bytes = <[u8; 96]>::sse_decode(&mut deserializer); let api_path = ::sse_decode(&mut deserializer); deserializer.end(); - move |context| { + move |context| async move { transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( - (move || { + (move || async move { let output_ok = crate::api::key_derivation::derive_xprivate_key( api_xprivate_key_bytes, api_path, - )?; + ) + .await?; Ok(output_ok) - })(), + })() + .await, ) } }, @@ -90,7 +92,7 @@ fn wire__crate__api__key_derivation__mnemonic_to_xprv_impl( rust_vec_len_: i32, data_len_: i32, ) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_normal::( + FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( flutter_rust_bridge::for_generated::TaskInfo { debug_name: "mnemonic_to_xprv", port: Some(port_), @@ -109,15 +111,17 @@ fn wire__crate__api__key_derivation__mnemonic_to_xprv_impl( let api_mnemonic = ::sse_decode(&mut deserializer); let api_passphrase = >::sse_decode(&mut deserializer); deserializer.end(); - move |context| { + move |context| async move { transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( - (move || { + (move || async move { let output_ok = crate::api::key_derivation::mnemonic_to_xprv( api_mnemonic, api_passphrase, - )?; + ) + .await?; Ok(output_ok) - })(), + })() + .await, ) } }, From 6d58c6578e8135221b3b67fdb91b68c3d24d3821 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Wed, 30 Oct 2024 11:22:57 +0700 Subject: [PATCH 14/89] fix: remove simple rs Signed-off-by: bkioshn --- .../lib/catalyst_key_derivation.dart | 1 - .../lib/src/rust/api/simple.dart | 10 --- .../lib/src/rust/frb_generated.dart | 74 +--------------- .../lib/src/rust/frb_generated.io.dart | 10 --- .../lib/src/rust/frb_generated.web.dart | 10 --- .../rust/src/api/mod.rs | 1 - .../rust/src/api/simple.rs | 29 ------- .../rust/src/frb_generated.rs | 85 +------------------ 8 files changed, 3 insertions(+), 217 deletions(-) delete mode 100644 catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/simple.dart delete mode 100644 catalyst_voices_packages/catalyst_key_derivation/rust/src/api/simple.rs diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/catalyst_key_derivation.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/catalyst_key_derivation.dart index 4bfcbc3018..1e97b0c3ea 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/catalyst_key_derivation.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/catalyst_key_derivation.dart @@ -1,5 +1,4 @@ library catalyst_key_derivation; export 'src/rust/api/key_derivation.dart'; -export 'src/rust/api/simple.dart'; export 'src/rust/frb_generated.dart' show RustLib; diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/simple.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/simple.dart deleted file mode 100644 index 08beb9b876..0000000000 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/simple.dart +++ /dev/null @@ -1,10 +0,0 @@ -// This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.5.1. - -// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import - -import '../frb_generated.dart'; -import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; - -Future greet({required String name}) => - RustLib.instance.api.crateApiSimpleGreet(name: name); diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart index 248b600c05..19598517d9 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart @@ -4,7 +4,6 @@ // ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field import 'api/key_derivation.dart'; -import 'api/simple.dart'; import 'dart:async'; import 'dart:convert'; import 'frb_generated.dart'; @@ -57,9 +56,7 @@ class RustLib extends BaseEntrypoint { RustLibWire.fromExternalLibrary; @override - Future executeRustInitializers() async { - await api.crateApiSimpleInitApp(); - } + Future executeRustInitializers() async {} @override ExternalLibraryLoaderConfig get defaultExternalLibraryLoaderConfig => @@ -69,7 +66,7 @@ class RustLib extends BaseEntrypoint { String get codegenVersion => '2.5.1'; @override - int get rustContentHash => 424624821; + int get rustContentHash => -1269238771; static const kDefaultExternalLibraryLoaderConfig = ExternalLibraryLoaderConfig( @@ -85,10 +82,6 @@ abstract class RustLibApi extends BaseApi { Future crateApiKeyDerivationMnemonicToXprv( {required String mnemonic, String? passphrase}); - - Future crateApiSimpleGreet({required String name}); - - Future crateApiSimpleInitApp(); } class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { @@ -153,53 +146,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { argNames: ["mnemonic", "passphrase"], ); - @override - Future crateApiSimpleGreet({required String name}) { - return handler.executeNormal(NormalTask( - callFfi: (port_) { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_String(name, serializer); - pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 3, port: port_); - }, - codec: SseCodec( - decodeSuccessData: sse_decode_String, - decodeErrorData: null, - ), - constMeta: kCrateApiSimpleGreetConstMeta, - argValues: [name], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiSimpleGreetConstMeta => const TaskConstMeta( - debugName: "greet", - argNames: ["name"], - ); - - @override - Future crateApiSimpleInitApp() { - return handler.executeNormal(NormalTask( - callFfi: (port_) { - final serializer = SseSerializer(generalizedFrbRustBinding); - pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 4, port: port_); - }, - codec: SseCodec( - decodeSuccessData: sse_decode_unit, - decodeErrorData: null, - ), - constMeta: kCrateApiSimpleInitAppConstMeta, - argValues: [], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiSimpleInitAppConstMeta => const TaskConstMeta( - debugName: "init_app", - argNames: [], - ); - @protected AnyhowException dco_decode_AnyhowException(dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs @@ -236,12 +182,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { return U8Array96(dco_decode_list_prim_u_8_strict(raw)); } - @protected - void dco_decode_unit(dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return; - } - @protected AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs @@ -287,11 +227,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { return U8Array96(inner); } - @protected - void sse_decode_unit(SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - } - @protected int sse_decode_i_32(SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs @@ -347,11 +282,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_list_prim_u_8_strict(self.inner, serializer); } - @protected - void sse_encode_unit(void self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - } - @protected void sse_encode_i_32(int self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart index 6c3c2468df..58ac33384a 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart @@ -4,7 +4,6 @@ // ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field import 'api/key_derivation.dart'; -import 'api/simple.dart'; import 'dart:async'; import 'dart:convert'; import 'dart:ffi' as ffi; @@ -37,9 +36,6 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected U8Array96 dco_decode_u_8_array_96(dynamic raw); - @protected - void dco_decode_unit(dynamic raw); - @protected AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer); @@ -58,9 +54,6 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer); - @protected - void sse_decode_unit(SseDeserializer deserializer); - @protected int sse_decode_i_32(SseDeserializer deserializer); @@ -87,9 +80,6 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer); - @protected - void sse_encode_unit(void self, SseSerializer serializer); - @protected void sse_encode_i_32(int self, SseSerializer serializer); diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart index 4e5bdb78b2..bb21a348e3 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart @@ -7,7 +7,6 @@ // ignore_for_file: argument_type_not_assignable import 'api/key_derivation.dart'; -import 'api/simple.dart'; import 'dart:async'; import 'dart:convert'; import 'frb_generated.dart'; @@ -39,9 +38,6 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected U8Array96 dco_decode_u_8_array_96(dynamic raw); - @protected - void dco_decode_unit(dynamic raw); - @protected AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer); @@ -60,9 +56,6 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer); - @protected - void sse_decode_unit(SseDeserializer deserializer); - @protected int sse_decode_i_32(SseDeserializer deserializer); @@ -89,9 +82,6 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer); - @protected - void sse_encode_unit(void self, SseSerializer serializer); - @protected void sse_encode_i_32(int self, SseSerializer serializer); diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/mod.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/mod.rs index 340fdf28f5..c7c336ca4b 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/mod.rs +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/mod.rs @@ -1,2 +1 @@ pub mod key_derivation; -pub mod simple; diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/simple.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/simple.rs deleted file mode 100644 index 8e42034aea..0000000000 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/simple.rs +++ /dev/null @@ -1,29 +0,0 @@ -use flutter_rust_bridge::spawn_blocking_with; -use crate::frb_generated::FLUTTER_RUST_BRIDGE_HANDLER; - -// spawn_blocking_with works similary to tokio spawn_blocking -// basically running blocking operations on a separate thread -// Just use FLUTTER_RUST_BRIDGE_HANDLER.thread_pool() as the second argument -// as mention in https://github.com/fzyzcjy/flutter_rust_bridge/blob/master/frb_rust/src/rust_async/io.rs -// https://cjycode.com/flutter_rust_bridge/guides/cross-platform/async -pub async fn greet(name: String) -> String { - let iterations = 50_000_000; - - let result = spawn_blocking_with(move || { - let mut sum = 0.0; - for i in 0..iterations { - sum += (i as f64).sqrt(); - } - sum - }, FLUTTER_RUST_BRIDGE_HANDLER.thread_pool()) - .await - .unwrap(); - - format!("Hello, {name} {result}!") -} - -#[flutter_rust_bridge::frb(init)] -pub fn init_app() { - // Default utilities - feel free to customize - flutter_rust_bridge::setup_default_user_utils(); -} diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs index 6a72660ce1..66da322d39 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs @@ -37,7 +37,7 @@ flutter_rust_bridge::frb_generated_boilerplate!( default_rust_auto_opaque = RustAutoOpaqueMoi, ); pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.5.1"; -pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = 424624821; +pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = -1269238771; // Section: executor @@ -127,77 +127,6 @@ fn wire__crate__api__key_derivation__mnemonic_to_xprv_impl( }, ) } -fn wire__crate__api__simple__greet_impl( - port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len_: i32, - data_len_: i32, -) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "greet", - port: Some(port_), - mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_name = ::sse_decode(&mut deserializer); - deserializer.end(); - move |context| async move { - transform_result_sse::<_, ()>( - (move || async move { - let output_ok = - Result::<_, ()>::Ok(crate::api::simple::greet(api_name).await)?; - Ok(output_ok) - })() - .await, - ) - } - }, - ) -} -fn wire__crate__api__simple__init_app_impl( - port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len_: i32, - data_len_: i32, -) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_normal::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "init_app", - port: Some(port_), - mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - deserializer.end(); - move |context| { - transform_result_sse::<_, ()>((move || { - let output_ok = Result::<_, ()>::Ok({ - crate::api::simple::init_app(); - })?; - Ok(output_ok) - })()) - } - }, - ) -} // Section: dart2rust @@ -255,11 +184,6 @@ impl SseDecode for [u8; 96] { } } -impl SseDecode for () { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {} -} - impl SseDecode for i32 { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { @@ -295,8 +219,6 @@ fn pde_ffi_dispatcher_primary_impl( rust_vec_len, data_len, ), - 3 => wire__crate__api__simple__greet_impl(port, ptr, rust_vec_len, data_len), - 4 => wire__crate__api__simple__init_app_impl(port, ptr, rust_vec_len, data_len), _ => unreachable!(), } } @@ -369,11 +291,6 @@ impl SseEncode for [u8; 96] { } } -impl SseEncode for () { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) {} -} - impl SseEncode for i32 { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { From 31f1237bb8f90ea6609c03245ddcff289aeb9075 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Wed, 30 Oct 2024 16:54:29 +0700 Subject: [PATCH 15/89] fix: flutter format Signed-off-by: bkioshn --- .../catalyst_key_derivation/example/lib/main.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart b/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart index 4d7cbd481b..fe0daf66b8 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart @@ -38,9 +38,11 @@ class MyApp extends StatelessWidget { Future _doMagic() async { // ignore: avoid_print U8Array96 xprv = await mnemonicToXprv( - mnemonic: "prevent company field green slot measure chief hero apple task eagle sunset endorse dress seed"); + mnemonic: + "prevent company field green slot measure chief hero apple task eagle sunset endorse dress seed"); print(xprv); - U8Array96 derive_xprv = await deriveXprivateKey(xprivateKeyBytes: xprv, path: "m/1852'/1815'/0'/2/0"); + U8Array96 derive_xprv = await deriveXprivateKey( + xprivateKeyBytes: xprv, path: "m/1852'/1815'/0'/2/0"); print(derive_xprv); } } From 557748bc51a894c5d612b9e7cdac9ec6f39601b7 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Wed, 30 Oct 2024 10:55:59 +0100 Subject: [PATCH 16/89] refactor: move app into apps/voices dir --- catalyst_voices/.idea/modules.xml | 25 ++++++ .../{ => apps/voices}/analysis_options.yaml | 0 .../{ => apps/voices}/android/.gitignore | 0 .../voices}/android/app/build.gradle | 0 .../catalyst_voices/MainActivityTest.java | 0 .../android/app/src/debug/AndroidManifest.xml | 0 .../app/src/dev/ic_launcher-playstore.png | Bin .../res/drawable/ic_launcher_foreground.xml | 0 .../dev/res/mipmap-anydpi-v26/ic_launcher.xml | 0 .../mipmap-anydpi-v26/ic_launcher_round.xml | 0 .../src/dev/res/mipmap-hdpi/ic_launcher.png | Bin .../src/dev/res/mipmap-mdpi/ic_launcher.png | Bin .../src/dev/res/mipmap-xhdpi/ic_launcher.png | Bin .../src/dev/res/mipmap-xxhdpi/ic_launcher.png | Bin .../dev/res/mipmap-xxxhdpi/ic_launcher.png | Bin .../dev/res/values/ic_launcher_background.xml | 0 .../android/app/src/main/AndroidManifest.xml | 0 .../app/src/main/ic_launcher-playstore.png | Bin .../catalyst_voices/MainActivity.kt | 0 .../res/drawable-v21/launch_background.xml | 0 .../src/main/res/drawable/ic_launch_image.xml | 0 .../res/drawable/ic_launcher_foreground.xml | 0 .../main/res/drawable/launch_background.xml | 0 .../app/src/main/res/ic_launcher-web.png | Bin .../res/mipmap-anydpi-v26/ic_launcher.xml | 0 .../mipmap-anydpi-v26/ic_launcher_round.xml | 0 .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin .../app/src/main/res/playstore-icon.png | Bin .../app/src/main/res/values-night/styles.xml | 0 .../res/values/ic_launcher_background.xml | 0 .../app/src/main/res/values/styles.xml | 0 .../app/src/preprod/ic_launcher-playstore.png | Bin .../res/drawable/ic_launcher_foreground.xml | 0 .../res/mipmap-anydpi-v26/ic_launcher.xml | 0 .../mipmap-anydpi-v26/ic_launcher_round.xml | 0 .../preprod/res/mipmap-hdpi/ic_launcher.png | Bin .../preprod/res/mipmap-mdpi/ic_launcher.png | Bin .../preprod/res/mipmap-xhdpi/ic_launcher.png | Bin .../preprod/res/mipmap-xxhdpi/ic_launcher.png | Bin .../res/mipmap-xxxhdpi/ic_launcher.png | Bin .../res/values/ic_launcher_background.xml | 0 .../app/src/profile/AndroidManifest.xml | 0 .../app/src/qa/ic_launcher-playstore.png | Bin .../res/drawable/ic_launcher_foreground.xml | 0 .../qa/res/mipmap-anydpi-v26/ic_launcher.xml | 0 .../mipmap-anydpi-v26/ic_launcher_round.xml | 0 .../src/qa/res/mipmap-hdpi/ic_launcher.png | Bin .../src/qa/res/mipmap-mdpi/ic_launcher.png | Bin .../src/qa/res/mipmap-xhdpi/ic_launcher.png | Bin .../src/qa/res/mipmap-xxhdpi/ic_launcher.png | Bin .../src/qa/res/mipmap-xxxhdpi/ic_launcher.png | Bin .../qa/res/values/ic_launcher_background.xml | 0 .../{ => apps/voices}/android/build.gradle | 0 .../voices}/android/gradle.properties | 0 .../gradle/wrapper/gradle-wrapper.properties | 0 .../{ => apps/voices}/android/settings.gradle | 0 .../{ => apps/voices}/catalyst_voices.iml | 0 .../voices}/integration_test/app_test.dart | 0 .../voices}/integration_test/main.dart | 0 .../scenarios/login_scenario.dart | 0 .../scenarios/robots/login_robot.dart | 0 .../{ => apps/voices}/ios/.gitignore | 0 .../ios/Flutter/AppFrameworkInfo.plist | 0 .../voices}/ios/Flutter/Debug.xcconfig | 0 .../voices}/ios/Flutter/Release.xcconfig | 0 catalyst_voices/{ => apps/voices}/ios/Podfile | 0 .../{ => apps/voices}/ios/Podfile.lock | 0 .../ios/Runner.xcodeproj/project.pbxproj | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../xcshareddata/xcschemes/dev.xcscheme | 0 .../xcshareddata/xcschemes/preprod.xcscheme | 0 .../xcshareddata/xcschemes/prod.xcscheme | 0 .../xcshareddata/xcschemes/qa.xcscheme | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../voices}/ios/Runner/AppDelegate.swift | 0 .../AppIcon-dev.appiconset/100.png | Bin .../AppIcon-dev.appiconset/1024.png | Bin .../AppIcon-dev.appiconset/114.png | Bin .../AppIcon-dev.appiconset/120.png | Bin .../AppIcon-dev.appiconset/144.png | Bin .../AppIcon-dev.appiconset/152.png | Bin .../AppIcon-dev.appiconset/167.png | Bin .../AppIcon-dev.appiconset/180.png | Bin .../AppIcon-dev.appiconset/20.png | Bin .../AppIcon-dev.appiconset/29.png | Bin .../AppIcon-dev.appiconset/40.png | Bin .../AppIcon-dev.appiconset/50.png | Bin .../AppIcon-dev.appiconset/57.png | Bin .../AppIcon-dev.appiconset/58.png | Bin .../AppIcon-dev.appiconset/60.png | Bin .../AppIcon-dev.appiconset/72.png | Bin .../AppIcon-dev.appiconset/76.png | Bin .../AppIcon-dev.appiconset/80.png | Bin .../AppIcon-dev.appiconset/87.png | Bin .../AppIcon-dev.appiconset/Contents.json | 0 .../AppIcon-preprod.appiconset/100.png | Bin .../AppIcon-preprod.appiconset/1024.png | Bin .../AppIcon-preprod.appiconset/114.png | Bin .../AppIcon-preprod.appiconset/120.png | Bin .../AppIcon-preprod.appiconset/144.png | Bin .../AppIcon-preprod.appiconset/152.png | Bin .../AppIcon-preprod.appiconset/167.png | Bin .../AppIcon-preprod.appiconset/180.png | Bin .../AppIcon-preprod.appiconset/20.png | Bin .../AppIcon-preprod.appiconset/29.png | Bin .../AppIcon-preprod.appiconset/40.png | Bin .../AppIcon-preprod.appiconset/50.png | Bin .../AppIcon-preprod.appiconset/57.png | Bin .../AppIcon-preprod.appiconset/58.png | Bin .../AppIcon-preprod.appiconset/60.png | Bin .../AppIcon-preprod.appiconset/72.png | Bin .../AppIcon-preprod.appiconset/76.png | Bin .../AppIcon-preprod.appiconset/80.png | Bin .../AppIcon-preprod.appiconset/87.png | Bin .../AppIcon-preprod.appiconset/Contents.json | 0 .../AppIcon-qa.appiconset/100.png | Bin .../AppIcon-qa.appiconset/1024.png | Bin .../AppIcon-qa.appiconset/114.png | Bin .../AppIcon-qa.appiconset/120.png | Bin .../AppIcon-qa.appiconset/144.png | Bin .../AppIcon-qa.appiconset/152.png | Bin .../AppIcon-qa.appiconset/167.png | Bin .../AppIcon-qa.appiconset/180.png | Bin .../AppIcon-qa.appiconset/20.png | Bin .../AppIcon-qa.appiconset/29.png | Bin .../AppIcon-qa.appiconset/40.png | Bin .../AppIcon-qa.appiconset/50.png | Bin .../AppIcon-qa.appiconset/57.png | Bin .../AppIcon-qa.appiconset/58.png | Bin .../AppIcon-qa.appiconset/60.png | Bin .../AppIcon-qa.appiconset/72.png | Bin .../AppIcon-qa.appiconset/76.png | Bin .../AppIcon-qa.appiconset/80.png | Bin .../AppIcon-qa.appiconset/87.png | Bin .../AppIcon-qa.appiconset/Contents.json | 0 .../AppIcon.appiconset/100.png | Bin .../AppIcon.appiconset/1024.png | Bin .../AppIcon.appiconset/114.png | Bin .../AppIcon.appiconset/120.png | Bin .../AppIcon.appiconset/144.png | Bin .../AppIcon.appiconset/152.png | Bin .../AppIcon.appiconset/167.png | Bin .../AppIcon.appiconset/180.png | Bin .../Assets.xcassets/AppIcon.appiconset/20.png | Bin .../Assets.xcassets/AppIcon.appiconset/29.png | Bin .../Assets.xcassets/AppIcon.appiconset/40.png | Bin .../Assets.xcassets/AppIcon.appiconset/50.png | Bin .../Assets.xcassets/AppIcon.appiconset/57.png | Bin .../Assets.xcassets/AppIcon.appiconset/58.png | Bin .../Assets.xcassets/AppIcon.appiconset/60.png | Bin .../Assets.xcassets/AppIcon.appiconset/72.png | Bin .../Assets.xcassets/AppIcon.appiconset/76.png | Bin .../Assets.xcassets/AppIcon.appiconset/80.png | Bin .../Assets.xcassets/AppIcon.appiconset/87.png | Bin .../AppIcon.appiconset/Contents.json | 0 .../ios/Runner/Assets.xcassets/Contents.json | 0 .../Runner/Base.lproj/LaunchScreen.storyboard | 0 .../ios/Runner/Base.lproj/Main.storyboard | 0 .../{ => apps/voices}/ios/Runner/Info.plist | 0 .../ios/Runner/Runner-Bridging-Header.h | 0 .../voices}/ios/RunnerTests/RunnerTests.m | 0 .../{ => apps/voices}/lib/app/app.dart | 0 .../{ => apps/voices}/lib/app/view/app.dart | 0 .../voices}/lib/app/view/app_content.dart | 0 .../app/view/app_precache_image_assets.dart | 0 .../lib/app/view/app_session_listener.dart | 0 .../voices}/lib/common/error_handler.dart | 0 .../lib/common/ext/account_role_ext.dart | 0 .../voices}/lib/common/ext/brand_ext.dart | 0 .../{ => apps/voices}/lib/common/ext/ext.dart | 0 .../voices}/lib/common/ext/space_ext.dart | 0 .../voices}/lib/common/ext/string_ext.dart | 0 .../lib/common/formatters/date_formatter.dart | 0 .../common/formatters/input_formatters.dart | 0 .../lib/configs/app_bloc_observer.dart | 0 .../voices}/lib/configs/bootstrap.dart | 0 .../voices}/lib/configs/main_dev.dart | 0 .../voices}/lib/configs/main_preprod.dart | 0 .../voices}/lib/configs/main_prod.dart | 0 .../voices}/lib/configs/main_qa.dart | 0 .../voices}/lib/configs/main_web.dart | 0 .../voices}/lib/configs/sentry_service.dart | 0 .../voices}/lib/dependency/dependencies.dart | 0 .../voices}/lib/pages/account/account.dart | 0 .../lib/pages/account/account_page.dart | 0 .../pages/account/account_page_header.dart | 0 .../lib/pages/account/account_popup.dart | 0 .../pages/account/delete_keychain_dialog.dart | 0 .../account/keychain_deleted_dialog.dart | 0 .../pages/account/unlock_keychain_dialog.dart | 0 .../lib/pages/coming_soon/coming_soon.dart | 0 .../pages/coming_soon/coming_soon_page.dart | 0 .../lib/pages/coming_soon/description.dart | 0 .../voices}/lib/pages/coming_soon/logo.dart | 0 .../voices}/lib/pages/coming_soon/title.dart | 0 .../pages/discovery/current_status_text.dart | 0 .../lib/pages/discovery/discovery.dart | 0 .../lib/pages/discovery/discovery_page.dart | 0 .../pages/discovery/toggle_state_text.dart | 0 .../funded_projects/funded_projects.dart | 0 .../funded_projects/funded_projects_page.dart | 0 .../voices}/lib/pages/login/login.dart | 0 .../voices}/lib/pages/login/login_button.dart | 0 .../pages/login/login_email_text_filed.dart | 0 .../voices}/lib/pages/login/login_form.dart | 0 .../voices}/lib/pages/login/login_page.dart | 0 .../login/login_password_text_field.dart | 0 .../lib/pages/overall_spaces/back_fab.dart | 0 .../overall_spaces/brands_navigation.dart | 0 .../pages/overall_spaces/overall_spaces.dart | 0 .../overall_spaces/overall_spaces_page.dart | 0 .../space/discovery_overview.dart | 0 .../space/funded_projects_overview.dart | 0 .../space/space_overview_header.dart | 0 .../space/space_overview_nav_tile.dart | 0 .../space/treasury_overview.dart | 0 .../overall_spaces/space/voting_overview.dart | 0 .../space/workspace_overview.dart | 0 .../space_overview_container.dart | 0 .../spaces_overview_list_view.dart | 0 .../pages/overall_spaces/update_ready.dart | 0 .../account_completed_panel.dart | 0 .../bloc_registration_builder.dart | 0 .../bloc_unlock_password_builder.dart | 0 .../bloc_seed_phrase_builder.dart | 0 .../create_keychain_panel.dart | 0 .../stage/instructions_panel.dart | 0 .../seed_phrase_check_instructions_panel.dart | 0 .../stage/seed_phrase_check_panel.dart | 0 .../stage/seed_phrase_check_result_panel.dart | 0 .../stage/seed_phrase_panel.dart | 0 .../create_keychain/stage/splash_panel.dart | 0 .../unlock_password_instructions_panel.dart | 0 .../stage/unlock_password_panel.dart | 0 .../finish_account_creation_panel.dart | 0 .../get_started/get_started_panel.dart | 0 .../incorrect_seed_phrase_dialog.dart | 0 .../pictures/account_completed_picture.dart | 0 .../pictures/keychain_picture.dart | 0 .../keychain_with_password_picture.dart | 0 .../pictures/password_picture.dart | 0 .../pictures/seed_phrase_picture.dart | 0 .../registration/pictures/task_picture.dart | 0 .../pictures/unlock_keychain_picture.dart | 0 .../recover/bloc_recover_builder.dart | 0 .../recover/recover_method_panel.dart | 0 .../recover/recover_seed_phrase_panel.dart | 0 .../seed_phrase/account_details_panel.dart | 0 .../recover/seed_phrase/restored_panel.dart | 0 .../seed_phrase/seed_phrase_input_panel.dart | 0 .../seed_phrase_instructions_panel.dart | 0 .../unlock_password_instructions_panel.dart | 0 .../seed_phrase/unlock_password_panel.dart | 0 .../registration_details_panel.dart | 0 .../registration/registration_dialog.dart | 0 .../registration/registration_info_panel.dart | 0 ...pload_seed_phrase_confirmation_dialog.dart | 0 .../upload_seed_phrase_dialog.dart | 0 .../wallet_link/account_role_dialog.dart | 0 .../wallet_link/bloc_wallet_link_builder.dart | 0 .../wallet_link/stage/intro_panel.dart | 0 .../stage/rbac_transaction_panel.dart | 0 .../stage/roles_chooser_panel.dart | 0 .../stage/roles_summary_panel.dart | 0 .../stage/select_wallet_panel.dart | 0 .../stage/wallet_details_panel.dart | 0 .../wallet_link/wallet_link_panel.dart | 0 .../widgets/exit_confirm_dialog.dart | 0 .../widgets/information_panel.dart | 0 .../pages/registration/widgets/next_step.dart | 0 .../widgets/registration_progress.dart | 0 .../widgets/registration_stage_message.dart | 0 .../registration_stage_navigation.dart | 0 .../widgets/registration_tile.dart | 0 .../widgets/seed_phrase_actions.dart | 0 .../widgets/unlock_password_form.dart | 0 .../widgets/wallet_connection_status.dart | 0 .../registration/widgets/wallet_summary.dart | 0 .../appbar/spaces_theme_mode_switch.dart | 0 .../pages/spaces/drawer/discovery_menu.dart | 0 .../lib/pages/spaces/drawer/guest_menu.dart | 0 .../drawer/individual_private_campaigns.dart | 0 .../spaces/drawer/my_private_proposals.dart | 0 .../lib/pages/spaces/drawer/space_header.dart | 0 .../pages/spaces/drawer/spaces_drawer.dart | 0 .../pages/spaces/drawer/voting_rounds.dart | 0 .../voices}/lib/pages/spaces/spaces.dart | 0 .../lib/pages/spaces/spaces_shell_page.dart | 0 .../treasury/campaign_builder_panel.dart | 0 .../treasury/campaign_comments_panel.dart | 0 .../lib/pages/treasury/campaign_details.dart | 0 .../treasury/campaign_segment_controller.dart | 0 .../voices}/lib/pages/treasury/treasury.dart | 0 .../treasury_campaign_builder_ext.dart | 0 .../lib/pages/treasury/treasury_page.dart | 0 .../voices}/lib/pages/voting/voting.dart | 0 .../voices}/lib/pages/voting/voting_page.dart | 0 .../lib/pages/workspace/proposal_details.dart | 0 .../workspace/proposal_navigation_panel.dart | 0 .../proposal_segment_controller.dart | 0 .../pages/workspace/proposal_setup_panel.dart | 0 .../lib/pages/workspace/rich_text/answer.dart | 0 .../workspace/rich_text/bonus_mark_up.dart | 0 .../delivery_and_accountability.dart | 0 .../rich_text/feasibility_checks.dart | 0 .../rich_text/problem_statement.dart | 0 .../rich_text/public_description.dart | 0 .../rich_text/solution_statement.dart | 0 .../lib/pages/workspace/rich_text/title.dart | 0 .../workspace/rich_text/value_for_money.dart | 0 .../lib/pages/workspace/workspace.dart | 0 .../lib/pages/workspace/workspace_page.dart | 0 .../workspace_proposal_navigation_ext.dart | 0 .../voices}/lib/routes/app_router.dart | 0 .../voices}/lib/routes/app_scaffold.dart | 0 .../guards/composite_route_guard_mixin.dart | 0 .../lib/routes/guards/milestone_guard.dart | 0 .../lib/routes/guards/route_guard.dart | 0 .../routes/guards/session_unlocked_guard.dart | 0 .../{ => apps/voices}/lib/routes/routes.dart | 0 .../lib/routes/routing/account_route.dart | 0 .../lib/routes/routing/account_route.g.dart | 0 .../lib/routes/routing/coming_soon_route.dart | 0 .../routes/routing/coming_soon_route.g.dart | 0 .../lib/routes/routing/login_route.dart | 0 .../lib/routes/routing/login_route.g.dart | 0 .../routes/routing/overall_spaces_route.dart | 0 .../routing/overall_spaces_route.g.dart | 0 .../voices}/lib/routes/routing/routes.dart | 0 .../voices}/lib/routes/routing/routing.dart | 0 .../lib/routes/routing/spaces_route.dart | 0 .../lib/routes/routing/spaces_route.g.dart | 0 .../fade_page_transition_mixin.dart | 0 .../routing/transitions/transitions.dart | 0 .../app_bar/actions/connecting_status.dart | 0 .../actions/finish_account_button.dart | 0 .../app_bar/actions/get_started_button.dart | 0 .../actions/notifications_indicator.dart | 0 .../widgets/app_bar/actions/role_picker.dart | 0 .../app_bar/actions/search_button.dart | 0 .../app_bar/actions/unlock_button.dart | 0 .../app_bar/actions/user_profile_button.dart | 0 .../actions/voices_app_bar_actions.dart | 0 .../session/session_action_header.dart | 0 .../app_bar/session/session_state_header.dart | 0 .../lib/widgets/app_bar/voices_app_bar.dart | 0 .../lib/widgets/avatars/space_avatar.dart | 0 .../lib/widgets/avatars/voices_avatar.dart | 0 .../voices_button_affix_decoration.dart | 0 .../lib/widgets/buttons/voices_buttons.dart | 0 .../widgets/buttons/voices_filled_button.dart | 0 .../widgets/buttons/voices_icon_button.dart | 0 .../buttons/voices_keyboard_key_button.dart | 0 .../voices_logical_keyboard_key_button.dart | 0 .../buttons/voices_outlined_button.dart | 0 .../buttons/voices_segmented_button.dart | 0 .../widgets/buttons/voices_text_button.dart | 0 .../widgets/cards/funded_proposal_card.dart | 0 .../widgets/cards/pending_proposal_card.dart | 0 .../lib/widgets/cards/role_chooser_card.dart | 0 .../lib/widgets/chips/voices_chip.dart | 0 .../lib/widgets/common/affix_decorator.dart | 0 .../lib/widgets/common/columns_row.dart | 0 .../lib/widgets/common/delayed_widget.dart | 0 .../lib/widgets/common/grayscale_filter.dart | 0 .../infrastructure/voices_future_builder.dart | 0 .../infrastructure/voices_loadable.dart | 0 .../infrastructure/voices_result_builder.dart | 0 .../lib/widgets/common/label_decorator.dart | 0 .../voices}/lib/widgets/common/link_text.dart | 0 .../widgets/common/navigation_location.dart | 0 .../common/proposal_status_container.dart | 0 .../widgets/common/resizable_box_parent.dart | 0 .../common/shortcut_activator_view.dart | 0 .../lib/widgets/common/simple_tree_view.dart | 0 .../widgets/common/tab_bar_stack_view.dart | 0 .../containers/roles_chooser_container.dart | 0 .../containers/roles_summary_container.dart | 0 .../widgets/containers/sidebar_scaffold.dart | 0 .../widgets/containers/space_scaffold.dart | 0 .../widgets/containers/space_side_panel.dart | 0 .../workspace_text_tile_container.dart | 0 .../containers/workspace_tile_container.dart | 0 .../lib/widgets/drawer/voices_drawer.dart | 0 .../drawer/voices_drawer_space_chooser.dart | 0 .../widgets/footers/links_page_footer.dart | 0 .../lib/widgets/footers/page_footer.dart | 0 .../footers/standard_links_page_footer.dart | 0 .../lib/widgets/headers/brand_header.dart | 0 .../lib/widgets/headers/section_header.dart | 0 .../lib/widgets/headers/segment_header.dart | 0 .../process_progress_indicator.dart | 0 .../voices_circular_progress_indicator.dart | 0 .../indicators/voices_error_indicator.dart | 0 .../widgets/indicators/voices_indicator.dart | 0 .../voices_linear_progress_indicator.dart | 0 .../voices_no_internet_connection_banner.dart | 0 .../voices_password_strength_indicator.dart | 0 .../indicators/voices_status_indicator.dart | 0 .../indicators/voices_success_indicator.dart | 0 .../voices}/lib/widgets/list/bullet_list.dart | 0 .../menu/voices_expandable_list_tile.dart | 0 .../lib/widgets/menu/voices_list_tile.dart | 0 .../voices}/lib/widgets/menu/voices_menu.dart | 0 .../lib/widgets/menu/voices_node_menu.dart | 0 .../lib/widgets/menu/voices_wallet_tile.dart | 0 .../widgets/modals/voices_alert_dialog.dart | 0 .../widgets/modals/voices_desktop_dialog.dart | 0 .../lib/widgets/modals/voices_dialog.dart | 0 .../widgets/modals/voices_info_dialog.dart | 0 .../modals/voices_question_dialog.dart | 0 .../modals/voices_upload_file_dialog.dart | 0 .../widgets/rich_text/voices_rich_text.dart | 0 .../widgets/scrollbar/voices_scrollbar.dart | 0 .../seed_phrase/seed_phrases_completer.dart | 0 .../seed_phrase/seed_phrases_picker.dart | 0 .../seed_phrase/seed_phrases_sequencer.dart | 0 .../seed_phrase/seed_phrases_viewer.dart | 0 .../widgets/separators/voices_divider.dart | 0 .../separators/voices_text_divider.dart | 0 .../separators/voices_vertical_divider.dart | 0 .../lib/widgets/snackbar/voices_snackbar.dart | 0 .../snackbar/voices_snackbar_action.dart | 0 .../snackbar/voices_snackbar_type.dart | 0 .../widgets/text_field/seed_phrase_field.dart | 0 .../text_field/voices_autocomplete.dart | 0 .../text_field/voices_email_text_field.dart | 0 .../voices_password_text_field.dart | 0 .../widgets/text_field/voices_text_field.dart | 0 .../lib/widgets/tiles/voices_nav_tile.dart | 0 .../lib/widgets/toggles/voices_checkbox.dart | 0 .../toggles/voices_checkbox_group.dart | 0 .../lib/widgets/toggles/voices_radio.dart | 0 .../lib/widgets/toggles/voices_switch.dart | 0 .../toggles/voices_theme_mode_switch.dart | 0 .../tooltips/voices_plain_tooltip.dart | 0 .../widgets/tooltips/voices_rich_tooltip.dart | 0 .../voices}/lib/widgets/widgets.dart | 0 .../{ => apps/voices}/macos/.gitignore | 0 .../macos/Flutter/Flutter-Debug.xcconfig | 0 .../macos/Flutter/Flutter-Release.xcconfig | 0 .../Flutter/GeneratedPluginRegistrant.swift | 0 .../{ => apps/voices}/macos/Podfile | 0 .../{ => apps/voices}/macos/Podfile.lock | 0 .../macos/Runner.xcodeproj/project.pbxproj | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../voices}/macos/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/app_icon_1024.png | Bin .../AppIcon.appiconset/app_icon_128.png | Bin .../AppIcon.appiconset/app_icon_16.png | Bin .../AppIcon.appiconset/app_icon_256.png | Bin .../AppIcon.appiconset/app_icon_32.png | Bin .../AppIcon.appiconset/app_icon_512.png | Bin .../AppIcon.appiconset/app_icon_64.png | Bin .../macos/Runner/Base.lproj/MainMenu.xib | 0 .../macos/Runner/Configs/AppInfo.xcconfig | 0 .../macos/Runner/Configs/Debug.xcconfig | 0 .../macos/Runner/Configs/Release.xcconfig | 0 .../macos/Runner/Configs/Warnings.xcconfig | 0 .../macos/Runner/DebugProfile.entitlements | 0 .../{ => apps/voices}/macos/Runner/Info.plist | 0 .../macos/Runner/MainFlutterWindow.swift | 0 .../voices}/macos/Runner/Release.entitlements | 0 .../macos/RunnerTests/RunnerTests.swift | 0 catalyst_voices/apps/voices/pubspec.yaml | 80 ++++++++++++++++++ .../voices}/test/app/view/app_test.dart | 0 .../formatters/date_formatter_test.dart | 0 .../formatters/input_formatters_test.dart | 0 .../voices}/test/helpers/helpers.dart | 0 .../voices}/test/helpers/pump_app.dart | 0 .../widgets/avatars/voices_avatar_test.dart | 0 .../widgets/common/affix_decorator_test.dart | 0 .../test/widgets/common/columns_row_test.dart | 0 .../voices_future_builder_test.dart | 0 .../voices_result_builder_test.dart | 0 .../widgets/common/label_decorator_test.dart | 0 .../test/widgets/common/link_text_test.dart | 0 .../common/navigation_location_test.dart | 0 .../common/tab_bar_stack_view_test.dart | 0 .../widgets/headers/section_header_test.dart | 0 .../voices_status_indicator_test.dart | 0 .../test/widgets/menu/voices_menu_test.dart | 0 .../widgets/menu/voices_wallet_tile_test.dart | 0 .../rich_text/voices_rich_text_test.dart | 0 .../seed_phrases_sequencer_test.dart | 0 .../text_field/voices_text_field_test.dart | 0 .../toggles/voices_checkbox_group_test.dart | 0 .../widgets/toggles/voices_checkbox_test.dart | 0 .../tooltips/voices_plain_tooltip_test.dart | 0 .../tooltips/voices_rich_tooltip_test.dart | 0 .../{ => apps/voices}/test_driver/Earthfile | 0 .../test_driver/integration_tests.dart | 0 .../{ => apps/voices}/web/favicon.png | Bin .../{ => apps/voices}/web/icons/Icon-192.png | Bin .../{ => apps/voices}/web/icons/Icon-512.png | Bin .../voices}/web/icons/Icon-maskable-192.png | Bin .../voices}/web/icons/Icon-maskable-512.png | Bin .../{ => apps/voices}/web/icons/favicon.png | Bin .../{ => apps/voices}/web/index.html | 0 .../{ => apps/voices}/web/manifest.json | 0 catalyst_voices/melos.yaml | 14 +-- catalyst_voices/pubspec.yaml | 80 +----------------- 515 files changed, 115 insertions(+), 84 deletions(-) rename catalyst_voices/{ => apps/voices}/analysis_options.yaml (100%) rename catalyst_voices/{ => apps/voices}/android/.gitignore (100%) rename catalyst_voices/{ => apps/voices}/android/app/build.gradle (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/androidTest/java/androidTest/java/io/projectcatalyst/catalyst_voices/MainActivityTest.java (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/debug/AndroidManifest.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/dev/ic_launcher-playstore.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/dev/res/drawable/ic_launcher_foreground.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/dev/res/mipmap-anydpi-v26/ic_launcher.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/dev/res/mipmap-anydpi-v26/ic_launcher_round.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/dev/res/mipmap-hdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/dev/res/mipmap-mdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/dev/res/mipmap-xhdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/dev/res/mipmap-xxhdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/dev/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/dev/res/values/ic_launcher_background.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/AndroidManifest.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/ic_launcher-playstore.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/kotlin/io/projectcatalyst/catalyst_voices/MainActivity.kt (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/drawable-v21/launch_background.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/drawable/ic_launch_image.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/drawable/ic_launcher_foreground.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/drawable/launch_background.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/ic_launcher-web.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/mipmap-hdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/mipmap-mdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/playstore-icon.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/values-night/styles.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/values/ic_launcher_background.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/main/res/values/styles.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/preprod/ic_launcher-playstore.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/preprod/res/drawable/ic_launcher_foreground.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/preprod/res/mipmap-anydpi-v26/ic_launcher.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/preprod/res/mipmap-anydpi-v26/ic_launcher_round.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/preprod/res/mipmap-hdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/preprod/res/mipmap-mdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/preprod/res/mipmap-xhdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/preprod/res/mipmap-xxhdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/preprod/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/preprod/res/values/ic_launcher_background.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/profile/AndroidManifest.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/qa/ic_launcher-playstore.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/qa/res/drawable/ic_launcher_foreground.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/qa/res/mipmap-anydpi-v26/ic_launcher.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/qa/res/mipmap-anydpi-v26/ic_launcher_round.xml (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/qa/res/mipmap-hdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/qa/res/mipmap-mdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/qa/res/mipmap-xhdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/qa/res/mipmap-xxhdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/qa/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename catalyst_voices/{ => apps/voices}/android/app/src/qa/res/values/ic_launcher_background.xml (100%) rename catalyst_voices/{ => apps/voices}/android/build.gradle (100%) rename catalyst_voices/{ => apps/voices}/android/gradle.properties (100%) rename catalyst_voices/{ => apps/voices}/android/gradle/wrapper/gradle-wrapper.properties (100%) rename catalyst_voices/{ => apps/voices}/android/settings.gradle (100%) rename catalyst_voices/{ => apps/voices}/catalyst_voices.iml (100%) rename catalyst_voices/{ => apps/voices}/integration_test/app_test.dart (100%) rename catalyst_voices/{ => apps/voices}/integration_test/main.dart (100%) rename catalyst_voices/{ => apps/voices}/integration_test/scenarios/login_scenario.dart (100%) rename catalyst_voices/{ => apps/voices}/integration_test/scenarios/robots/login_robot.dart (100%) rename catalyst_voices/{ => apps/voices}/ios/.gitignore (100%) rename catalyst_voices/{ => apps/voices}/ios/Flutter/AppFrameworkInfo.plist (100%) rename catalyst_voices/{ => apps/voices}/ios/Flutter/Debug.xcconfig (100%) rename catalyst_voices/{ => apps/voices}/ios/Flutter/Release.xcconfig (100%) rename catalyst_voices/{ => apps/voices}/ios/Podfile (100%) rename catalyst_voices/{ => apps/voices}/ios/Podfile.lock (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner.xcodeproj/project.pbxproj (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner.xcodeproj/xcshareddata/xcschemes/dev.xcscheme (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner.xcodeproj/xcshareddata/xcschemes/preprod.xcscheme (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner.xcodeproj/xcshareddata/xcschemes/prod.xcscheme (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner.xcodeproj/xcshareddata/xcschemes/qa.xcscheme (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner.xcworkspace/contents.xcworkspacedata (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/AppDelegate.swift (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/100.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/1024.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/114.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/120.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/144.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/152.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/167.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/180.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/20.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/29.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/40.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/50.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/57.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/58.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/60.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/72.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/76.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/80.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/87.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Contents.json (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/100.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/1024.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/114.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/120.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/144.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/152.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/167.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/180.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/20.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/29.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/40.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/50.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/57.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/58.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/60.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/72.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/76.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/80.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/87.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/Contents.json (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/100.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/1024.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/114.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/120.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/144.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/152.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/167.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/180.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/20.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/29.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/40.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/50.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/57.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/58.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/60.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/72.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/76.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/80.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/87.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/Contents.json (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/100.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/1024.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/114.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/120.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/144.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/152.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/167.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/180.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/20.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/29.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/40.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/50.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/57.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/58.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/60.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/72.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/76.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/80.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/87.png (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Assets.xcassets/Contents.json (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Base.lproj/LaunchScreen.storyboard (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Base.lproj/Main.storyboard (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Info.plist (100%) rename catalyst_voices/{ => apps/voices}/ios/Runner/Runner-Bridging-Header.h (100%) rename catalyst_voices/{ => apps/voices}/ios/RunnerTests/RunnerTests.m (100%) rename catalyst_voices/{ => apps/voices}/lib/app/app.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/app/view/app.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/app/view/app_content.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/app/view/app_precache_image_assets.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/app/view/app_session_listener.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/common/error_handler.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/common/ext/account_role_ext.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/common/ext/brand_ext.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/common/ext/ext.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/common/ext/space_ext.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/common/ext/string_ext.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/common/formatters/date_formatter.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/common/formatters/input_formatters.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/configs/app_bloc_observer.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/configs/bootstrap.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/configs/main_dev.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/configs/main_preprod.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/configs/main_prod.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/configs/main_qa.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/configs/main_web.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/configs/sentry_service.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/dependency/dependencies.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/account/account.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/account/account_page.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/account/account_page_header.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/account/account_popup.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/account/delete_keychain_dialog.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/account/keychain_deleted_dialog.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/account/unlock_keychain_dialog.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/coming_soon/coming_soon.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/coming_soon/coming_soon_page.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/coming_soon/description.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/coming_soon/logo.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/coming_soon/title.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/discovery/current_status_text.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/discovery/discovery.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/discovery/discovery_page.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/discovery/toggle_state_text.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/funded_projects/funded_projects.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/funded_projects/funded_projects_page.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/login/login.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/login/login_button.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/login/login_email_text_filed.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/login/login_form.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/login/login_page.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/login/login_password_text_field.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/overall_spaces/back_fab.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/overall_spaces/brands_navigation.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/overall_spaces/overall_spaces.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/overall_spaces/overall_spaces_page.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/overall_spaces/space/discovery_overview.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/overall_spaces/space/funded_projects_overview.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/overall_spaces/space/space_overview_header.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/overall_spaces/space/space_overview_nav_tile.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/overall_spaces/space/treasury_overview.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/overall_spaces/space/voting_overview.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/overall_spaces/space/workspace_overview.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/overall_spaces/space_overview_container.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/overall_spaces/spaces_overview_list_view.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/overall_spaces/update_ready.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/account_completed/account_completed_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/bloc_registration_builder.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/bloc_unlock_password_builder.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/create_keychain/bloc_seed_phrase_builder.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/create_keychain/create_keychain_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/create_keychain/stage/instructions_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/create_keychain/stage/seed_phrase_check_instructions_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/create_keychain/stage/seed_phrase_check_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/create_keychain/stage/seed_phrase_check_result_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/create_keychain/stage/seed_phrase_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/create_keychain/stage/splash_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/create_keychain/stage/unlock_password_instructions_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/create_keychain/stage/unlock_password_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/finish_account/finish_account_creation_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/get_started/get_started_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/incorrect_seed_phrase_dialog.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/pictures/account_completed_picture.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/pictures/keychain_picture.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/pictures/keychain_with_password_picture.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/pictures/password_picture.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/pictures/seed_phrase_picture.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/pictures/task_picture.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/pictures/unlock_keychain_picture.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/recover/bloc_recover_builder.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/recover/recover_method_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/recover/recover_seed_phrase_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/recover/seed_phrase/account_details_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/recover/seed_phrase/restored_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/recover/seed_phrase/seed_phrase_input_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/recover/seed_phrase/seed_phrase_instructions_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/recover/seed_phrase/unlock_password_instructions_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/recover/seed_phrase/unlock_password_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/registration_details_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/registration_dialog.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/registration_info_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/upload_seed_phrase_confirmation_dialog.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/upload_seed_phrase_dialog.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/wallet_link/account_role_dialog.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/wallet_link/bloc_wallet_link_builder.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/wallet_link/stage/intro_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/wallet_link/stage/rbac_transaction_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/wallet_link/stage/roles_chooser_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/wallet_link/stage/roles_summary_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/wallet_link/stage/select_wallet_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/wallet_link/stage/wallet_details_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/wallet_link/wallet_link_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/widgets/exit_confirm_dialog.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/widgets/information_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/widgets/next_step.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/widgets/registration_progress.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/widgets/registration_stage_message.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/widgets/registration_stage_navigation.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/widgets/registration_tile.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/widgets/seed_phrase_actions.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/widgets/unlock_password_form.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/widgets/wallet_connection_status.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/registration/widgets/wallet_summary.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/spaces/appbar/spaces_theme_mode_switch.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/spaces/drawer/discovery_menu.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/spaces/drawer/guest_menu.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/spaces/drawer/individual_private_campaigns.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/spaces/drawer/my_private_proposals.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/spaces/drawer/space_header.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/spaces/drawer/spaces_drawer.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/spaces/drawer/voting_rounds.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/spaces/spaces.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/spaces/spaces_shell_page.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/treasury/campaign_builder_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/treasury/campaign_comments_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/treasury/campaign_details.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/treasury/campaign_segment_controller.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/treasury/treasury.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/treasury/treasury_campaign_builder_ext.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/treasury/treasury_page.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/voting/voting.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/voting/voting_page.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/proposal_details.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/proposal_navigation_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/proposal_segment_controller.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/proposal_setup_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/rich_text/answer.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/rich_text/bonus_mark_up.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/rich_text/delivery_and_accountability.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/rich_text/feasibility_checks.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/rich_text/problem_statement.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/rich_text/public_description.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/rich_text/solution_statement.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/rich_text/title.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/rich_text/value_for_money.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/workspace.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/workspace_page.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/pages/workspace/workspace_proposal_navigation_ext.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/app_router.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/app_scaffold.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/guards/composite_route_guard_mixin.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/guards/milestone_guard.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/guards/route_guard.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/guards/session_unlocked_guard.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/routes.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/routing/account_route.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/routing/account_route.g.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/routing/coming_soon_route.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/routing/coming_soon_route.g.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/routing/login_route.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/routing/login_route.g.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/routing/overall_spaces_route.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/routing/overall_spaces_route.g.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/routing/routes.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/routing/routing.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/routing/spaces_route.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/routing/spaces_route.g.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/routing/transitions/fade_page_transition_mixin.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/routes/routing/transitions/transitions.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/app_bar/actions/connecting_status.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/app_bar/actions/finish_account_button.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/app_bar/actions/get_started_button.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/app_bar/actions/notifications_indicator.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/app_bar/actions/role_picker.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/app_bar/actions/search_button.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/app_bar/actions/unlock_button.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/app_bar/actions/user_profile_button.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/app_bar/actions/voices_app_bar_actions.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/app_bar/session/session_action_header.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/app_bar/session/session_state_header.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/app_bar/voices_app_bar.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/avatars/space_avatar.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/avatars/voices_avatar.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/buttons/voices_button_affix_decoration.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/buttons/voices_buttons.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/buttons/voices_filled_button.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/buttons/voices_icon_button.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/buttons/voices_keyboard_key_button.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/buttons/voices_logical_keyboard_key_button.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/buttons/voices_outlined_button.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/buttons/voices_segmented_button.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/buttons/voices_text_button.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/cards/funded_proposal_card.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/cards/pending_proposal_card.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/cards/role_chooser_card.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/chips/voices_chip.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/common/affix_decorator.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/common/columns_row.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/common/delayed_widget.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/common/grayscale_filter.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/common/infrastructure/voices_future_builder.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/common/infrastructure/voices_loadable.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/common/infrastructure/voices_result_builder.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/common/label_decorator.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/common/link_text.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/common/navigation_location.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/common/proposal_status_container.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/common/resizable_box_parent.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/common/shortcut_activator_view.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/common/simple_tree_view.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/common/tab_bar_stack_view.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/containers/roles_chooser_container.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/containers/roles_summary_container.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/containers/sidebar_scaffold.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/containers/space_scaffold.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/containers/space_side_panel.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/containers/workspace_text_tile_container.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/containers/workspace_tile_container.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/drawer/voices_drawer.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/drawer/voices_drawer_space_chooser.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/footers/links_page_footer.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/footers/page_footer.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/footers/standard_links_page_footer.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/headers/brand_header.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/headers/section_header.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/headers/segment_header.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/indicators/process_progress_indicator.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/indicators/voices_circular_progress_indicator.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/indicators/voices_error_indicator.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/indicators/voices_indicator.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/indicators/voices_linear_progress_indicator.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/indicators/voices_no_internet_connection_banner.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/indicators/voices_password_strength_indicator.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/indicators/voices_status_indicator.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/indicators/voices_success_indicator.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/list/bullet_list.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/menu/voices_expandable_list_tile.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/menu/voices_list_tile.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/menu/voices_menu.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/menu/voices_node_menu.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/menu/voices_wallet_tile.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/modals/voices_alert_dialog.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/modals/voices_desktop_dialog.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/modals/voices_dialog.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/modals/voices_info_dialog.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/modals/voices_question_dialog.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/modals/voices_upload_file_dialog.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/rich_text/voices_rich_text.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/scrollbar/voices_scrollbar.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/seed_phrase/seed_phrases_completer.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/seed_phrase/seed_phrases_picker.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/seed_phrase/seed_phrases_sequencer.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/seed_phrase/seed_phrases_viewer.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/separators/voices_divider.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/separators/voices_text_divider.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/separators/voices_vertical_divider.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/snackbar/voices_snackbar.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/snackbar/voices_snackbar_action.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/snackbar/voices_snackbar_type.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/text_field/seed_phrase_field.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/text_field/voices_autocomplete.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/text_field/voices_email_text_field.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/text_field/voices_password_text_field.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/text_field/voices_text_field.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/tiles/voices_nav_tile.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/toggles/voices_checkbox.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/toggles/voices_checkbox_group.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/toggles/voices_radio.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/toggles/voices_switch.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/toggles/voices_theme_mode_switch.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/tooltips/voices_plain_tooltip.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/tooltips/voices_rich_tooltip.dart (100%) rename catalyst_voices/{ => apps/voices}/lib/widgets/widgets.dart (100%) rename catalyst_voices/{ => apps/voices}/macos/.gitignore (100%) rename catalyst_voices/{ => apps/voices}/macos/Flutter/Flutter-Debug.xcconfig (100%) rename catalyst_voices/{ => apps/voices}/macos/Flutter/Flutter-Release.xcconfig (100%) rename catalyst_voices/{ => apps/voices}/macos/Flutter/GeneratedPluginRegistrant.swift (100%) rename catalyst_voices/{ => apps/voices}/macos/Podfile (100%) rename catalyst_voices/{ => apps/voices}/macos/Podfile.lock (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner.xcodeproj/project.pbxproj (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner.xcworkspace/contents.xcworkspacedata (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/AppDelegate.swift (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/Base.lproj/MainMenu.xib (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/Configs/AppInfo.xcconfig (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/Configs/Debug.xcconfig (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/Configs/Release.xcconfig (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/Configs/Warnings.xcconfig (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/DebugProfile.entitlements (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/Info.plist (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/MainFlutterWindow.swift (100%) rename catalyst_voices/{ => apps/voices}/macos/Runner/Release.entitlements (100%) rename catalyst_voices/{ => apps/voices}/macos/RunnerTests/RunnerTests.swift (100%) create mode 100644 catalyst_voices/apps/voices/pubspec.yaml rename catalyst_voices/{ => apps/voices}/test/app/view/app_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/common/formatters/date_formatter_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/common/formatters/input_formatters_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/helpers/helpers.dart (100%) rename catalyst_voices/{ => apps/voices}/test/helpers/pump_app.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/avatars/voices_avatar_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/common/affix_decorator_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/common/columns_row_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/common/infrastructure/voices_future_builder_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/common/infrastructure/voices_result_builder_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/common/label_decorator_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/common/link_text_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/common/navigation_location_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/common/tab_bar_stack_view_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/headers/section_header_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/indicators/voices_status_indicator_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/menu/voices_menu_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/menu/voices_wallet_tile_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/rich_text/voices_rich_text_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/seed_phrase/seed_phrases_sequencer_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/text_field/voices_text_field_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/toggles/voices_checkbox_group_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/toggles/voices_checkbox_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/tooltips/voices_plain_tooltip_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test/widgets/tooltips/voices_rich_tooltip_test.dart (100%) rename catalyst_voices/{ => apps/voices}/test_driver/Earthfile (100%) rename catalyst_voices/{ => apps/voices}/test_driver/integration_tests.dart (100%) rename catalyst_voices/{ => apps/voices}/web/favicon.png (100%) rename catalyst_voices/{ => apps/voices}/web/icons/Icon-192.png (100%) rename catalyst_voices/{ => apps/voices}/web/icons/Icon-512.png (100%) rename catalyst_voices/{ => apps/voices}/web/icons/Icon-maskable-192.png (100%) rename catalyst_voices/{ => apps/voices}/web/icons/Icon-maskable-512.png (100%) rename catalyst_voices/{ => apps/voices}/web/icons/favicon.png (100%) rename catalyst_voices/{ => apps/voices}/web/index.html (100%) rename catalyst_voices/{ => apps/voices}/web/manifest.json (100%) diff --git a/catalyst_voices/.idea/modules.xml b/catalyst_voices/.idea/modules.xml index 0b40fd054e..61706a5956 100644 --- a/catalyst_voices/.idea/modules.xml +++ b/catalyst_voices/.idea/modules.xml @@ -2,6 +2,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/catalyst_voices/analysis_options.yaml b/catalyst_voices/apps/voices/analysis_options.yaml similarity index 100% rename from catalyst_voices/analysis_options.yaml rename to catalyst_voices/apps/voices/analysis_options.yaml diff --git a/catalyst_voices/android/.gitignore b/catalyst_voices/apps/voices/android/.gitignore similarity index 100% rename from catalyst_voices/android/.gitignore rename to catalyst_voices/apps/voices/android/.gitignore diff --git a/catalyst_voices/android/app/build.gradle b/catalyst_voices/apps/voices/android/app/build.gradle similarity index 100% rename from catalyst_voices/android/app/build.gradle rename to catalyst_voices/apps/voices/android/app/build.gradle diff --git a/catalyst_voices/android/app/src/androidTest/java/androidTest/java/io/projectcatalyst/catalyst_voices/MainActivityTest.java b/catalyst_voices/apps/voices/android/app/src/androidTest/java/androidTest/java/io/projectcatalyst/catalyst_voices/MainActivityTest.java similarity index 100% rename from catalyst_voices/android/app/src/androidTest/java/androidTest/java/io/projectcatalyst/catalyst_voices/MainActivityTest.java rename to catalyst_voices/apps/voices/android/app/src/androidTest/java/androidTest/java/io/projectcatalyst/catalyst_voices/MainActivityTest.java diff --git a/catalyst_voices/android/app/src/debug/AndroidManifest.xml b/catalyst_voices/apps/voices/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from catalyst_voices/android/app/src/debug/AndroidManifest.xml rename to catalyst_voices/apps/voices/android/app/src/debug/AndroidManifest.xml diff --git a/catalyst_voices/android/app/src/dev/ic_launcher-playstore.png b/catalyst_voices/apps/voices/android/app/src/dev/ic_launcher-playstore.png similarity index 100% rename from catalyst_voices/android/app/src/dev/ic_launcher-playstore.png rename to catalyst_voices/apps/voices/android/app/src/dev/ic_launcher-playstore.png diff --git a/catalyst_voices/android/app/src/dev/res/drawable/ic_launcher_foreground.xml b/catalyst_voices/apps/voices/android/app/src/dev/res/drawable/ic_launcher_foreground.xml similarity index 100% rename from catalyst_voices/android/app/src/dev/res/drawable/ic_launcher_foreground.xml rename to catalyst_voices/apps/voices/android/app/src/dev/res/drawable/ic_launcher_foreground.xml diff --git a/catalyst_voices/android/app/src/dev/res/mipmap-anydpi-v26/ic_launcher.xml b/catalyst_voices/apps/voices/android/app/src/dev/res/mipmap-anydpi-v26/ic_launcher.xml similarity index 100% rename from catalyst_voices/android/app/src/dev/res/mipmap-anydpi-v26/ic_launcher.xml rename to catalyst_voices/apps/voices/android/app/src/dev/res/mipmap-anydpi-v26/ic_launcher.xml diff --git a/catalyst_voices/android/app/src/dev/res/mipmap-anydpi-v26/ic_launcher_round.xml b/catalyst_voices/apps/voices/android/app/src/dev/res/mipmap-anydpi-v26/ic_launcher_round.xml similarity index 100% rename from catalyst_voices/android/app/src/dev/res/mipmap-anydpi-v26/ic_launcher_round.xml rename to catalyst_voices/apps/voices/android/app/src/dev/res/mipmap-anydpi-v26/ic_launcher_round.xml diff --git a/catalyst_voices/android/app/src/dev/res/mipmap-hdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/dev/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/dev/res/mipmap-hdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/dev/res/mipmap-hdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/dev/res/mipmap-mdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/dev/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/dev/res/mipmap-mdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/dev/res/mipmap-mdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/dev/res/mipmap-xhdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/dev/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/dev/res/mipmap-xhdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/dev/res/mipmap-xhdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/dev/res/mipmap-xxhdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/dev/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/dev/res/mipmap-xxhdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/dev/res/mipmap-xxhdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/dev/res/mipmap-xxxhdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/dev/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/dev/res/mipmap-xxxhdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/dev/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/dev/res/values/ic_launcher_background.xml b/catalyst_voices/apps/voices/android/app/src/dev/res/values/ic_launcher_background.xml similarity index 100% rename from catalyst_voices/android/app/src/dev/res/values/ic_launcher_background.xml rename to catalyst_voices/apps/voices/android/app/src/dev/res/values/ic_launcher_background.xml diff --git a/catalyst_voices/android/app/src/main/AndroidManifest.xml b/catalyst_voices/apps/voices/android/app/src/main/AndroidManifest.xml similarity index 100% rename from catalyst_voices/android/app/src/main/AndroidManifest.xml rename to catalyst_voices/apps/voices/android/app/src/main/AndroidManifest.xml diff --git a/catalyst_voices/android/app/src/main/ic_launcher-playstore.png b/catalyst_voices/apps/voices/android/app/src/main/ic_launcher-playstore.png similarity index 100% rename from catalyst_voices/android/app/src/main/ic_launcher-playstore.png rename to catalyst_voices/apps/voices/android/app/src/main/ic_launcher-playstore.png diff --git a/catalyst_voices/android/app/src/main/kotlin/io/projectcatalyst/catalyst_voices/MainActivity.kt b/catalyst_voices/apps/voices/android/app/src/main/kotlin/io/projectcatalyst/catalyst_voices/MainActivity.kt similarity index 100% rename from catalyst_voices/android/app/src/main/kotlin/io/projectcatalyst/catalyst_voices/MainActivity.kt rename to catalyst_voices/apps/voices/android/app/src/main/kotlin/io/projectcatalyst/catalyst_voices/MainActivity.kt diff --git a/catalyst_voices/android/app/src/main/res/drawable-v21/launch_background.xml b/catalyst_voices/apps/voices/android/app/src/main/res/drawable-v21/launch_background.xml similarity index 100% rename from catalyst_voices/android/app/src/main/res/drawable-v21/launch_background.xml rename to catalyst_voices/apps/voices/android/app/src/main/res/drawable-v21/launch_background.xml diff --git a/catalyst_voices/android/app/src/main/res/drawable/ic_launch_image.xml b/catalyst_voices/apps/voices/android/app/src/main/res/drawable/ic_launch_image.xml similarity index 100% rename from catalyst_voices/android/app/src/main/res/drawable/ic_launch_image.xml rename to catalyst_voices/apps/voices/android/app/src/main/res/drawable/ic_launch_image.xml diff --git a/catalyst_voices/android/app/src/main/res/drawable/ic_launcher_foreground.xml b/catalyst_voices/apps/voices/android/app/src/main/res/drawable/ic_launcher_foreground.xml similarity index 100% rename from catalyst_voices/android/app/src/main/res/drawable/ic_launcher_foreground.xml rename to catalyst_voices/apps/voices/android/app/src/main/res/drawable/ic_launcher_foreground.xml diff --git a/catalyst_voices/android/app/src/main/res/drawable/launch_background.xml b/catalyst_voices/apps/voices/android/app/src/main/res/drawable/launch_background.xml similarity index 100% rename from catalyst_voices/android/app/src/main/res/drawable/launch_background.xml rename to catalyst_voices/apps/voices/android/app/src/main/res/drawable/launch_background.xml diff --git a/catalyst_voices/android/app/src/main/res/ic_launcher-web.png b/catalyst_voices/apps/voices/android/app/src/main/res/ic_launcher-web.png similarity index 100% rename from catalyst_voices/android/app/src/main/res/ic_launcher-web.png rename to catalyst_voices/apps/voices/android/app/src/main/res/ic_launcher-web.png diff --git a/catalyst_voices/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/catalyst_voices/apps/voices/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml similarity index 100% rename from catalyst_voices/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml rename to catalyst_voices/apps/voices/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml diff --git a/catalyst_voices/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/catalyst_voices/apps/voices/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml similarity index 100% rename from catalyst_voices/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml rename to catalyst_voices/apps/voices/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml diff --git a/catalyst_voices/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/main/res/playstore-icon.png b/catalyst_voices/apps/voices/android/app/src/main/res/playstore-icon.png similarity index 100% rename from catalyst_voices/android/app/src/main/res/playstore-icon.png rename to catalyst_voices/apps/voices/android/app/src/main/res/playstore-icon.png diff --git a/catalyst_voices/android/app/src/main/res/values-night/styles.xml b/catalyst_voices/apps/voices/android/app/src/main/res/values-night/styles.xml similarity index 100% rename from catalyst_voices/android/app/src/main/res/values-night/styles.xml rename to catalyst_voices/apps/voices/android/app/src/main/res/values-night/styles.xml diff --git a/catalyst_voices/android/app/src/main/res/values/ic_launcher_background.xml b/catalyst_voices/apps/voices/android/app/src/main/res/values/ic_launcher_background.xml similarity index 100% rename from catalyst_voices/android/app/src/main/res/values/ic_launcher_background.xml rename to catalyst_voices/apps/voices/android/app/src/main/res/values/ic_launcher_background.xml diff --git a/catalyst_voices/android/app/src/main/res/values/styles.xml b/catalyst_voices/apps/voices/android/app/src/main/res/values/styles.xml similarity index 100% rename from catalyst_voices/android/app/src/main/res/values/styles.xml rename to catalyst_voices/apps/voices/android/app/src/main/res/values/styles.xml diff --git a/catalyst_voices/android/app/src/preprod/ic_launcher-playstore.png b/catalyst_voices/apps/voices/android/app/src/preprod/ic_launcher-playstore.png similarity index 100% rename from catalyst_voices/android/app/src/preprod/ic_launcher-playstore.png rename to catalyst_voices/apps/voices/android/app/src/preprod/ic_launcher-playstore.png diff --git a/catalyst_voices/android/app/src/preprod/res/drawable/ic_launcher_foreground.xml b/catalyst_voices/apps/voices/android/app/src/preprod/res/drawable/ic_launcher_foreground.xml similarity index 100% rename from catalyst_voices/android/app/src/preprod/res/drawable/ic_launcher_foreground.xml rename to catalyst_voices/apps/voices/android/app/src/preprod/res/drawable/ic_launcher_foreground.xml diff --git a/catalyst_voices/android/app/src/preprod/res/mipmap-anydpi-v26/ic_launcher.xml b/catalyst_voices/apps/voices/android/app/src/preprod/res/mipmap-anydpi-v26/ic_launcher.xml similarity index 100% rename from catalyst_voices/android/app/src/preprod/res/mipmap-anydpi-v26/ic_launcher.xml rename to catalyst_voices/apps/voices/android/app/src/preprod/res/mipmap-anydpi-v26/ic_launcher.xml diff --git a/catalyst_voices/android/app/src/preprod/res/mipmap-anydpi-v26/ic_launcher_round.xml b/catalyst_voices/apps/voices/android/app/src/preprod/res/mipmap-anydpi-v26/ic_launcher_round.xml similarity index 100% rename from catalyst_voices/android/app/src/preprod/res/mipmap-anydpi-v26/ic_launcher_round.xml rename to catalyst_voices/apps/voices/android/app/src/preprod/res/mipmap-anydpi-v26/ic_launcher_round.xml diff --git a/catalyst_voices/android/app/src/preprod/res/mipmap-hdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/preprod/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/preprod/res/mipmap-hdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/preprod/res/mipmap-hdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/preprod/res/mipmap-mdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/preprod/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/preprod/res/mipmap-mdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/preprod/res/mipmap-mdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/preprod/res/mipmap-xhdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/preprod/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/preprod/res/mipmap-xhdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/preprod/res/mipmap-xhdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/preprod/res/mipmap-xxhdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/preprod/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/preprod/res/mipmap-xxhdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/preprod/res/mipmap-xxhdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/preprod/res/mipmap-xxxhdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/preprod/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/preprod/res/mipmap-xxxhdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/preprod/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/preprod/res/values/ic_launcher_background.xml b/catalyst_voices/apps/voices/android/app/src/preprod/res/values/ic_launcher_background.xml similarity index 100% rename from catalyst_voices/android/app/src/preprod/res/values/ic_launcher_background.xml rename to catalyst_voices/apps/voices/android/app/src/preprod/res/values/ic_launcher_background.xml diff --git a/catalyst_voices/android/app/src/profile/AndroidManifest.xml b/catalyst_voices/apps/voices/android/app/src/profile/AndroidManifest.xml similarity index 100% rename from catalyst_voices/android/app/src/profile/AndroidManifest.xml rename to catalyst_voices/apps/voices/android/app/src/profile/AndroidManifest.xml diff --git a/catalyst_voices/android/app/src/qa/ic_launcher-playstore.png b/catalyst_voices/apps/voices/android/app/src/qa/ic_launcher-playstore.png similarity index 100% rename from catalyst_voices/android/app/src/qa/ic_launcher-playstore.png rename to catalyst_voices/apps/voices/android/app/src/qa/ic_launcher-playstore.png diff --git a/catalyst_voices/android/app/src/qa/res/drawable/ic_launcher_foreground.xml b/catalyst_voices/apps/voices/android/app/src/qa/res/drawable/ic_launcher_foreground.xml similarity index 100% rename from catalyst_voices/android/app/src/qa/res/drawable/ic_launcher_foreground.xml rename to catalyst_voices/apps/voices/android/app/src/qa/res/drawable/ic_launcher_foreground.xml diff --git a/catalyst_voices/android/app/src/qa/res/mipmap-anydpi-v26/ic_launcher.xml b/catalyst_voices/apps/voices/android/app/src/qa/res/mipmap-anydpi-v26/ic_launcher.xml similarity index 100% rename from catalyst_voices/android/app/src/qa/res/mipmap-anydpi-v26/ic_launcher.xml rename to catalyst_voices/apps/voices/android/app/src/qa/res/mipmap-anydpi-v26/ic_launcher.xml diff --git a/catalyst_voices/android/app/src/qa/res/mipmap-anydpi-v26/ic_launcher_round.xml b/catalyst_voices/apps/voices/android/app/src/qa/res/mipmap-anydpi-v26/ic_launcher_round.xml similarity index 100% rename from catalyst_voices/android/app/src/qa/res/mipmap-anydpi-v26/ic_launcher_round.xml rename to catalyst_voices/apps/voices/android/app/src/qa/res/mipmap-anydpi-v26/ic_launcher_round.xml diff --git a/catalyst_voices/android/app/src/qa/res/mipmap-hdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/qa/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/qa/res/mipmap-hdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/qa/res/mipmap-hdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/qa/res/mipmap-mdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/qa/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/qa/res/mipmap-mdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/qa/res/mipmap-mdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/qa/res/mipmap-xhdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/qa/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/qa/res/mipmap-xhdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/qa/res/mipmap-xhdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/qa/res/mipmap-xxhdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/qa/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/qa/res/mipmap-xxhdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/qa/res/mipmap-xxhdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/qa/res/mipmap-xxxhdpi/ic_launcher.png b/catalyst_voices/apps/voices/android/app/src/qa/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/android/app/src/qa/res/mipmap-xxxhdpi/ic_launcher.png rename to catalyst_voices/apps/voices/android/app/src/qa/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/catalyst_voices/android/app/src/qa/res/values/ic_launcher_background.xml b/catalyst_voices/apps/voices/android/app/src/qa/res/values/ic_launcher_background.xml similarity index 100% rename from catalyst_voices/android/app/src/qa/res/values/ic_launcher_background.xml rename to catalyst_voices/apps/voices/android/app/src/qa/res/values/ic_launcher_background.xml diff --git a/catalyst_voices/android/build.gradle b/catalyst_voices/apps/voices/android/build.gradle similarity index 100% rename from catalyst_voices/android/build.gradle rename to catalyst_voices/apps/voices/android/build.gradle diff --git a/catalyst_voices/android/gradle.properties b/catalyst_voices/apps/voices/android/gradle.properties similarity index 100% rename from catalyst_voices/android/gradle.properties rename to catalyst_voices/apps/voices/android/gradle.properties diff --git a/catalyst_voices/android/gradle/wrapper/gradle-wrapper.properties b/catalyst_voices/apps/voices/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from catalyst_voices/android/gradle/wrapper/gradle-wrapper.properties rename to catalyst_voices/apps/voices/android/gradle/wrapper/gradle-wrapper.properties diff --git a/catalyst_voices/android/settings.gradle b/catalyst_voices/apps/voices/android/settings.gradle similarity index 100% rename from catalyst_voices/android/settings.gradle rename to catalyst_voices/apps/voices/android/settings.gradle diff --git a/catalyst_voices/catalyst_voices.iml b/catalyst_voices/apps/voices/catalyst_voices.iml similarity index 100% rename from catalyst_voices/catalyst_voices.iml rename to catalyst_voices/apps/voices/catalyst_voices.iml diff --git a/catalyst_voices/integration_test/app_test.dart b/catalyst_voices/apps/voices/integration_test/app_test.dart similarity index 100% rename from catalyst_voices/integration_test/app_test.dart rename to catalyst_voices/apps/voices/integration_test/app_test.dart diff --git a/catalyst_voices/integration_test/main.dart b/catalyst_voices/apps/voices/integration_test/main.dart similarity index 100% rename from catalyst_voices/integration_test/main.dart rename to catalyst_voices/apps/voices/integration_test/main.dart diff --git a/catalyst_voices/integration_test/scenarios/login_scenario.dart b/catalyst_voices/apps/voices/integration_test/scenarios/login_scenario.dart similarity index 100% rename from catalyst_voices/integration_test/scenarios/login_scenario.dart rename to catalyst_voices/apps/voices/integration_test/scenarios/login_scenario.dart diff --git a/catalyst_voices/integration_test/scenarios/robots/login_robot.dart b/catalyst_voices/apps/voices/integration_test/scenarios/robots/login_robot.dart similarity index 100% rename from catalyst_voices/integration_test/scenarios/robots/login_robot.dart rename to catalyst_voices/apps/voices/integration_test/scenarios/robots/login_robot.dart diff --git a/catalyst_voices/ios/.gitignore b/catalyst_voices/apps/voices/ios/.gitignore similarity index 100% rename from catalyst_voices/ios/.gitignore rename to catalyst_voices/apps/voices/ios/.gitignore diff --git a/catalyst_voices/ios/Flutter/AppFrameworkInfo.plist b/catalyst_voices/apps/voices/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from catalyst_voices/ios/Flutter/AppFrameworkInfo.plist rename to catalyst_voices/apps/voices/ios/Flutter/AppFrameworkInfo.plist diff --git a/catalyst_voices/ios/Flutter/Debug.xcconfig b/catalyst_voices/apps/voices/ios/Flutter/Debug.xcconfig similarity index 100% rename from catalyst_voices/ios/Flutter/Debug.xcconfig rename to catalyst_voices/apps/voices/ios/Flutter/Debug.xcconfig diff --git a/catalyst_voices/ios/Flutter/Release.xcconfig b/catalyst_voices/apps/voices/ios/Flutter/Release.xcconfig similarity index 100% rename from catalyst_voices/ios/Flutter/Release.xcconfig rename to catalyst_voices/apps/voices/ios/Flutter/Release.xcconfig diff --git a/catalyst_voices/ios/Podfile b/catalyst_voices/apps/voices/ios/Podfile similarity index 100% rename from catalyst_voices/ios/Podfile rename to catalyst_voices/apps/voices/ios/Podfile diff --git a/catalyst_voices/ios/Podfile.lock b/catalyst_voices/apps/voices/ios/Podfile.lock similarity index 100% rename from catalyst_voices/ios/Podfile.lock rename to catalyst_voices/apps/voices/ios/Podfile.lock diff --git a/catalyst_voices/ios/Runner.xcodeproj/project.pbxproj b/catalyst_voices/apps/voices/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from catalyst_voices/ios/Runner.xcodeproj/project.pbxproj rename to catalyst_voices/apps/voices/ios/Runner.xcodeproj/project.pbxproj diff --git a/catalyst_voices/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/catalyst_voices/apps/voices/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from catalyst_voices/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/apps/voices/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/catalyst_voices/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/apps/voices/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/apps/voices/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/catalyst_voices/apps/voices/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from catalyst_voices/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to catalyst_voices/apps/voices/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/catalyst_voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/catalyst_voices/apps/voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from catalyst_voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to catalyst_voices/apps/voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/catalyst_voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/dev.xcscheme b/catalyst_voices/apps/voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/dev.xcscheme similarity index 100% rename from catalyst_voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/dev.xcscheme rename to catalyst_voices/apps/voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/dev.xcscheme diff --git a/catalyst_voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/preprod.xcscheme b/catalyst_voices/apps/voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/preprod.xcscheme similarity index 100% rename from catalyst_voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/preprod.xcscheme rename to catalyst_voices/apps/voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/preprod.xcscheme diff --git a/catalyst_voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/prod.xcscheme b/catalyst_voices/apps/voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/prod.xcscheme similarity index 100% rename from catalyst_voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/prod.xcscheme rename to catalyst_voices/apps/voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/prod.xcscheme diff --git a/catalyst_voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/qa.xcscheme b/catalyst_voices/apps/voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/qa.xcscheme similarity index 100% rename from catalyst_voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/qa.xcscheme rename to catalyst_voices/apps/voices/ios/Runner.xcodeproj/xcshareddata/xcschemes/qa.xcscheme diff --git a/catalyst_voices/ios/Runner.xcworkspace/contents.xcworkspacedata b/catalyst_voices/apps/voices/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from catalyst_voices/ios/Runner.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/apps/voices/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/catalyst_voices/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/apps/voices/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/apps/voices/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/catalyst_voices/apps/voices/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from catalyst_voices/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to catalyst_voices/apps/voices/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/catalyst_voices/ios/Runner/AppDelegate.swift b/catalyst_voices/apps/voices/ios/Runner/AppDelegate.swift similarity index 100% rename from catalyst_voices/ios/Runner/AppDelegate.swift rename to catalyst_voices/apps/voices/ios/Runner/AppDelegate.swift diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/100.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/100.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/100.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/100.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/1024.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/1024.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/1024.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/1024.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/114.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/114.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/114.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/114.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/120.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/120.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/120.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/120.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/144.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/144.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/144.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/144.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/152.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/152.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/152.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/152.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/167.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/167.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/167.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/167.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/180.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/180.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/180.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/180.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/20.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/20.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/20.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/20.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/29.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/29.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/29.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/29.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/40.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/40.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/40.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/40.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/50.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/50.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/50.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/50.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/57.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/57.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/57.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/57.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/58.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/58.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/58.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/58.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/60.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/60.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/60.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/60.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/72.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/72.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/72.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/72.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/76.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/76.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/76.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/76.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/80.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/80.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/80.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/80.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/87.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/87.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/87.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/87.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Contents.json b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Contents.json similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Contents.json rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Contents.json diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/100.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/100.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/100.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/100.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/1024.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/1024.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/1024.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/1024.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/114.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/114.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/114.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/114.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/120.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/120.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/120.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/120.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/144.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/144.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/144.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/144.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/152.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/152.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/152.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/152.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/167.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/167.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/167.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/167.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/180.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/180.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/180.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/180.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/20.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/20.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/20.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/20.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/29.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/29.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/29.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/29.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/40.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/40.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/40.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/40.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/50.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/50.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/50.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/50.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/57.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/57.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/57.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/57.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/58.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/58.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/58.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/58.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/60.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/60.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/60.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/60.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/72.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/72.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/72.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/72.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/76.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/76.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/76.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/76.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/80.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/80.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/80.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/80.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/87.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/87.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/87.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/87.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/Contents.json b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/Contents.json similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/Contents.json rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-preprod.appiconset/Contents.json diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/100.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/100.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/100.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/100.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/1024.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/1024.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/1024.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/1024.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/114.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/114.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/114.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/114.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/120.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/120.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/120.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/120.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/144.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/144.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/144.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/144.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/152.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/152.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/152.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/152.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/167.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/167.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/167.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/167.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/180.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/180.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/180.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/180.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/20.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/20.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/20.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/20.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/29.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/29.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/29.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/29.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/40.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/40.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/40.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/40.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/50.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/50.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/50.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/50.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/57.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/57.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/57.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/57.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/58.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/58.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/58.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/58.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/60.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/60.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/60.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/60.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/72.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/72.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/72.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/72.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/76.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/76.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/76.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/76.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/80.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/80.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/80.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/80.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/87.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/87.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/87.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/87.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/Contents.json b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/Contents.json similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/Contents.json rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon-qa.appiconset/Contents.json diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/100.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/100.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/100.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/100.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/1024.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/1024.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/1024.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/1024.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/114.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/114.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/114.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/114.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/120.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/120.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/120.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/120.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/144.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/144.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/144.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/144.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/152.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/152.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/152.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/152.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/167.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/167.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/167.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/167.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/180.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/180.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/180.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/180.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/20.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/20.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/20.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/20.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/29.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/29.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/29.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/29.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/40.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/40.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/40.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/40.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/50.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/50.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/50.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/50.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/57.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/57.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/57.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/57.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/58.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/58.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/58.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/58.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/60.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/60.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/60.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/60.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/72.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/72.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/72.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/72.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/76.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/76.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/76.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/76.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/80.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/80.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/80.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/80.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/87.png b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/87.png similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/87.png rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/87.png diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/catalyst_voices/ios/Runner/Assets.xcassets/Contents.json b/catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/Contents.json similarity index 100% rename from catalyst_voices/ios/Runner/Assets.xcassets/Contents.json rename to catalyst_voices/apps/voices/ios/Runner/Assets.xcassets/Contents.json diff --git a/catalyst_voices/ios/Runner/Base.lproj/LaunchScreen.storyboard b/catalyst_voices/apps/voices/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from catalyst_voices/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to catalyst_voices/apps/voices/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/catalyst_voices/ios/Runner/Base.lproj/Main.storyboard b/catalyst_voices/apps/voices/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from catalyst_voices/ios/Runner/Base.lproj/Main.storyboard rename to catalyst_voices/apps/voices/ios/Runner/Base.lproj/Main.storyboard diff --git a/catalyst_voices/ios/Runner/Info.plist b/catalyst_voices/apps/voices/ios/Runner/Info.plist similarity index 100% rename from catalyst_voices/ios/Runner/Info.plist rename to catalyst_voices/apps/voices/ios/Runner/Info.plist diff --git a/catalyst_voices/ios/Runner/Runner-Bridging-Header.h b/catalyst_voices/apps/voices/ios/Runner/Runner-Bridging-Header.h similarity index 100% rename from catalyst_voices/ios/Runner/Runner-Bridging-Header.h rename to catalyst_voices/apps/voices/ios/Runner/Runner-Bridging-Header.h diff --git a/catalyst_voices/ios/RunnerTests/RunnerTests.m b/catalyst_voices/apps/voices/ios/RunnerTests/RunnerTests.m similarity index 100% rename from catalyst_voices/ios/RunnerTests/RunnerTests.m rename to catalyst_voices/apps/voices/ios/RunnerTests/RunnerTests.m diff --git a/catalyst_voices/lib/app/app.dart b/catalyst_voices/apps/voices/lib/app/app.dart similarity index 100% rename from catalyst_voices/lib/app/app.dart rename to catalyst_voices/apps/voices/lib/app/app.dart diff --git a/catalyst_voices/lib/app/view/app.dart b/catalyst_voices/apps/voices/lib/app/view/app.dart similarity index 100% rename from catalyst_voices/lib/app/view/app.dart rename to catalyst_voices/apps/voices/lib/app/view/app.dart diff --git a/catalyst_voices/lib/app/view/app_content.dart b/catalyst_voices/apps/voices/lib/app/view/app_content.dart similarity index 100% rename from catalyst_voices/lib/app/view/app_content.dart rename to catalyst_voices/apps/voices/lib/app/view/app_content.dart diff --git a/catalyst_voices/lib/app/view/app_precache_image_assets.dart b/catalyst_voices/apps/voices/lib/app/view/app_precache_image_assets.dart similarity index 100% rename from catalyst_voices/lib/app/view/app_precache_image_assets.dart rename to catalyst_voices/apps/voices/lib/app/view/app_precache_image_assets.dart diff --git a/catalyst_voices/lib/app/view/app_session_listener.dart b/catalyst_voices/apps/voices/lib/app/view/app_session_listener.dart similarity index 100% rename from catalyst_voices/lib/app/view/app_session_listener.dart rename to catalyst_voices/apps/voices/lib/app/view/app_session_listener.dart diff --git a/catalyst_voices/lib/common/error_handler.dart b/catalyst_voices/apps/voices/lib/common/error_handler.dart similarity index 100% rename from catalyst_voices/lib/common/error_handler.dart rename to catalyst_voices/apps/voices/lib/common/error_handler.dart diff --git a/catalyst_voices/lib/common/ext/account_role_ext.dart b/catalyst_voices/apps/voices/lib/common/ext/account_role_ext.dart similarity index 100% rename from catalyst_voices/lib/common/ext/account_role_ext.dart rename to catalyst_voices/apps/voices/lib/common/ext/account_role_ext.dart diff --git a/catalyst_voices/lib/common/ext/brand_ext.dart b/catalyst_voices/apps/voices/lib/common/ext/brand_ext.dart similarity index 100% rename from catalyst_voices/lib/common/ext/brand_ext.dart rename to catalyst_voices/apps/voices/lib/common/ext/brand_ext.dart diff --git a/catalyst_voices/lib/common/ext/ext.dart b/catalyst_voices/apps/voices/lib/common/ext/ext.dart similarity index 100% rename from catalyst_voices/lib/common/ext/ext.dart rename to catalyst_voices/apps/voices/lib/common/ext/ext.dart diff --git a/catalyst_voices/lib/common/ext/space_ext.dart b/catalyst_voices/apps/voices/lib/common/ext/space_ext.dart similarity index 100% rename from catalyst_voices/lib/common/ext/space_ext.dart rename to catalyst_voices/apps/voices/lib/common/ext/space_ext.dart diff --git a/catalyst_voices/lib/common/ext/string_ext.dart b/catalyst_voices/apps/voices/lib/common/ext/string_ext.dart similarity index 100% rename from catalyst_voices/lib/common/ext/string_ext.dart rename to catalyst_voices/apps/voices/lib/common/ext/string_ext.dart diff --git a/catalyst_voices/lib/common/formatters/date_formatter.dart b/catalyst_voices/apps/voices/lib/common/formatters/date_formatter.dart similarity index 100% rename from catalyst_voices/lib/common/formatters/date_formatter.dart rename to catalyst_voices/apps/voices/lib/common/formatters/date_formatter.dart diff --git a/catalyst_voices/lib/common/formatters/input_formatters.dart b/catalyst_voices/apps/voices/lib/common/formatters/input_formatters.dart similarity index 100% rename from catalyst_voices/lib/common/formatters/input_formatters.dart rename to catalyst_voices/apps/voices/lib/common/formatters/input_formatters.dart diff --git a/catalyst_voices/lib/configs/app_bloc_observer.dart b/catalyst_voices/apps/voices/lib/configs/app_bloc_observer.dart similarity index 100% rename from catalyst_voices/lib/configs/app_bloc_observer.dart rename to catalyst_voices/apps/voices/lib/configs/app_bloc_observer.dart diff --git a/catalyst_voices/lib/configs/bootstrap.dart b/catalyst_voices/apps/voices/lib/configs/bootstrap.dart similarity index 100% rename from catalyst_voices/lib/configs/bootstrap.dart rename to catalyst_voices/apps/voices/lib/configs/bootstrap.dart diff --git a/catalyst_voices/lib/configs/main_dev.dart b/catalyst_voices/apps/voices/lib/configs/main_dev.dart similarity index 100% rename from catalyst_voices/lib/configs/main_dev.dart rename to catalyst_voices/apps/voices/lib/configs/main_dev.dart diff --git a/catalyst_voices/lib/configs/main_preprod.dart b/catalyst_voices/apps/voices/lib/configs/main_preprod.dart similarity index 100% rename from catalyst_voices/lib/configs/main_preprod.dart rename to catalyst_voices/apps/voices/lib/configs/main_preprod.dart diff --git a/catalyst_voices/lib/configs/main_prod.dart b/catalyst_voices/apps/voices/lib/configs/main_prod.dart similarity index 100% rename from catalyst_voices/lib/configs/main_prod.dart rename to catalyst_voices/apps/voices/lib/configs/main_prod.dart diff --git a/catalyst_voices/lib/configs/main_qa.dart b/catalyst_voices/apps/voices/lib/configs/main_qa.dart similarity index 100% rename from catalyst_voices/lib/configs/main_qa.dart rename to catalyst_voices/apps/voices/lib/configs/main_qa.dart diff --git a/catalyst_voices/lib/configs/main_web.dart b/catalyst_voices/apps/voices/lib/configs/main_web.dart similarity index 100% rename from catalyst_voices/lib/configs/main_web.dart rename to catalyst_voices/apps/voices/lib/configs/main_web.dart diff --git a/catalyst_voices/lib/configs/sentry_service.dart b/catalyst_voices/apps/voices/lib/configs/sentry_service.dart similarity index 100% rename from catalyst_voices/lib/configs/sentry_service.dart rename to catalyst_voices/apps/voices/lib/configs/sentry_service.dart diff --git a/catalyst_voices/lib/dependency/dependencies.dart b/catalyst_voices/apps/voices/lib/dependency/dependencies.dart similarity index 100% rename from catalyst_voices/lib/dependency/dependencies.dart rename to catalyst_voices/apps/voices/lib/dependency/dependencies.dart diff --git a/catalyst_voices/lib/pages/account/account.dart b/catalyst_voices/apps/voices/lib/pages/account/account.dart similarity index 100% rename from catalyst_voices/lib/pages/account/account.dart rename to catalyst_voices/apps/voices/lib/pages/account/account.dart diff --git a/catalyst_voices/lib/pages/account/account_page.dart b/catalyst_voices/apps/voices/lib/pages/account/account_page.dart similarity index 100% rename from catalyst_voices/lib/pages/account/account_page.dart rename to catalyst_voices/apps/voices/lib/pages/account/account_page.dart diff --git a/catalyst_voices/lib/pages/account/account_page_header.dart b/catalyst_voices/apps/voices/lib/pages/account/account_page_header.dart similarity index 100% rename from catalyst_voices/lib/pages/account/account_page_header.dart rename to catalyst_voices/apps/voices/lib/pages/account/account_page_header.dart diff --git a/catalyst_voices/lib/pages/account/account_popup.dart b/catalyst_voices/apps/voices/lib/pages/account/account_popup.dart similarity index 100% rename from catalyst_voices/lib/pages/account/account_popup.dart rename to catalyst_voices/apps/voices/lib/pages/account/account_popup.dart diff --git a/catalyst_voices/lib/pages/account/delete_keychain_dialog.dart b/catalyst_voices/apps/voices/lib/pages/account/delete_keychain_dialog.dart similarity index 100% rename from catalyst_voices/lib/pages/account/delete_keychain_dialog.dart rename to catalyst_voices/apps/voices/lib/pages/account/delete_keychain_dialog.dart diff --git a/catalyst_voices/lib/pages/account/keychain_deleted_dialog.dart b/catalyst_voices/apps/voices/lib/pages/account/keychain_deleted_dialog.dart similarity index 100% rename from catalyst_voices/lib/pages/account/keychain_deleted_dialog.dart rename to catalyst_voices/apps/voices/lib/pages/account/keychain_deleted_dialog.dart diff --git a/catalyst_voices/lib/pages/account/unlock_keychain_dialog.dart b/catalyst_voices/apps/voices/lib/pages/account/unlock_keychain_dialog.dart similarity index 100% rename from catalyst_voices/lib/pages/account/unlock_keychain_dialog.dart rename to catalyst_voices/apps/voices/lib/pages/account/unlock_keychain_dialog.dart diff --git a/catalyst_voices/lib/pages/coming_soon/coming_soon.dart b/catalyst_voices/apps/voices/lib/pages/coming_soon/coming_soon.dart similarity index 100% rename from catalyst_voices/lib/pages/coming_soon/coming_soon.dart rename to catalyst_voices/apps/voices/lib/pages/coming_soon/coming_soon.dart diff --git a/catalyst_voices/lib/pages/coming_soon/coming_soon_page.dart b/catalyst_voices/apps/voices/lib/pages/coming_soon/coming_soon_page.dart similarity index 100% rename from catalyst_voices/lib/pages/coming_soon/coming_soon_page.dart rename to catalyst_voices/apps/voices/lib/pages/coming_soon/coming_soon_page.dart diff --git a/catalyst_voices/lib/pages/coming_soon/description.dart b/catalyst_voices/apps/voices/lib/pages/coming_soon/description.dart similarity index 100% rename from catalyst_voices/lib/pages/coming_soon/description.dart rename to catalyst_voices/apps/voices/lib/pages/coming_soon/description.dart diff --git a/catalyst_voices/lib/pages/coming_soon/logo.dart b/catalyst_voices/apps/voices/lib/pages/coming_soon/logo.dart similarity index 100% rename from catalyst_voices/lib/pages/coming_soon/logo.dart rename to catalyst_voices/apps/voices/lib/pages/coming_soon/logo.dart diff --git a/catalyst_voices/lib/pages/coming_soon/title.dart b/catalyst_voices/apps/voices/lib/pages/coming_soon/title.dart similarity index 100% rename from catalyst_voices/lib/pages/coming_soon/title.dart rename to catalyst_voices/apps/voices/lib/pages/coming_soon/title.dart diff --git a/catalyst_voices/lib/pages/discovery/current_status_text.dart b/catalyst_voices/apps/voices/lib/pages/discovery/current_status_text.dart similarity index 100% rename from catalyst_voices/lib/pages/discovery/current_status_text.dart rename to catalyst_voices/apps/voices/lib/pages/discovery/current_status_text.dart diff --git a/catalyst_voices/lib/pages/discovery/discovery.dart b/catalyst_voices/apps/voices/lib/pages/discovery/discovery.dart similarity index 100% rename from catalyst_voices/lib/pages/discovery/discovery.dart rename to catalyst_voices/apps/voices/lib/pages/discovery/discovery.dart diff --git a/catalyst_voices/lib/pages/discovery/discovery_page.dart b/catalyst_voices/apps/voices/lib/pages/discovery/discovery_page.dart similarity index 100% rename from catalyst_voices/lib/pages/discovery/discovery_page.dart rename to catalyst_voices/apps/voices/lib/pages/discovery/discovery_page.dart diff --git a/catalyst_voices/lib/pages/discovery/toggle_state_text.dart b/catalyst_voices/apps/voices/lib/pages/discovery/toggle_state_text.dart similarity index 100% rename from catalyst_voices/lib/pages/discovery/toggle_state_text.dart rename to catalyst_voices/apps/voices/lib/pages/discovery/toggle_state_text.dart diff --git a/catalyst_voices/lib/pages/funded_projects/funded_projects.dart b/catalyst_voices/apps/voices/lib/pages/funded_projects/funded_projects.dart similarity index 100% rename from catalyst_voices/lib/pages/funded_projects/funded_projects.dart rename to catalyst_voices/apps/voices/lib/pages/funded_projects/funded_projects.dart diff --git a/catalyst_voices/lib/pages/funded_projects/funded_projects_page.dart b/catalyst_voices/apps/voices/lib/pages/funded_projects/funded_projects_page.dart similarity index 100% rename from catalyst_voices/lib/pages/funded_projects/funded_projects_page.dart rename to catalyst_voices/apps/voices/lib/pages/funded_projects/funded_projects_page.dart diff --git a/catalyst_voices/lib/pages/login/login.dart b/catalyst_voices/apps/voices/lib/pages/login/login.dart similarity index 100% rename from catalyst_voices/lib/pages/login/login.dart rename to catalyst_voices/apps/voices/lib/pages/login/login.dart diff --git a/catalyst_voices/lib/pages/login/login_button.dart b/catalyst_voices/apps/voices/lib/pages/login/login_button.dart similarity index 100% rename from catalyst_voices/lib/pages/login/login_button.dart rename to catalyst_voices/apps/voices/lib/pages/login/login_button.dart diff --git a/catalyst_voices/lib/pages/login/login_email_text_filed.dart b/catalyst_voices/apps/voices/lib/pages/login/login_email_text_filed.dart similarity index 100% rename from catalyst_voices/lib/pages/login/login_email_text_filed.dart rename to catalyst_voices/apps/voices/lib/pages/login/login_email_text_filed.dart diff --git a/catalyst_voices/lib/pages/login/login_form.dart b/catalyst_voices/apps/voices/lib/pages/login/login_form.dart similarity index 100% rename from catalyst_voices/lib/pages/login/login_form.dart rename to catalyst_voices/apps/voices/lib/pages/login/login_form.dart diff --git a/catalyst_voices/lib/pages/login/login_page.dart b/catalyst_voices/apps/voices/lib/pages/login/login_page.dart similarity index 100% rename from catalyst_voices/lib/pages/login/login_page.dart rename to catalyst_voices/apps/voices/lib/pages/login/login_page.dart diff --git a/catalyst_voices/lib/pages/login/login_password_text_field.dart b/catalyst_voices/apps/voices/lib/pages/login/login_password_text_field.dart similarity index 100% rename from catalyst_voices/lib/pages/login/login_password_text_field.dart rename to catalyst_voices/apps/voices/lib/pages/login/login_password_text_field.dart diff --git a/catalyst_voices/lib/pages/overall_spaces/back_fab.dart b/catalyst_voices/apps/voices/lib/pages/overall_spaces/back_fab.dart similarity index 100% rename from catalyst_voices/lib/pages/overall_spaces/back_fab.dart rename to catalyst_voices/apps/voices/lib/pages/overall_spaces/back_fab.dart diff --git a/catalyst_voices/lib/pages/overall_spaces/brands_navigation.dart b/catalyst_voices/apps/voices/lib/pages/overall_spaces/brands_navigation.dart similarity index 100% rename from catalyst_voices/lib/pages/overall_spaces/brands_navigation.dart rename to catalyst_voices/apps/voices/lib/pages/overall_spaces/brands_navigation.dart diff --git a/catalyst_voices/lib/pages/overall_spaces/overall_spaces.dart b/catalyst_voices/apps/voices/lib/pages/overall_spaces/overall_spaces.dart similarity index 100% rename from catalyst_voices/lib/pages/overall_spaces/overall_spaces.dart rename to catalyst_voices/apps/voices/lib/pages/overall_spaces/overall_spaces.dart diff --git a/catalyst_voices/lib/pages/overall_spaces/overall_spaces_page.dart b/catalyst_voices/apps/voices/lib/pages/overall_spaces/overall_spaces_page.dart similarity index 100% rename from catalyst_voices/lib/pages/overall_spaces/overall_spaces_page.dart rename to catalyst_voices/apps/voices/lib/pages/overall_spaces/overall_spaces_page.dart diff --git a/catalyst_voices/lib/pages/overall_spaces/space/discovery_overview.dart b/catalyst_voices/apps/voices/lib/pages/overall_spaces/space/discovery_overview.dart similarity index 100% rename from catalyst_voices/lib/pages/overall_spaces/space/discovery_overview.dart rename to catalyst_voices/apps/voices/lib/pages/overall_spaces/space/discovery_overview.dart diff --git a/catalyst_voices/lib/pages/overall_spaces/space/funded_projects_overview.dart b/catalyst_voices/apps/voices/lib/pages/overall_spaces/space/funded_projects_overview.dart similarity index 100% rename from catalyst_voices/lib/pages/overall_spaces/space/funded_projects_overview.dart rename to catalyst_voices/apps/voices/lib/pages/overall_spaces/space/funded_projects_overview.dart diff --git a/catalyst_voices/lib/pages/overall_spaces/space/space_overview_header.dart b/catalyst_voices/apps/voices/lib/pages/overall_spaces/space/space_overview_header.dart similarity index 100% rename from catalyst_voices/lib/pages/overall_spaces/space/space_overview_header.dart rename to catalyst_voices/apps/voices/lib/pages/overall_spaces/space/space_overview_header.dart diff --git a/catalyst_voices/lib/pages/overall_spaces/space/space_overview_nav_tile.dart b/catalyst_voices/apps/voices/lib/pages/overall_spaces/space/space_overview_nav_tile.dart similarity index 100% rename from catalyst_voices/lib/pages/overall_spaces/space/space_overview_nav_tile.dart rename to catalyst_voices/apps/voices/lib/pages/overall_spaces/space/space_overview_nav_tile.dart diff --git a/catalyst_voices/lib/pages/overall_spaces/space/treasury_overview.dart b/catalyst_voices/apps/voices/lib/pages/overall_spaces/space/treasury_overview.dart similarity index 100% rename from catalyst_voices/lib/pages/overall_spaces/space/treasury_overview.dart rename to catalyst_voices/apps/voices/lib/pages/overall_spaces/space/treasury_overview.dart diff --git a/catalyst_voices/lib/pages/overall_spaces/space/voting_overview.dart b/catalyst_voices/apps/voices/lib/pages/overall_spaces/space/voting_overview.dart similarity index 100% rename from catalyst_voices/lib/pages/overall_spaces/space/voting_overview.dart rename to catalyst_voices/apps/voices/lib/pages/overall_spaces/space/voting_overview.dart diff --git a/catalyst_voices/lib/pages/overall_spaces/space/workspace_overview.dart b/catalyst_voices/apps/voices/lib/pages/overall_spaces/space/workspace_overview.dart similarity index 100% rename from catalyst_voices/lib/pages/overall_spaces/space/workspace_overview.dart rename to catalyst_voices/apps/voices/lib/pages/overall_spaces/space/workspace_overview.dart diff --git a/catalyst_voices/lib/pages/overall_spaces/space_overview_container.dart b/catalyst_voices/apps/voices/lib/pages/overall_spaces/space_overview_container.dart similarity index 100% rename from catalyst_voices/lib/pages/overall_spaces/space_overview_container.dart rename to catalyst_voices/apps/voices/lib/pages/overall_spaces/space_overview_container.dart diff --git a/catalyst_voices/lib/pages/overall_spaces/spaces_overview_list_view.dart b/catalyst_voices/apps/voices/lib/pages/overall_spaces/spaces_overview_list_view.dart similarity index 100% rename from catalyst_voices/lib/pages/overall_spaces/spaces_overview_list_view.dart rename to catalyst_voices/apps/voices/lib/pages/overall_spaces/spaces_overview_list_view.dart diff --git a/catalyst_voices/lib/pages/overall_spaces/update_ready.dart b/catalyst_voices/apps/voices/lib/pages/overall_spaces/update_ready.dart similarity index 100% rename from catalyst_voices/lib/pages/overall_spaces/update_ready.dart rename to catalyst_voices/apps/voices/lib/pages/overall_spaces/update_ready.dart diff --git a/catalyst_voices/lib/pages/registration/account_completed/account_completed_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/account_completed/account_completed_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/account_completed/account_completed_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/account_completed/account_completed_panel.dart diff --git a/catalyst_voices/lib/pages/registration/bloc_registration_builder.dart b/catalyst_voices/apps/voices/lib/pages/registration/bloc_registration_builder.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/bloc_registration_builder.dart rename to catalyst_voices/apps/voices/lib/pages/registration/bloc_registration_builder.dart diff --git a/catalyst_voices/lib/pages/registration/bloc_unlock_password_builder.dart b/catalyst_voices/apps/voices/lib/pages/registration/bloc_unlock_password_builder.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/bloc_unlock_password_builder.dart rename to catalyst_voices/apps/voices/lib/pages/registration/bloc_unlock_password_builder.dart diff --git a/catalyst_voices/lib/pages/registration/create_keychain/bloc_seed_phrase_builder.dart b/catalyst_voices/apps/voices/lib/pages/registration/create_keychain/bloc_seed_phrase_builder.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/create_keychain/bloc_seed_phrase_builder.dart rename to catalyst_voices/apps/voices/lib/pages/registration/create_keychain/bloc_seed_phrase_builder.dart diff --git a/catalyst_voices/lib/pages/registration/create_keychain/create_keychain_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/create_keychain/create_keychain_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/create_keychain/create_keychain_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/create_keychain/create_keychain_panel.dart diff --git a/catalyst_voices/lib/pages/registration/create_keychain/stage/instructions_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/instructions_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/create_keychain/stage/instructions_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/instructions_panel.dart diff --git a/catalyst_voices/lib/pages/registration/create_keychain/stage/seed_phrase_check_instructions_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/seed_phrase_check_instructions_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/create_keychain/stage/seed_phrase_check_instructions_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/seed_phrase_check_instructions_panel.dart diff --git a/catalyst_voices/lib/pages/registration/create_keychain/stage/seed_phrase_check_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/seed_phrase_check_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/create_keychain/stage/seed_phrase_check_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/seed_phrase_check_panel.dart diff --git a/catalyst_voices/lib/pages/registration/create_keychain/stage/seed_phrase_check_result_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/seed_phrase_check_result_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/create_keychain/stage/seed_phrase_check_result_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/seed_phrase_check_result_panel.dart diff --git a/catalyst_voices/lib/pages/registration/create_keychain/stage/seed_phrase_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/seed_phrase_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/create_keychain/stage/seed_phrase_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/seed_phrase_panel.dart diff --git a/catalyst_voices/lib/pages/registration/create_keychain/stage/splash_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/splash_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/create_keychain/stage/splash_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/splash_panel.dart diff --git a/catalyst_voices/lib/pages/registration/create_keychain/stage/unlock_password_instructions_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/unlock_password_instructions_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/create_keychain/stage/unlock_password_instructions_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/unlock_password_instructions_panel.dart diff --git a/catalyst_voices/lib/pages/registration/create_keychain/stage/unlock_password_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/unlock_password_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/create_keychain/stage/unlock_password_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/create_keychain/stage/unlock_password_panel.dart diff --git a/catalyst_voices/lib/pages/registration/finish_account/finish_account_creation_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/finish_account/finish_account_creation_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/finish_account/finish_account_creation_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/finish_account/finish_account_creation_panel.dart diff --git a/catalyst_voices/lib/pages/registration/get_started/get_started_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/get_started/get_started_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/get_started/get_started_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/get_started/get_started_panel.dart diff --git a/catalyst_voices/lib/pages/registration/incorrect_seed_phrase_dialog.dart b/catalyst_voices/apps/voices/lib/pages/registration/incorrect_seed_phrase_dialog.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/incorrect_seed_phrase_dialog.dart rename to catalyst_voices/apps/voices/lib/pages/registration/incorrect_seed_phrase_dialog.dart diff --git a/catalyst_voices/lib/pages/registration/pictures/account_completed_picture.dart b/catalyst_voices/apps/voices/lib/pages/registration/pictures/account_completed_picture.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/pictures/account_completed_picture.dart rename to catalyst_voices/apps/voices/lib/pages/registration/pictures/account_completed_picture.dart diff --git a/catalyst_voices/lib/pages/registration/pictures/keychain_picture.dart b/catalyst_voices/apps/voices/lib/pages/registration/pictures/keychain_picture.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/pictures/keychain_picture.dart rename to catalyst_voices/apps/voices/lib/pages/registration/pictures/keychain_picture.dart diff --git a/catalyst_voices/lib/pages/registration/pictures/keychain_with_password_picture.dart b/catalyst_voices/apps/voices/lib/pages/registration/pictures/keychain_with_password_picture.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/pictures/keychain_with_password_picture.dart rename to catalyst_voices/apps/voices/lib/pages/registration/pictures/keychain_with_password_picture.dart diff --git a/catalyst_voices/lib/pages/registration/pictures/password_picture.dart b/catalyst_voices/apps/voices/lib/pages/registration/pictures/password_picture.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/pictures/password_picture.dart rename to catalyst_voices/apps/voices/lib/pages/registration/pictures/password_picture.dart diff --git a/catalyst_voices/lib/pages/registration/pictures/seed_phrase_picture.dart b/catalyst_voices/apps/voices/lib/pages/registration/pictures/seed_phrase_picture.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/pictures/seed_phrase_picture.dart rename to catalyst_voices/apps/voices/lib/pages/registration/pictures/seed_phrase_picture.dart diff --git a/catalyst_voices/lib/pages/registration/pictures/task_picture.dart b/catalyst_voices/apps/voices/lib/pages/registration/pictures/task_picture.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/pictures/task_picture.dart rename to catalyst_voices/apps/voices/lib/pages/registration/pictures/task_picture.dart diff --git a/catalyst_voices/lib/pages/registration/pictures/unlock_keychain_picture.dart b/catalyst_voices/apps/voices/lib/pages/registration/pictures/unlock_keychain_picture.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/pictures/unlock_keychain_picture.dart rename to catalyst_voices/apps/voices/lib/pages/registration/pictures/unlock_keychain_picture.dart diff --git a/catalyst_voices/lib/pages/registration/recover/bloc_recover_builder.dart b/catalyst_voices/apps/voices/lib/pages/registration/recover/bloc_recover_builder.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/recover/bloc_recover_builder.dart rename to catalyst_voices/apps/voices/lib/pages/registration/recover/bloc_recover_builder.dart diff --git a/catalyst_voices/lib/pages/registration/recover/recover_method_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/recover/recover_method_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/recover/recover_method_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/recover/recover_method_panel.dart diff --git a/catalyst_voices/lib/pages/registration/recover/recover_seed_phrase_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/recover/recover_seed_phrase_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/recover/recover_seed_phrase_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/recover/recover_seed_phrase_panel.dart diff --git a/catalyst_voices/lib/pages/registration/recover/seed_phrase/account_details_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/recover/seed_phrase/account_details_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/recover/seed_phrase/account_details_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/recover/seed_phrase/account_details_panel.dart diff --git a/catalyst_voices/lib/pages/registration/recover/seed_phrase/restored_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/recover/seed_phrase/restored_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/recover/seed_phrase/restored_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/recover/seed_phrase/restored_panel.dart diff --git a/catalyst_voices/lib/pages/registration/recover/seed_phrase/seed_phrase_input_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/recover/seed_phrase/seed_phrase_input_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/recover/seed_phrase/seed_phrase_input_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/recover/seed_phrase/seed_phrase_input_panel.dart diff --git a/catalyst_voices/lib/pages/registration/recover/seed_phrase/seed_phrase_instructions_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/recover/seed_phrase/seed_phrase_instructions_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/recover/seed_phrase/seed_phrase_instructions_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/recover/seed_phrase/seed_phrase_instructions_panel.dart diff --git a/catalyst_voices/lib/pages/registration/recover/seed_phrase/unlock_password_instructions_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/recover/seed_phrase/unlock_password_instructions_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/recover/seed_phrase/unlock_password_instructions_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/recover/seed_phrase/unlock_password_instructions_panel.dart diff --git a/catalyst_voices/lib/pages/registration/recover/seed_phrase/unlock_password_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/recover/seed_phrase/unlock_password_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/recover/seed_phrase/unlock_password_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/recover/seed_phrase/unlock_password_panel.dart diff --git a/catalyst_voices/lib/pages/registration/registration_details_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/registration_details_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/registration_details_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/registration_details_panel.dart diff --git a/catalyst_voices/lib/pages/registration/registration_dialog.dart b/catalyst_voices/apps/voices/lib/pages/registration/registration_dialog.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/registration_dialog.dart rename to catalyst_voices/apps/voices/lib/pages/registration/registration_dialog.dart diff --git a/catalyst_voices/lib/pages/registration/registration_info_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/registration_info_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/registration_info_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/registration_info_panel.dart diff --git a/catalyst_voices/lib/pages/registration/upload_seed_phrase_confirmation_dialog.dart b/catalyst_voices/apps/voices/lib/pages/registration/upload_seed_phrase_confirmation_dialog.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/upload_seed_phrase_confirmation_dialog.dart rename to catalyst_voices/apps/voices/lib/pages/registration/upload_seed_phrase_confirmation_dialog.dart diff --git a/catalyst_voices/lib/pages/registration/upload_seed_phrase_dialog.dart b/catalyst_voices/apps/voices/lib/pages/registration/upload_seed_phrase_dialog.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/upload_seed_phrase_dialog.dart rename to catalyst_voices/apps/voices/lib/pages/registration/upload_seed_phrase_dialog.dart diff --git a/catalyst_voices/lib/pages/registration/wallet_link/account_role_dialog.dart b/catalyst_voices/apps/voices/lib/pages/registration/wallet_link/account_role_dialog.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/wallet_link/account_role_dialog.dart rename to catalyst_voices/apps/voices/lib/pages/registration/wallet_link/account_role_dialog.dart diff --git a/catalyst_voices/lib/pages/registration/wallet_link/bloc_wallet_link_builder.dart b/catalyst_voices/apps/voices/lib/pages/registration/wallet_link/bloc_wallet_link_builder.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/wallet_link/bloc_wallet_link_builder.dart rename to catalyst_voices/apps/voices/lib/pages/registration/wallet_link/bloc_wallet_link_builder.dart diff --git a/catalyst_voices/lib/pages/registration/wallet_link/stage/intro_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/wallet_link/stage/intro_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/wallet_link/stage/intro_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/wallet_link/stage/intro_panel.dart diff --git a/catalyst_voices/lib/pages/registration/wallet_link/stage/rbac_transaction_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/wallet_link/stage/rbac_transaction_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/wallet_link/stage/rbac_transaction_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/wallet_link/stage/rbac_transaction_panel.dart diff --git a/catalyst_voices/lib/pages/registration/wallet_link/stage/roles_chooser_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/wallet_link/stage/roles_chooser_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/wallet_link/stage/roles_chooser_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/wallet_link/stage/roles_chooser_panel.dart diff --git a/catalyst_voices/lib/pages/registration/wallet_link/stage/roles_summary_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/wallet_link/stage/roles_summary_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/wallet_link/stage/roles_summary_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/wallet_link/stage/roles_summary_panel.dart diff --git a/catalyst_voices/lib/pages/registration/wallet_link/stage/select_wallet_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/wallet_link/stage/select_wallet_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/wallet_link/stage/select_wallet_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/wallet_link/stage/select_wallet_panel.dart diff --git a/catalyst_voices/lib/pages/registration/wallet_link/stage/wallet_details_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/wallet_link/stage/wallet_details_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/wallet_link/stage/wallet_details_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/wallet_link/stage/wallet_details_panel.dart diff --git a/catalyst_voices/lib/pages/registration/wallet_link/wallet_link_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/wallet_link/wallet_link_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/wallet_link/wallet_link_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/wallet_link/wallet_link_panel.dart diff --git a/catalyst_voices/lib/pages/registration/widgets/exit_confirm_dialog.dart b/catalyst_voices/apps/voices/lib/pages/registration/widgets/exit_confirm_dialog.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/widgets/exit_confirm_dialog.dart rename to catalyst_voices/apps/voices/lib/pages/registration/widgets/exit_confirm_dialog.dart diff --git a/catalyst_voices/lib/pages/registration/widgets/information_panel.dart b/catalyst_voices/apps/voices/lib/pages/registration/widgets/information_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/widgets/information_panel.dart rename to catalyst_voices/apps/voices/lib/pages/registration/widgets/information_panel.dart diff --git a/catalyst_voices/lib/pages/registration/widgets/next_step.dart b/catalyst_voices/apps/voices/lib/pages/registration/widgets/next_step.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/widgets/next_step.dart rename to catalyst_voices/apps/voices/lib/pages/registration/widgets/next_step.dart diff --git a/catalyst_voices/lib/pages/registration/widgets/registration_progress.dart b/catalyst_voices/apps/voices/lib/pages/registration/widgets/registration_progress.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/widgets/registration_progress.dart rename to catalyst_voices/apps/voices/lib/pages/registration/widgets/registration_progress.dart diff --git a/catalyst_voices/lib/pages/registration/widgets/registration_stage_message.dart b/catalyst_voices/apps/voices/lib/pages/registration/widgets/registration_stage_message.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/widgets/registration_stage_message.dart rename to catalyst_voices/apps/voices/lib/pages/registration/widgets/registration_stage_message.dart diff --git a/catalyst_voices/lib/pages/registration/widgets/registration_stage_navigation.dart b/catalyst_voices/apps/voices/lib/pages/registration/widgets/registration_stage_navigation.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/widgets/registration_stage_navigation.dart rename to catalyst_voices/apps/voices/lib/pages/registration/widgets/registration_stage_navigation.dart diff --git a/catalyst_voices/lib/pages/registration/widgets/registration_tile.dart b/catalyst_voices/apps/voices/lib/pages/registration/widgets/registration_tile.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/widgets/registration_tile.dart rename to catalyst_voices/apps/voices/lib/pages/registration/widgets/registration_tile.dart diff --git a/catalyst_voices/lib/pages/registration/widgets/seed_phrase_actions.dart b/catalyst_voices/apps/voices/lib/pages/registration/widgets/seed_phrase_actions.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/widgets/seed_phrase_actions.dart rename to catalyst_voices/apps/voices/lib/pages/registration/widgets/seed_phrase_actions.dart diff --git a/catalyst_voices/lib/pages/registration/widgets/unlock_password_form.dart b/catalyst_voices/apps/voices/lib/pages/registration/widgets/unlock_password_form.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/widgets/unlock_password_form.dart rename to catalyst_voices/apps/voices/lib/pages/registration/widgets/unlock_password_form.dart diff --git a/catalyst_voices/lib/pages/registration/widgets/wallet_connection_status.dart b/catalyst_voices/apps/voices/lib/pages/registration/widgets/wallet_connection_status.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/widgets/wallet_connection_status.dart rename to catalyst_voices/apps/voices/lib/pages/registration/widgets/wallet_connection_status.dart diff --git a/catalyst_voices/lib/pages/registration/widgets/wallet_summary.dart b/catalyst_voices/apps/voices/lib/pages/registration/widgets/wallet_summary.dart similarity index 100% rename from catalyst_voices/lib/pages/registration/widgets/wallet_summary.dart rename to catalyst_voices/apps/voices/lib/pages/registration/widgets/wallet_summary.dart diff --git a/catalyst_voices/lib/pages/spaces/appbar/spaces_theme_mode_switch.dart b/catalyst_voices/apps/voices/lib/pages/spaces/appbar/spaces_theme_mode_switch.dart similarity index 100% rename from catalyst_voices/lib/pages/spaces/appbar/spaces_theme_mode_switch.dart rename to catalyst_voices/apps/voices/lib/pages/spaces/appbar/spaces_theme_mode_switch.dart diff --git a/catalyst_voices/lib/pages/spaces/drawer/discovery_menu.dart b/catalyst_voices/apps/voices/lib/pages/spaces/drawer/discovery_menu.dart similarity index 100% rename from catalyst_voices/lib/pages/spaces/drawer/discovery_menu.dart rename to catalyst_voices/apps/voices/lib/pages/spaces/drawer/discovery_menu.dart diff --git a/catalyst_voices/lib/pages/spaces/drawer/guest_menu.dart b/catalyst_voices/apps/voices/lib/pages/spaces/drawer/guest_menu.dart similarity index 100% rename from catalyst_voices/lib/pages/spaces/drawer/guest_menu.dart rename to catalyst_voices/apps/voices/lib/pages/spaces/drawer/guest_menu.dart diff --git a/catalyst_voices/lib/pages/spaces/drawer/individual_private_campaigns.dart b/catalyst_voices/apps/voices/lib/pages/spaces/drawer/individual_private_campaigns.dart similarity index 100% rename from catalyst_voices/lib/pages/spaces/drawer/individual_private_campaigns.dart rename to catalyst_voices/apps/voices/lib/pages/spaces/drawer/individual_private_campaigns.dart diff --git a/catalyst_voices/lib/pages/spaces/drawer/my_private_proposals.dart b/catalyst_voices/apps/voices/lib/pages/spaces/drawer/my_private_proposals.dart similarity index 100% rename from catalyst_voices/lib/pages/spaces/drawer/my_private_proposals.dart rename to catalyst_voices/apps/voices/lib/pages/spaces/drawer/my_private_proposals.dart diff --git a/catalyst_voices/lib/pages/spaces/drawer/space_header.dart b/catalyst_voices/apps/voices/lib/pages/spaces/drawer/space_header.dart similarity index 100% rename from catalyst_voices/lib/pages/spaces/drawer/space_header.dart rename to catalyst_voices/apps/voices/lib/pages/spaces/drawer/space_header.dart diff --git a/catalyst_voices/lib/pages/spaces/drawer/spaces_drawer.dart b/catalyst_voices/apps/voices/lib/pages/spaces/drawer/spaces_drawer.dart similarity index 100% rename from catalyst_voices/lib/pages/spaces/drawer/spaces_drawer.dart rename to catalyst_voices/apps/voices/lib/pages/spaces/drawer/spaces_drawer.dart diff --git a/catalyst_voices/lib/pages/spaces/drawer/voting_rounds.dart b/catalyst_voices/apps/voices/lib/pages/spaces/drawer/voting_rounds.dart similarity index 100% rename from catalyst_voices/lib/pages/spaces/drawer/voting_rounds.dart rename to catalyst_voices/apps/voices/lib/pages/spaces/drawer/voting_rounds.dart diff --git a/catalyst_voices/lib/pages/spaces/spaces.dart b/catalyst_voices/apps/voices/lib/pages/spaces/spaces.dart similarity index 100% rename from catalyst_voices/lib/pages/spaces/spaces.dart rename to catalyst_voices/apps/voices/lib/pages/spaces/spaces.dart diff --git a/catalyst_voices/lib/pages/spaces/spaces_shell_page.dart b/catalyst_voices/apps/voices/lib/pages/spaces/spaces_shell_page.dart similarity index 100% rename from catalyst_voices/lib/pages/spaces/spaces_shell_page.dart rename to catalyst_voices/apps/voices/lib/pages/spaces/spaces_shell_page.dart diff --git a/catalyst_voices/lib/pages/treasury/campaign_builder_panel.dart b/catalyst_voices/apps/voices/lib/pages/treasury/campaign_builder_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/treasury/campaign_builder_panel.dart rename to catalyst_voices/apps/voices/lib/pages/treasury/campaign_builder_panel.dart diff --git a/catalyst_voices/lib/pages/treasury/campaign_comments_panel.dart b/catalyst_voices/apps/voices/lib/pages/treasury/campaign_comments_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/treasury/campaign_comments_panel.dart rename to catalyst_voices/apps/voices/lib/pages/treasury/campaign_comments_panel.dart diff --git a/catalyst_voices/lib/pages/treasury/campaign_details.dart b/catalyst_voices/apps/voices/lib/pages/treasury/campaign_details.dart similarity index 100% rename from catalyst_voices/lib/pages/treasury/campaign_details.dart rename to catalyst_voices/apps/voices/lib/pages/treasury/campaign_details.dart diff --git a/catalyst_voices/lib/pages/treasury/campaign_segment_controller.dart b/catalyst_voices/apps/voices/lib/pages/treasury/campaign_segment_controller.dart similarity index 100% rename from catalyst_voices/lib/pages/treasury/campaign_segment_controller.dart rename to catalyst_voices/apps/voices/lib/pages/treasury/campaign_segment_controller.dart diff --git a/catalyst_voices/lib/pages/treasury/treasury.dart b/catalyst_voices/apps/voices/lib/pages/treasury/treasury.dart similarity index 100% rename from catalyst_voices/lib/pages/treasury/treasury.dart rename to catalyst_voices/apps/voices/lib/pages/treasury/treasury.dart diff --git a/catalyst_voices/lib/pages/treasury/treasury_campaign_builder_ext.dart b/catalyst_voices/apps/voices/lib/pages/treasury/treasury_campaign_builder_ext.dart similarity index 100% rename from catalyst_voices/lib/pages/treasury/treasury_campaign_builder_ext.dart rename to catalyst_voices/apps/voices/lib/pages/treasury/treasury_campaign_builder_ext.dart diff --git a/catalyst_voices/lib/pages/treasury/treasury_page.dart b/catalyst_voices/apps/voices/lib/pages/treasury/treasury_page.dart similarity index 100% rename from catalyst_voices/lib/pages/treasury/treasury_page.dart rename to catalyst_voices/apps/voices/lib/pages/treasury/treasury_page.dart diff --git a/catalyst_voices/lib/pages/voting/voting.dart b/catalyst_voices/apps/voices/lib/pages/voting/voting.dart similarity index 100% rename from catalyst_voices/lib/pages/voting/voting.dart rename to catalyst_voices/apps/voices/lib/pages/voting/voting.dart diff --git a/catalyst_voices/lib/pages/voting/voting_page.dart b/catalyst_voices/apps/voices/lib/pages/voting/voting_page.dart similarity index 100% rename from catalyst_voices/lib/pages/voting/voting_page.dart rename to catalyst_voices/apps/voices/lib/pages/voting/voting_page.dart diff --git a/catalyst_voices/lib/pages/workspace/proposal_details.dart b/catalyst_voices/apps/voices/lib/pages/workspace/proposal_details.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/proposal_details.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/proposal_details.dart diff --git a/catalyst_voices/lib/pages/workspace/proposal_navigation_panel.dart b/catalyst_voices/apps/voices/lib/pages/workspace/proposal_navigation_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/proposal_navigation_panel.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/proposal_navigation_panel.dart diff --git a/catalyst_voices/lib/pages/workspace/proposal_segment_controller.dart b/catalyst_voices/apps/voices/lib/pages/workspace/proposal_segment_controller.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/proposal_segment_controller.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/proposal_segment_controller.dart diff --git a/catalyst_voices/lib/pages/workspace/proposal_setup_panel.dart b/catalyst_voices/apps/voices/lib/pages/workspace/proposal_setup_panel.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/proposal_setup_panel.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/proposal_setup_panel.dart diff --git a/catalyst_voices/lib/pages/workspace/rich_text/answer.dart b/catalyst_voices/apps/voices/lib/pages/workspace/rich_text/answer.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/rich_text/answer.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/rich_text/answer.dart diff --git a/catalyst_voices/lib/pages/workspace/rich_text/bonus_mark_up.dart b/catalyst_voices/apps/voices/lib/pages/workspace/rich_text/bonus_mark_up.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/rich_text/bonus_mark_up.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/rich_text/bonus_mark_up.dart diff --git a/catalyst_voices/lib/pages/workspace/rich_text/delivery_and_accountability.dart b/catalyst_voices/apps/voices/lib/pages/workspace/rich_text/delivery_and_accountability.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/rich_text/delivery_and_accountability.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/rich_text/delivery_and_accountability.dart diff --git a/catalyst_voices/lib/pages/workspace/rich_text/feasibility_checks.dart b/catalyst_voices/apps/voices/lib/pages/workspace/rich_text/feasibility_checks.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/rich_text/feasibility_checks.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/rich_text/feasibility_checks.dart diff --git a/catalyst_voices/lib/pages/workspace/rich_text/problem_statement.dart b/catalyst_voices/apps/voices/lib/pages/workspace/rich_text/problem_statement.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/rich_text/problem_statement.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/rich_text/problem_statement.dart diff --git a/catalyst_voices/lib/pages/workspace/rich_text/public_description.dart b/catalyst_voices/apps/voices/lib/pages/workspace/rich_text/public_description.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/rich_text/public_description.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/rich_text/public_description.dart diff --git a/catalyst_voices/lib/pages/workspace/rich_text/solution_statement.dart b/catalyst_voices/apps/voices/lib/pages/workspace/rich_text/solution_statement.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/rich_text/solution_statement.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/rich_text/solution_statement.dart diff --git a/catalyst_voices/lib/pages/workspace/rich_text/title.dart b/catalyst_voices/apps/voices/lib/pages/workspace/rich_text/title.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/rich_text/title.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/rich_text/title.dart diff --git a/catalyst_voices/lib/pages/workspace/rich_text/value_for_money.dart b/catalyst_voices/apps/voices/lib/pages/workspace/rich_text/value_for_money.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/rich_text/value_for_money.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/rich_text/value_for_money.dart diff --git a/catalyst_voices/lib/pages/workspace/workspace.dart b/catalyst_voices/apps/voices/lib/pages/workspace/workspace.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/workspace.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/workspace.dart diff --git a/catalyst_voices/lib/pages/workspace/workspace_page.dart b/catalyst_voices/apps/voices/lib/pages/workspace/workspace_page.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/workspace_page.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/workspace_page.dart diff --git a/catalyst_voices/lib/pages/workspace/workspace_proposal_navigation_ext.dart b/catalyst_voices/apps/voices/lib/pages/workspace/workspace_proposal_navigation_ext.dart similarity index 100% rename from catalyst_voices/lib/pages/workspace/workspace_proposal_navigation_ext.dart rename to catalyst_voices/apps/voices/lib/pages/workspace/workspace_proposal_navigation_ext.dart diff --git a/catalyst_voices/lib/routes/app_router.dart b/catalyst_voices/apps/voices/lib/routes/app_router.dart similarity index 100% rename from catalyst_voices/lib/routes/app_router.dart rename to catalyst_voices/apps/voices/lib/routes/app_router.dart diff --git a/catalyst_voices/lib/routes/app_scaffold.dart b/catalyst_voices/apps/voices/lib/routes/app_scaffold.dart similarity index 100% rename from catalyst_voices/lib/routes/app_scaffold.dart rename to catalyst_voices/apps/voices/lib/routes/app_scaffold.dart diff --git a/catalyst_voices/lib/routes/guards/composite_route_guard_mixin.dart b/catalyst_voices/apps/voices/lib/routes/guards/composite_route_guard_mixin.dart similarity index 100% rename from catalyst_voices/lib/routes/guards/composite_route_guard_mixin.dart rename to catalyst_voices/apps/voices/lib/routes/guards/composite_route_guard_mixin.dart diff --git a/catalyst_voices/lib/routes/guards/milestone_guard.dart b/catalyst_voices/apps/voices/lib/routes/guards/milestone_guard.dart similarity index 100% rename from catalyst_voices/lib/routes/guards/milestone_guard.dart rename to catalyst_voices/apps/voices/lib/routes/guards/milestone_guard.dart diff --git a/catalyst_voices/lib/routes/guards/route_guard.dart b/catalyst_voices/apps/voices/lib/routes/guards/route_guard.dart similarity index 100% rename from catalyst_voices/lib/routes/guards/route_guard.dart rename to catalyst_voices/apps/voices/lib/routes/guards/route_guard.dart diff --git a/catalyst_voices/lib/routes/guards/session_unlocked_guard.dart b/catalyst_voices/apps/voices/lib/routes/guards/session_unlocked_guard.dart similarity index 100% rename from catalyst_voices/lib/routes/guards/session_unlocked_guard.dart rename to catalyst_voices/apps/voices/lib/routes/guards/session_unlocked_guard.dart diff --git a/catalyst_voices/lib/routes/routes.dart b/catalyst_voices/apps/voices/lib/routes/routes.dart similarity index 100% rename from catalyst_voices/lib/routes/routes.dart rename to catalyst_voices/apps/voices/lib/routes/routes.dart diff --git a/catalyst_voices/lib/routes/routing/account_route.dart b/catalyst_voices/apps/voices/lib/routes/routing/account_route.dart similarity index 100% rename from catalyst_voices/lib/routes/routing/account_route.dart rename to catalyst_voices/apps/voices/lib/routes/routing/account_route.dart diff --git a/catalyst_voices/lib/routes/routing/account_route.g.dart b/catalyst_voices/apps/voices/lib/routes/routing/account_route.g.dart similarity index 100% rename from catalyst_voices/lib/routes/routing/account_route.g.dart rename to catalyst_voices/apps/voices/lib/routes/routing/account_route.g.dart diff --git a/catalyst_voices/lib/routes/routing/coming_soon_route.dart b/catalyst_voices/apps/voices/lib/routes/routing/coming_soon_route.dart similarity index 100% rename from catalyst_voices/lib/routes/routing/coming_soon_route.dart rename to catalyst_voices/apps/voices/lib/routes/routing/coming_soon_route.dart diff --git a/catalyst_voices/lib/routes/routing/coming_soon_route.g.dart b/catalyst_voices/apps/voices/lib/routes/routing/coming_soon_route.g.dart similarity index 100% rename from catalyst_voices/lib/routes/routing/coming_soon_route.g.dart rename to catalyst_voices/apps/voices/lib/routes/routing/coming_soon_route.g.dart diff --git a/catalyst_voices/lib/routes/routing/login_route.dart b/catalyst_voices/apps/voices/lib/routes/routing/login_route.dart similarity index 100% rename from catalyst_voices/lib/routes/routing/login_route.dart rename to catalyst_voices/apps/voices/lib/routes/routing/login_route.dart diff --git a/catalyst_voices/lib/routes/routing/login_route.g.dart b/catalyst_voices/apps/voices/lib/routes/routing/login_route.g.dart similarity index 100% rename from catalyst_voices/lib/routes/routing/login_route.g.dart rename to catalyst_voices/apps/voices/lib/routes/routing/login_route.g.dart diff --git a/catalyst_voices/lib/routes/routing/overall_spaces_route.dart b/catalyst_voices/apps/voices/lib/routes/routing/overall_spaces_route.dart similarity index 100% rename from catalyst_voices/lib/routes/routing/overall_spaces_route.dart rename to catalyst_voices/apps/voices/lib/routes/routing/overall_spaces_route.dart diff --git a/catalyst_voices/lib/routes/routing/overall_spaces_route.g.dart b/catalyst_voices/apps/voices/lib/routes/routing/overall_spaces_route.g.dart similarity index 100% rename from catalyst_voices/lib/routes/routing/overall_spaces_route.g.dart rename to catalyst_voices/apps/voices/lib/routes/routing/overall_spaces_route.g.dart diff --git a/catalyst_voices/lib/routes/routing/routes.dart b/catalyst_voices/apps/voices/lib/routes/routing/routes.dart similarity index 100% rename from catalyst_voices/lib/routes/routing/routes.dart rename to catalyst_voices/apps/voices/lib/routes/routing/routes.dart diff --git a/catalyst_voices/lib/routes/routing/routing.dart b/catalyst_voices/apps/voices/lib/routes/routing/routing.dart similarity index 100% rename from catalyst_voices/lib/routes/routing/routing.dart rename to catalyst_voices/apps/voices/lib/routes/routing/routing.dart diff --git a/catalyst_voices/lib/routes/routing/spaces_route.dart b/catalyst_voices/apps/voices/lib/routes/routing/spaces_route.dart similarity index 100% rename from catalyst_voices/lib/routes/routing/spaces_route.dart rename to catalyst_voices/apps/voices/lib/routes/routing/spaces_route.dart diff --git a/catalyst_voices/lib/routes/routing/spaces_route.g.dart b/catalyst_voices/apps/voices/lib/routes/routing/spaces_route.g.dart similarity index 100% rename from catalyst_voices/lib/routes/routing/spaces_route.g.dart rename to catalyst_voices/apps/voices/lib/routes/routing/spaces_route.g.dart diff --git a/catalyst_voices/lib/routes/routing/transitions/fade_page_transition_mixin.dart b/catalyst_voices/apps/voices/lib/routes/routing/transitions/fade_page_transition_mixin.dart similarity index 100% rename from catalyst_voices/lib/routes/routing/transitions/fade_page_transition_mixin.dart rename to catalyst_voices/apps/voices/lib/routes/routing/transitions/fade_page_transition_mixin.dart diff --git a/catalyst_voices/lib/routes/routing/transitions/transitions.dart b/catalyst_voices/apps/voices/lib/routes/routing/transitions/transitions.dart similarity index 100% rename from catalyst_voices/lib/routes/routing/transitions/transitions.dart rename to catalyst_voices/apps/voices/lib/routes/routing/transitions/transitions.dart diff --git a/catalyst_voices/lib/widgets/app_bar/actions/connecting_status.dart b/catalyst_voices/apps/voices/lib/widgets/app_bar/actions/connecting_status.dart similarity index 100% rename from catalyst_voices/lib/widgets/app_bar/actions/connecting_status.dart rename to catalyst_voices/apps/voices/lib/widgets/app_bar/actions/connecting_status.dart diff --git a/catalyst_voices/lib/widgets/app_bar/actions/finish_account_button.dart b/catalyst_voices/apps/voices/lib/widgets/app_bar/actions/finish_account_button.dart similarity index 100% rename from catalyst_voices/lib/widgets/app_bar/actions/finish_account_button.dart rename to catalyst_voices/apps/voices/lib/widgets/app_bar/actions/finish_account_button.dart diff --git a/catalyst_voices/lib/widgets/app_bar/actions/get_started_button.dart b/catalyst_voices/apps/voices/lib/widgets/app_bar/actions/get_started_button.dart similarity index 100% rename from catalyst_voices/lib/widgets/app_bar/actions/get_started_button.dart rename to catalyst_voices/apps/voices/lib/widgets/app_bar/actions/get_started_button.dart diff --git a/catalyst_voices/lib/widgets/app_bar/actions/notifications_indicator.dart b/catalyst_voices/apps/voices/lib/widgets/app_bar/actions/notifications_indicator.dart similarity index 100% rename from catalyst_voices/lib/widgets/app_bar/actions/notifications_indicator.dart rename to catalyst_voices/apps/voices/lib/widgets/app_bar/actions/notifications_indicator.dart diff --git a/catalyst_voices/lib/widgets/app_bar/actions/role_picker.dart b/catalyst_voices/apps/voices/lib/widgets/app_bar/actions/role_picker.dart similarity index 100% rename from catalyst_voices/lib/widgets/app_bar/actions/role_picker.dart rename to catalyst_voices/apps/voices/lib/widgets/app_bar/actions/role_picker.dart diff --git a/catalyst_voices/lib/widgets/app_bar/actions/search_button.dart b/catalyst_voices/apps/voices/lib/widgets/app_bar/actions/search_button.dart similarity index 100% rename from catalyst_voices/lib/widgets/app_bar/actions/search_button.dart rename to catalyst_voices/apps/voices/lib/widgets/app_bar/actions/search_button.dart diff --git a/catalyst_voices/lib/widgets/app_bar/actions/unlock_button.dart b/catalyst_voices/apps/voices/lib/widgets/app_bar/actions/unlock_button.dart similarity index 100% rename from catalyst_voices/lib/widgets/app_bar/actions/unlock_button.dart rename to catalyst_voices/apps/voices/lib/widgets/app_bar/actions/unlock_button.dart diff --git a/catalyst_voices/lib/widgets/app_bar/actions/user_profile_button.dart b/catalyst_voices/apps/voices/lib/widgets/app_bar/actions/user_profile_button.dart similarity index 100% rename from catalyst_voices/lib/widgets/app_bar/actions/user_profile_button.dart rename to catalyst_voices/apps/voices/lib/widgets/app_bar/actions/user_profile_button.dart diff --git a/catalyst_voices/lib/widgets/app_bar/actions/voices_app_bar_actions.dart b/catalyst_voices/apps/voices/lib/widgets/app_bar/actions/voices_app_bar_actions.dart similarity index 100% rename from catalyst_voices/lib/widgets/app_bar/actions/voices_app_bar_actions.dart rename to catalyst_voices/apps/voices/lib/widgets/app_bar/actions/voices_app_bar_actions.dart diff --git a/catalyst_voices/lib/widgets/app_bar/session/session_action_header.dart b/catalyst_voices/apps/voices/lib/widgets/app_bar/session/session_action_header.dart similarity index 100% rename from catalyst_voices/lib/widgets/app_bar/session/session_action_header.dart rename to catalyst_voices/apps/voices/lib/widgets/app_bar/session/session_action_header.dart diff --git a/catalyst_voices/lib/widgets/app_bar/session/session_state_header.dart b/catalyst_voices/apps/voices/lib/widgets/app_bar/session/session_state_header.dart similarity index 100% rename from catalyst_voices/lib/widgets/app_bar/session/session_state_header.dart rename to catalyst_voices/apps/voices/lib/widgets/app_bar/session/session_state_header.dart diff --git a/catalyst_voices/lib/widgets/app_bar/voices_app_bar.dart b/catalyst_voices/apps/voices/lib/widgets/app_bar/voices_app_bar.dart similarity index 100% rename from catalyst_voices/lib/widgets/app_bar/voices_app_bar.dart rename to catalyst_voices/apps/voices/lib/widgets/app_bar/voices_app_bar.dart diff --git a/catalyst_voices/lib/widgets/avatars/space_avatar.dart b/catalyst_voices/apps/voices/lib/widgets/avatars/space_avatar.dart similarity index 100% rename from catalyst_voices/lib/widgets/avatars/space_avatar.dart rename to catalyst_voices/apps/voices/lib/widgets/avatars/space_avatar.dart diff --git a/catalyst_voices/lib/widgets/avatars/voices_avatar.dart b/catalyst_voices/apps/voices/lib/widgets/avatars/voices_avatar.dart similarity index 100% rename from catalyst_voices/lib/widgets/avatars/voices_avatar.dart rename to catalyst_voices/apps/voices/lib/widgets/avatars/voices_avatar.dart diff --git a/catalyst_voices/lib/widgets/buttons/voices_button_affix_decoration.dart b/catalyst_voices/apps/voices/lib/widgets/buttons/voices_button_affix_decoration.dart similarity index 100% rename from catalyst_voices/lib/widgets/buttons/voices_button_affix_decoration.dart rename to catalyst_voices/apps/voices/lib/widgets/buttons/voices_button_affix_decoration.dart diff --git a/catalyst_voices/lib/widgets/buttons/voices_buttons.dart b/catalyst_voices/apps/voices/lib/widgets/buttons/voices_buttons.dart similarity index 100% rename from catalyst_voices/lib/widgets/buttons/voices_buttons.dart rename to catalyst_voices/apps/voices/lib/widgets/buttons/voices_buttons.dart diff --git a/catalyst_voices/lib/widgets/buttons/voices_filled_button.dart b/catalyst_voices/apps/voices/lib/widgets/buttons/voices_filled_button.dart similarity index 100% rename from catalyst_voices/lib/widgets/buttons/voices_filled_button.dart rename to catalyst_voices/apps/voices/lib/widgets/buttons/voices_filled_button.dart diff --git a/catalyst_voices/lib/widgets/buttons/voices_icon_button.dart b/catalyst_voices/apps/voices/lib/widgets/buttons/voices_icon_button.dart similarity index 100% rename from catalyst_voices/lib/widgets/buttons/voices_icon_button.dart rename to catalyst_voices/apps/voices/lib/widgets/buttons/voices_icon_button.dart diff --git a/catalyst_voices/lib/widgets/buttons/voices_keyboard_key_button.dart b/catalyst_voices/apps/voices/lib/widgets/buttons/voices_keyboard_key_button.dart similarity index 100% rename from catalyst_voices/lib/widgets/buttons/voices_keyboard_key_button.dart rename to catalyst_voices/apps/voices/lib/widgets/buttons/voices_keyboard_key_button.dart diff --git a/catalyst_voices/lib/widgets/buttons/voices_logical_keyboard_key_button.dart b/catalyst_voices/apps/voices/lib/widgets/buttons/voices_logical_keyboard_key_button.dart similarity index 100% rename from catalyst_voices/lib/widgets/buttons/voices_logical_keyboard_key_button.dart rename to catalyst_voices/apps/voices/lib/widgets/buttons/voices_logical_keyboard_key_button.dart diff --git a/catalyst_voices/lib/widgets/buttons/voices_outlined_button.dart b/catalyst_voices/apps/voices/lib/widgets/buttons/voices_outlined_button.dart similarity index 100% rename from catalyst_voices/lib/widgets/buttons/voices_outlined_button.dart rename to catalyst_voices/apps/voices/lib/widgets/buttons/voices_outlined_button.dart diff --git a/catalyst_voices/lib/widgets/buttons/voices_segmented_button.dart b/catalyst_voices/apps/voices/lib/widgets/buttons/voices_segmented_button.dart similarity index 100% rename from catalyst_voices/lib/widgets/buttons/voices_segmented_button.dart rename to catalyst_voices/apps/voices/lib/widgets/buttons/voices_segmented_button.dart diff --git a/catalyst_voices/lib/widgets/buttons/voices_text_button.dart b/catalyst_voices/apps/voices/lib/widgets/buttons/voices_text_button.dart similarity index 100% rename from catalyst_voices/lib/widgets/buttons/voices_text_button.dart rename to catalyst_voices/apps/voices/lib/widgets/buttons/voices_text_button.dart diff --git a/catalyst_voices/lib/widgets/cards/funded_proposal_card.dart b/catalyst_voices/apps/voices/lib/widgets/cards/funded_proposal_card.dart similarity index 100% rename from catalyst_voices/lib/widgets/cards/funded_proposal_card.dart rename to catalyst_voices/apps/voices/lib/widgets/cards/funded_proposal_card.dart diff --git a/catalyst_voices/lib/widgets/cards/pending_proposal_card.dart b/catalyst_voices/apps/voices/lib/widgets/cards/pending_proposal_card.dart similarity index 100% rename from catalyst_voices/lib/widgets/cards/pending_proposal_card.dart rename to catalyst_voices/apps/voices/lib/widgets/cards/pending_proposal_card.dart diff --git a/catalyst_voices/lib/widgets/cards/role_chooser_card.dart b/catalyst_voices/apps/voices/lib/widgets/cards/role_chooser_card.dart similarity index 100% rename from catalyst_voices/lib/widgets/cards/role_chooser_card.dart rename to catalyst_voices/apps/voices/lib/widgets/cards/role_chooser_card.dart diff --git a/catalyst_voices/lib/widgets/chips/voices_chip.dart b/catalyst_voices/apps/voices/lib/widgets/chips/voices_chip.dart similarity index 100% rename from catalyst_voices/lib/widgets/chips/voices_chip.dart rename to catalyst_voices/apps/voices/lib/widgets/chips/voices_chip.dart diff --git a/catalyst_voices/lib/widgets/common/affix_decorator.dart b/catalyst_voices/apps/voices/lib/widgets/common/affix_decorator.dart similarity index 100% rename from catalyst_voices/lib/widgets/common/affix_decorator.dart rename to catalyst_voices/apps/voices/lib/widgets/common/affix_decorator.dart diff --git a/catalyst_voices/lib/widgets/common/columns_row.dart b/catalyst_voices/apps/voices/lib/widgets/common/columns_row.dart similarity index 100% rename from catalyst_voices/lib/widgets/common/columns_row.dart rename to catalyst_voices/apps/voices/lib/widgets/common/columns_row.dart diff --git a/catalyst_voices/lib/widgets/common/delayed_widget.dart b/catalyst_voices/apps/voices/lib/widgets/common/delayed_widget.dart similarity index 100% rename from catalyst_voices/lib/widgets/common/delayed_widget.dart rename to catalyst_voices/apps/voices/lib/widgets/common/delayed_widget.dart diff --git a/catalyst_voices/lib/widgets/common/grayscale_filter.dart b/catalyst_voices/apps/voices/lib/widgets/common/grayscale_filter.dart similarity index 100% rename from catalyst_voices/lib/widgets/common/grayscale_filter.dart rename to catalyst_voices/apps/voices/lib/widgets/common/grayscale_filter.dart diff --git a/catalyst_voices/lib/widgets/common/infrastructure/voices_future_builder.dart b/catalyst_voices/apps/voices/lib/widgets/common/infrastructure/voices_future_builder.dart similarity index 100% rename from catalyst_voices/lib/widgets/common/infrastructure/voices_future_builder.dart rename to catalyst_voices/apps/voices/lib/widgets/common/infrastructure/voices_future_builder.dart diff --git a/catalyst_voices/lib/widgets/common/infrastructure/voices_loadable.dart b/catalyst_voices/apps/voices/lib/widgets/common/infrastructure/voices_loadable.dart similarity index 100% rename from catalyst_voices/lib/widgets/common/infrastructure/voices_loadable.dart rename to catalyst_voices/apps/voices/lib/widgets/common/infrastructure/voices_loadable.dart diff --git a/catalyst_voices/lib/widgets/common/infrastructure/voices_result_builder.dart b/catalyst_voices/apps/voices/lib/widgets/common/infrastructure/voices_result_builder.dart similarity index 100% rename from catalyst_voices/lib/widgets/common/infrastructure/voices_result_builder.dart rename to catalyst_voices/apps/voices/lib/widgets/common/infrastructure/voices_result_builder.dart diff --git a/catalyst_voices/lib/widgets/common/label_decorator.dart b/catalyst_voices/apps/voices/lib/widgets/common/label_decorator.dart similarity index 100% rename from catalyst_voices/lib/widgets/common/label_decorator.dart rename to catalyst_voices/apps/voices/lib/widgets/common/label_decorator.dart diff --git a/catalyst_voices/lib/widgets/common/link_text.dart b/catalyst_voices/apps/voices/lib/widgets/common/link_text.dart similarity index 100% rename from catalyst_voices/lib/widgets/common/link_text.dart rename to catalyst_voices/apps/voices/lib/widgets/common/link_text.dart diff --git a/catalyst_voices/lib/widgets/common/navigation_location.dart b/catalyst_voices/apps/voices/lib/widgets/common/navigation_location.dart similarity index 100% rename from catalyst_voices/lib/widgets/common/navigation_location.dart rename to catalyst_voices/apps/voices/lib/widgets/common/navigation_location.dart diff --git a/catalyst_voices/lib/widgets/common/proposal_status_container.dart b/catalyst_voices/apps/voices/lib/widgets/common/proposal_status_container.dart similarity index 100% rename from catalyst_voices/lib/widgets/common/proposal_status_container.dart rename to catalyst_voices/apps/voices/lib/widgets/common/proposal_status_container.dart diff --git a/catalyst_voices/lib/widgets/common/resizable_box_parent.dart b/catalyst_voices/apps/voices/lib/widgets/common/resizable_box_parent.dart similarity index 100% rename from catalyst_voices/lib/widgets/common/resizable_box_parent.dart rename to catalyst_voices/apps/voices/lib/widgets/common/resizable_box_parent.dart diff --git a/catalyst_voices/lib/widgets/common/shortcut_activator_view.dart b/catalyst_voices/apps/voices/lib/widgets/common/shortcut_activator_view.dart similarity index 100% rename from catalyst_voices/lib/widgets/common/shortcut_activator_view.dart rename to catalyst_voices/apps/voices/lib/widgets/common/shortcut_activator_view.dart diff --git a/catalyst_voices/lib/widgets/common/simple_tree_view.dart b/catalyst_voices/apps/voices/lib/widgets/common/simple_tree_view.dart similarity index 100% rename from catalyst_voices/lib/widgets/common/simple_tree_view.dart rename to catalyst_voices/apps/voices/lib/widgets/common/simple_tree_view.dart diff --git a/catalyst_voices/lib/widgets/common/tab_bar_stack_view.dart b/catalyst_voices/apps/voices/lib/widgets/common/tab_bar_stack_view.dart similarity index 100% rename from catalyst_voices/lib/widgets/common/tab_bar_stack_view.dart rename to catalyst_voices/apps/voices/lib/widgets/common/tab_bar_stack_view.dart diff --git a/catalyst_voices/lib/widgets/containers/roles_chooser_container.dart b/catalyst_voices/apps/voices/lib/widgets/containers/roles_chooser_container.dart similarity index 100% rename from catalyst_voices/lib/widgets/containers/roles_chooser_container.dart rename to catalyst_voices/apps/voices/lib/widgets/containers/roles_chooser_container.dart diff --git a/catalyst_voices/lib/widgets/containers/roles_summary_container.dart b/catalyst_voices/apps/voices/lib/widgets/containers/roles_summary_container.dart similarity index 100% rename from catalyst_voices/lib/widgets/containers/roles_summary_container.dart rename to catalyst_voices/apps/voices/lib/widgets/containers/roles_summary_container.dart diff --git a/catalyst_voices/lib/widgets/containers/sidebar_scaffold.dart b/catalyst_voices/apps/voices/lib/widgets/containers/sidebar_scaffold.dart similarity index 100% rename from catalyst_voices/lib/widgets/containers/sidebar_scaffold.dart rename to catalyst_voices/apps/voices/lib/widgets/containers/sidebar_scaffold.dart diff --git a/catalyst_voices/lib/widgets/containers/space_scaffold.dart b/catalyst_voices/apps/voices/lib/widgets/containers/space_scaffold.dart similarity index 100% rename from catalyst_voices/lib/widgets/containers/space_scaffold.dart rename to catalyst_voices/apps/voices/lib/widgets/containers/space_scaffold.dart diff --git a/catalyst_voices/lib/widgets/containers/space_side_panel.dart b/catalyst_voices/apps/voices/lib/widgets/containers/space_side_panel.dart similarity index 100% rename from catalyst_voices/lib/widgets/containers/space_side_panel.dart rename to catalyst_voices/apps/voices/lib/widgets/containers/space_side_panel.dart diff --git a/catalyst_voices/lib/widgets/containers/workspace_text_tile_container.dart b/catalyst_voices/apps/voices/lib/widgets/containers/workspace_text_tile_container.dart similarity index 100% rename from catalyst_voices/lib/widgets/containers/workspace_text_tile_container.dart rename to catalyst_voices/apps/voices/lib/widgets/containers/workspace_text_tile_container.dart diff --git a/catalyst_voices/lib/widgets/containers/workspace_tile_container.dart b/catalyst_voices/apps/voices/lib/widgets/containers/workspace_tile_container.dart similarity index 100% rename from catalyst_voices/lib/widgets/containers/workspace_tile_container.dart rename to catalyst_voices/apps/voices/lib/widgets/containers/workspace_tile_container.dart diff --git a/catalyst_voices/lib/widgets/drawer/voices_drawer.dart b/catalyst_voices/apps/voices/lib/widgets/drawer/voices_drawer.dart similarity index 100% rename from catalyst_voices/lib/widgets/drawer/voices_drawer.dart rename to catalyst_voices/apps/voices/lib/widgets/drawer/voices_drawer.dart diff --git a/catalyst_voices/lib/widgets/drawer/voices_drawer_space_chooser.dart b/catalyst_voices/apps/voices/lib/widgets/drawer/voices_drawer_space_chooser.dart similarity index 100% rename from catalyst_voices/lib/widgets/drawer/voices_drawer_space_chooser.dart rename to catalyst_voices/apps/voices/lib/widgets/drawer/voices_drawer_space_chooser.dart diff --git a/catalyst_voices/lib/widgets/footers/links_page_footer.dart b/catalyst_voices/apps/voices/lib/widgets/footers/links_page_footer.dart similarity index 100% rename from catalyst_voices/lib/widgets/footers/links_page_footer.dart rename to catalyst_voices/apps/voices/lib/widgets/footers/links_page_footer.dart diff --git a/catalyst_voices/lib/widgets/footers/page_footer.dart b/catalyst_voices/apps/voices/lib/widgets/footers/page_footer.dart similarity index 100% rename from catalyst_voices/lib/widgets/footers/page_footer.dart rename to catalyst_voices/apps/voices/lib/widgets/footers/page_footer.dart diff --git a/catalyst_voices/lib/widgets/footers/standard_links_page_footer.dart b/catalyst_voices/apps/voices/lib/widgets/footers/standard_links_page_footer.dart similarity index 100% rename from catalyst_voices/lib/widgets/footers/standard_links_page_footer.dart rename to catalyst_voices/apps/voices/lib/widgets/footers/standard_links_page_footer.dart diff --git a/catalyst_voices/lib/widgets/headers/brand_header.dart b/catalyst_voices/apps/voices/lib/widgets/headers/brand_header.dart similarity index 100% rename from catalyst_voices/lib/widgets/headers/brand_header.dart rename to catalyst_voices/apps/voices/lib/widgets/headers/brand_header.dart diff --git a/catalyst_voices/lib/widgets/headers/section_header.dart b/catalyst_voices/apps/voices/lib/widgets/headers/section_header.dart similarity index 100% rename from catalyst_voices/lib/widgets/headers/section_header.dart rename to catalyst_voices/apps/voices/lib/widgets/headers/section_header.dart diff --git a/catalyst_voices/lib/widgets/headers/segment_header.dart b/catalyst_voices/apps/voices/lib/widgets/headers/segment_header.dart similarity index 100% rename from catalyst_voices/lib/widgets/headers/segment_header.dart rename to catalyst_voices/apps/voices/lib/widgets/headers/segment_header.dart diff --git a/catalyst_voices/lib/widgets/indicators/process_progress_indicator.dart b/catalyst_voices/apps/voices/lib/widgets/indicators/process_progress_indicator.dart similarity index 100% rename from catalyst_voices/lib/widgets/indicators/process_progress_indicator.dart rename to catalyst_voices/apps/voices/lib/widgets/indicators/process_progress_indicator.dart diff --git a/catalyst_voices/lib/widgets/indicators/voices_circular_progress_indicator.dart b/catalyst_voices/apps/voices/lib/widgets/indicators/voices_circular_progress_indicator.dart similarity index 100% rename from catalyst_voices/lib/widgets/indicators/voices_circular_progress_indicator.dart rename to catalyst_voices/apps/voices/lib/widgets/indicators/voices_circular_progress_indicator.dart diff --git a/catalyst_voices/lib/widgets/indicators/voices_error_indicator.dart b/catalyst_voices/apps/voices/lib/widgets/indicators/voices_error_indicator.dart similarity index 100% rename from catalyst_voices/lib/widgets/indicators/voices_error_indicator.dart rename to catalyst_voices/apps/voices/lib/widgets/indicators/voices_error_indicator.dart diff --git a/catalyst_voices/lib/widgets/indicators/voices_indicator.dart b/catalyst_voices/apps/voices/lib/widgets/indicators/voices_indicator.dart similarity index 100% rename from catalyst_voices/lib/widgets/indicators/voices_indicator.dart rename to catalyst_voices/apps/voices/lib/widgets/indicators/voices_indicator.dart diff --git a/catalyst_voices/lib/widgets/indicators/voices_linear_progress_indicator.dart b/catalyst_voices/apps/voices/lib/widgets/indicators/voices_linear_progress_indicator.dart similarity index 100% rename from catalyst_voices/lib/widgets/indicators/voices_linear_progress_indicator.dart rename to catalyst_voices/apps/voices/lib/widgets/indicators/voices_linear_progress_indicator.dart diff --git a/catalyst_voices/lib/widgets/indicators/voices_no_internet_connection_banner.dart b/catalyst_voices/apps/voices/lib/widgets/indicators/voices_no_internet_connection_banner.dart similarity index 100% rename from catalyst_voices/lib/widgets/indicators/voices_no_internet_connection_banner.dart rename to catalyst_voices/apps/voices/lib/widgets/indicators/voices_no_internet_connection_banner.dart diff --git a/catalyst_voices/lib/widgets/indicators/voices_password_strength_indicator.dart b/catalyst_voices/apps/voices/lib/widgets/indicators/voices_password_strength_indicator.dart similarity index 100% rename from catalyst_voices/lib/widgets/indicators/voices_password_strength_indicator.dart rename to catalyst_voices/apps/voices/lib/widgets/indicators/voices_password_strength_indicator.dart diff --git a/catalyst_voices/lib/widgets/indicators/voices_status_indicator.dart b/catalyst_voices/apps/voices/lib/widgets/indicators/voices_status_indicator.dart similarity index 100% rename from catalyst_voices/lib/widgets/indicators/voices_status_indicator.dart rename to catalyst_voices/apps/voices/lib/widgets/indicators/voices_status_indicator.dart diff --git a/catalyst_voices/lib/widgets/indicators/voices_success_indicator.dart b/catalyst_voices/apps/voices/lib/widgets/indicators/voices_success_indicator.dart similarity index 100% rename from catalyst_voices/lib/widgets/indicators/voices_success_indicator.dart rename to catalyst_voices/apps/voices/lib/widgets/indicators/voices_success_indicator.dart diff --git a/catalyst_voices/lib/widgets/list/bullet_list.dart b/catalyst_voices/apps/voices/lib/widgets/list/bullet_list.dart similarity index 100% rename from catalyst_voices/lib/widgets/list/bullet_list.dart rename to catalyst_voices/apps/voices/lib/widgets/list/bullet_list.dart diff --git a/catalyst_voices/lib/widgets/menu/voices_expandable_list_tile.dart b/catalyst_voices/apps/voices/lib/widgets/menu/voices_expandable_list_tile.dart similarity index 100% rename from catalyst_voices/lib/widgets/menu/voices_expandable_list_tile.dart rename to catalyst_voices/apps/voices/lib/widgets/menu/voices_expandable_list_tile.dart diff --git a/catalyst_voices/lib/widgets/menu/voices_list_tile.dart b/catalyst_voices/apps/voices/lib/widgets/menu/voices_list_tile.dart similarity index 100% rename from catalyst_voices/lib/widgets/menu/voices_list_tile.dart rename to catalyst_voices/apps/voices/lib/widgets/menu/voices_list_tile.dart diff --git a/catalyst_voices/lib/widgets/menu/voices_menu.dart b/catalyst_voices/apps/voices/lib/widgets/menu/voices_menu.dart similarity index 100% rename from catalyst_voices/lib/widgets/menu/voices_menu.dart rename to catalyst_voices/apps/voices/lib/widgets/menu/voices_menu.dart diff --git a/catalyst_voices/lib/widgets/menu/voices_node_menu.dart b/catalyst_voices/apps/voices/lib/widgets/menu/voices_node_menu.dart similarity index 100% rename from catalyst_voices/lib/widgets/menu/voices_node_menu.dart rename to catalyst_voices/apps/voices/lib/widgets/menu/voices_node_menu.dart diff --git a/catalyst_voices/lib/widgets/menu/voices_wallet_tile.dart b/catalyst_voices/apps/voices/lib/widgets/menu/voices_wallet_tile.dart similarity index 100% rename from catalyst_voices/lib/widgets/menu/voices_wallet_tile.dart rename to catalyst_voices/apps/voices/lib/widgets/menu/voices_wallet_tile.dart diff --git a/catalyst_voices/lib/widgets/modals/voices_alert_dialog.dart b/catalyst_voices/apps/voices/lib/widgets/modals/voices_alert_dialog.dart similarity index 100% rename from catalyst_voices/lib/widgets/modals/voices_alert_dialog.dart rename to catalyst_voices/apps/voices/lib/widgets/modals/voices_alert_dialog.dart diff --git a/catalyst_voices/lib/widgets/modals/voices_desktop_dialog.dart b/catalyst_voices/apps/voices/lib/widgets/modals/voices_desktop_dialog.dart similarity index 100% rename from catalyst_voices/lib/widgets/modals/voices_desktop_dialog.dart rename to catalyst_voices/apps/voices/lib/widgets/modals/voices_desktop_dialog.dart diff --git a/catalyst_voices/lib/widgets/modals/voices_dialog.dart b/catalyst_voices/apps/voices/lib/widgets/modals/voices_dialog.dart similarity index 100% rename from catalyst_voices/lib/widgets/modals/voices_dialog.dart rename to catalyst_voices/apps/voices/lib/widgets/modals/voices_dialog.dart diff --git a/catalyst_voices/lib/widgets/modals/voices_info_dialog.dart b/catalyst_voices/apps/voices/lib/widgets/modals/voices_info_dialog.dart similarity index 100% rename from catalyst_voices/lib/widgets/modals/voices_info_dialog.dart rename to catalyst_voices/apps/voices/lib/widgets/modals/voices_info_dialog.dart diff --git a/catalyst_voices/lib/widgets/modals/voices_question_dialog.dart b/catalyst_voices/apps/voices/lib/widgets/modals/voices_question_dialog.dart similarity index 100% rename from catalyst_voices/lib/widgets/modals/voices_question_dialog.dart rename to catalyst_voices/apps/voices/lib/widgets/modals/voices_question_dialog.dart diff --git a/catalyst_voices/lib/widgets/modals/voices_upload_file_dialog.dart b/catalyst_voices/apps/voices/lib/widgets/modals/voices_upload_file_dialog.dart similarity index 100% rename from catalyst_voices/lib/widgets/modals/voices_upload_file_dialog.dart rename to catalyst_voices/apps/voices/lib/widgets/modals/voices_upload_file_dialog.dart diff --git a/catalyst_voices/lib/widgets/rich_text/voices_rich_text.dart b/catalyst_voices/apps/voices/lib/widgets/rich_text/voices_rich_text.dart similarity index 100% rename from catalyst_voices/lib/widgets/rich_text/voices_rich_text.dart rename to catalyst_voices/apps/voices/lib/widgets/rich_text/voices_rich_text.dart diff --git a/catalyst_voices/lib/widgets/scrollbar/voices_scrollbar.dart b/catalyst_voices/apps/voices/lib/widgets/scrollbar/voices_scrollbar.dart similarity index 100% rename from catalyst_voices/lib/widgets/scrollbar/voices_scrollbar.dart rename to catalyst_voices/apps/voices/lib/widgets/scrollbar/voices_scrollbar.dart diff --git a/catalyst_voices/lib/widgets/seed_phrase/seed_phrases_completer.dart b/catalyst_voices/apps/voices/lib/widgets/seed_phrase/seed_phrases_completer.dart similarity index 100% rename from catalyst_voices/lib/widgets/seed_phrase/seed_phrases_completer.dart rename to catalyst_voices/apps/voices/lib/widgets/seed_phrase/seed_phrases_completer.dart diff --git a/catalyst_voices/lib/widgets/seed_phrase/seed_phrases_picker.dart b/catalyst_voices/apps/voices/lib/widgets/seed_phrase/seed_phrases_picker.dart similarity index 100% rename from catalyst_voices/lib/widgets/seed_phrase/seed_phrases_picker.dart rename to catalyst_voices/apps/voices/lib/widgets/seed_phrase/seed_phrases_picker.dart diff --git a/catalyst_voices/lib/widgets/seed_phrase/seed_phrases_sequencer.dart b/catalyst_voices/apps/voices/lib/widgets/seed_phrase/seed_phrases_sequencer.dart similarity index 100% rename from catalyst_voices/lib/widgets/seed_phrase/seed_phrases_sequencer.dart rename to catalyst_voices/apps/voices/lib/widgets/seed_phrase/seed_phrases_sequencer.dart diff --git a/catalyst_voices/lib/widgets/seed_phrase/seed_phrases_viewer.dart b/catalyst_voices/apps/voices/lib/widgets/seed_phrase/seed_phrases_viewer.dart similarity index 100% rename from catalyst_voices/lib/widgets/seed_phrase/seed_phrases_viewer.dart rename to catalyst_voices/apps/voices/lib/widgets/seed_phrase/seed_phrases_viewer.dart diff --git a/catalyst_voices/lib/widgets/separators/voices_divider.dart b/catalyst_voices/apps/voices/lib/widgets/separators/voices_divider.dart similarity index 100% rename from catalyst_voices/lib/widgets/separators/voices_divider.dart rename to catalyst_voices/apps/voices/lib/widgets/separators/voices_divider.dart diff --git a/catalyst_voices/lib/widgets/separators/voices_text_divider.dart b/catalyst_voices/apps/voices/lib/widgets/separators/voices_text_divider.dart similarity index 100% rename from catalyst_voices/lib/widgets/separators/voices_text_divider.dart rename to catalyst_voices/apps/voices/lib/widgets/separators/voices_text_divider.dart diff --git a/catalyst_voices/lib/widgets/separators/voices_vertical_divider.dart b/catalyst_voices/apps/voices/lib/widgets/separators/voices_vertical_divider.dart similarity index 100% rename from catalyst_voices/lib/widgets/separators/voices_vertical_divider.dart rename to catalyst_voices/apps/voices/lib/widgets/separators/voices_vertical_divider.dart diff --git a/catalyst_voices/lib/widgets/snackbar/voices_snackbar.dart b/catalyst_voices/apps/voices/lib/widgets/snackbar/voices_snackbar.dart similarity index 100% rename from catalyst_voices/lib/widgets/snackbar/voices_snackbar.dart rename to catalyst_voices/apps/voices/lib/widgets/snackbar/voices_snackbar.dart diff --git a/catalyst_voices/lib/widgets/snackbar/voices_snackbar_action.dart b/catalyst_voices/apps/voices/lib/widgets/snackbar/voices_snackbar_action.dart similarity index 100% rename from catalyst_voices/lib/widgets/snackbar/voices_snackbar_action.dart rename to catalyst_voices/apps/voices/lib/widgets/snackbar/voices_snackbar_action.dart diff --git a/catalyst_voices/lib/widgets/snackbar/voices_snackbar_type.dart b/catalyst_voices/apps/voices/lib/widgets/snackbar/voices_snackbar_type.dart similarity index 100% rename from catalyst_voices/lib/widgets/snackbar/voices_snackbar_type.dart rename to catalyst_voices/apps/voices/lib/widgets/snackbar/voices_snackbar_type.dart diff --git a/catalyst_voices/lib/widgets/text_field/seed_phrase_field.dart b/catalyst_voices/apps/voices/lib/widgets/text_field/seed_phrase_field.dart similarity index 100% rename from catalyst_voices/lib/widgets/text_field/seed_phrase_field.dart rename to catalyst_voices/apps/voices/lib/widgets/text_field/seed_phrase_field.dart diff --git a/catalyst_voices/lib/widgets/text_field/voices_autocomplete.dart b/catalyst_voices/apps/voices/lib/widgets/text_field/voices_autocomplete.dart similarity index 100% rename from catalyst_voices/lib/widgets/text_field/voices_autocomplete.dart rename to catalyst_voices/apps/voices/lib/widgets/text_field/voices_autocomplete.dart diff --git a/catalyst_voices/lib/widgets/text_field/voices_email_text_field.dart b/catalyst_voices/apps/voices/lib/widgets/text_field/voices_email_text_field.dart similarity index 100% rename from catalyst_voices/lib/widgets/text_field/voices_email_text_field.dart rename to catalyst_voices/apps/voices/lib/widgets/text_field/voices_email_text_field.dart diff --git a/catalyst_voices/lib/widgets/text_field/voices_password_text_field.dart b/catalyst_voices/apps/voices/lib/widgets/text_field/voices_password_text_field.dart similarity index 100% rename from catalyst_voices/lib/widgets/text_field/voices_password_text_field.dart rename to catalyst_voices/apps/voices/lib/widgets/text_field/voices_password_text_field.dart diff --git a/catalyst_voices/lib/widgets/text_field/voices_text_field.dart b/catalyst_voices/apps/voices/lib/widgets/text_field/voices_text_field.dart similarity index 100% rename from catalyst_voices/lib/widgets/text_field/voices_text_field.dart rename to catalyst_voices/apps/voices/lib/widgets/text_field/voices_text_field.dart diff --git a/catalyst_voices/lib/widgets/tiles/voices_nav_tile.dart b/catalyst_voices/apps/voices/lib/widgets/tiles/voices_nav_tile.dart similarity index 100% rename from catalyst_voices/lib/widgets/tiles/voices_nav_tile.dart rename to catalyst_voices/apps/voices/lib/widgets/tiles/voices_nav_tile.dart diff --git a/catalyst_voices/lib/widgets/toggles/voices_checkbox.dart b/catalyst_voices/apps/voices/lib/widgets/toggles/voices_checkbox.dart similarity index 100% rename from catalyst_voices/lib/widgets/toggles/voices_checkbox.dart rename to catalyst_voices/apps/voices/lib/widgets/toggles/voices_checkbox.dart diff --git a/catalyst_voices/lib/widgets/toggles/voices_checkbox_group.dart b/catalyst_voices/apps/voices/lib/widgets/toggles/voices_checkbox_group.dart similarity index 100% rename from catalyst_voices/lib/widgets/toggles/voices_checkbox_group.dart rename to catalyst_voices/apps/voices/lib/widgets/toggles/voices_checkbox_group.dart diff --git a/catalyst_voices/lib/widgets/toggles/voices_radio.dart b/catalyst_voices/apps/voices/lib/widgets/toggles/voices_radio.dart similarity index 100% rename from catalyst_voices/lib/widgets/toggles/voices_radio.dart rename to catalyst_voices/apps/voices/lib/widgets/toggles/voices_radio.dart diff --git a/catalyst_voices/lib/widgets/toggles/voices_switch.dart b/catalyst_voices/apps/voices/lib/widgets/toggles/voices_switch.dart similarity index 100% rename from catalyst_voices/lib/widgets/toggles/voices_switch.dart rename to catalyst_voices/apps/voices/lib/widgets/toggles/voices_switch.dart diff --git a/catalyst_voices/lib/widgets/toggles/voices_theme_mode_switch.dart b/catalyst_voices/apps/voices/lib/widgets/toggles/voices_theme_mode_switch.dart similarity index 100% rename from catalyst_voices/lib/widgets/toggles/voices_theme_mode_switch.dart rename to catalyst_voices/apps/voices/lib/widgets/toggles/voices_theme_mode_switch.dart diff --git a/catalyst_voices/lib/widgets/tooltips/voices_plain_tooltip.dart b/catalyst_voices/apps/voices/lib/widgets/tooltips/voices_plain_tooltip.dart similarity index 100% rename from catalyst_voices/lib/widgets/tooltips/voices_plain_tooltip.dart rename to catalyst_voices/apps/voices/lib/widgets/tooltips/voices_plain_tooltip.dart diff --git a/catalyst_voices/lib/widgets/tooltips/voices_rich_tooltip.dart b/catalyst_voices/apps/voices/lib/widgets/tooltips/voices_rich_tooltip.dart similarity index 100% rename from catalyst_voices/lib/widgets/tooltips/voices_rich_tooltip.dart rename to catalyst_voices/apps/voices/lib/widgets/tooltips/voices_rich_tooltip.dart diff --git a/catalyst_voices/lib/widgets/widgets.dart b/catalyst_voices/apps/voices/lib/widgets/widgets.dart similarity index 100% rename from catalyst_voices/lib/widgets/widgets.dart rename to catalyst_voices/apps/voices/lib/widgets/widgets.dart diff --git a/catalyst_voices/macos/.gitignore b/catalyst_voices/apps/voices/macos/.gitignore similarity index 100% rename from catalyst_voices/macos/.gitignore rename to catalyst_voices/apps/voices/macos/.gitignore diff --git a/catalyst_voices/macos/Flutter/Flutter-Debug.xcconfig b/catalyst_voices/apps/voices/macos/Flutter/Flutter-Debug.xcconfig similarity index 100% rename from catalyst_voices/macos/Flutter/Flutter-Debug.xcconfig rename to catalyst_voices/apps/voices/macos/Flutter/Flutter-Debug.xcconfig diff --git a/catalyst_voices/macos/Flutter/Flutter-Release.xcconfig b/catalyst_voices/apps/voices/macos/Flutter/Flutter-Release.xcconfig similarity index 100% rename from catalyst_voices/macos/Flutter/Flutter-Release.xcconfig rename to catalyst_voices/apps/voices/macos/Flutter/Flutter-Release.xcconfig diff --git a/catalyst_voices/macos/Flutter/GeneratedPluginRegistrant.swift b/catalyst_voices/apps/voices/macos/Flutter/GeneratedPluginRegistrant.swift similarity index 100% rename from catalyst_voices/macos/Flutter/GeneratedPluginRegistrant.swift rename to catalyst_voices/apps/voices/macos/Flutter/GeneratedPluginRegistrant.swift diff --git a/catalyst_voices/macos/Podfile b/catalyst_voices/apps/voices/macos/Podfile similarity index 100% rename from catalyst_voices/macos/Podfile rename to catalyst_voices/apps/voices/macos/Podfile diff --git a/catalyst_voices/macos/Podfile.lock b/catalyst_voices/apps/voices/macos/Podfile.lock similarity index 100% rename from catalyst_voices/macos/Podfile.lock rename to catalyst_voices/apps/voices/macos/Podfile.lock diff --git a/catalyst_voices/macos/Runner.xcodeproj/project.pbxproj b/catalyst_voices/apps/voices/macos/Runner.xcodeproj/project.pbxproj similarity index 100% rename from catalyst_voices/macos/Runner.xcodeproj/project.pbxproj rename to catalyst_voices/apps/voices/macos/Runner.xcodeproj/project.pbxproj diff --git a/catalyst_voices/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/apps/voices/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/apps/voices/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/catalyst_voices/apps/voices/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from catalyst_voices/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to catalyst_voices/apps/voices/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/catalyst_voices/macos/Runner.xcworkspace/contents.xcworkspacedata b/catalyst_voices/apps/voices/macos/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from catalyst_voices/macos/Runner.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/apps/voices/macos/Runner.xcworkspace/contents.xcworkspacedata diff --git a/catalyst_voices/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/apps/voices/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/apps/voices/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices/macos/Runner/AppDelegate.swift b/catalyst_voices/apps/voices/macos/Runner/AppDelegate.swift similarity index 100% rename from catalyst_voices/macos/Runner/AppDelegate.swift rename to catalyst_voices/apps/voices/macos/Runner/AppDelegate.swift diff --git a/catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png similarity index 100% rename from catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png rename to catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png diff --git a/catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png similarity index 100% rename from catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png rename to catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png diff --git a/catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png similarity index 100% rename from catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png rename to catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png diff --git a/catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png similarity index 100% rename from catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png rename to catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png diff --git a/catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png similarity index 100% rename from catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png rename to catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png diff --git a/catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png similarity index 100% rename from catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png rename to catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png diff --git a/catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png similarity index 100% rename from catalyst_voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png rename to catalyst_voices/apps/voices/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png diff --git a/catalyst_voices/macos/Runner/Base.lproj/MainMenu.xib b/catalyst_voices/apps/voices/macos/Runner/Base.lproj/MainMenu.xib similarity index 100% rename from catalyst_voices/macos/Runner/Base.lproj/MainMenu.xib rename to catalyst_voices/apps/voices/macos/Runner/Base.lproj/MainMenu.xib diff --git a/catalyst_voices/macos/Runner/Configs/AppInfo.xcconfig b/catalyst_voices/apps/voices/macos/Runner/Configs/AppInfo.xcconfig similarity index 100% rename from catalyst_voices/macos/Runner/Configs/AppInfo.xcconfig rename to catalyst_voices/apps/voices/macos/Runner/Configs/AppInfo.xcconfig diff --git a/catalyst_voices/macos/Runner/Configs/Debug.xcconfig b/catalyst_voices/apps/voices/macos/Runner/Configs/Debug.xcconfig similarity index 100% rename from catalyst_voices/macos/Runner/Configs/Debug.xcconfig rename to catalyst_voices/apps/voices/macos/Runner/Configs/Debug.xcconfig diff --git a/catalyst_voices/macos/Runner/Configs/Release.xcconfig b/catalyst_voices/apps/voices/macos/Runner/Configs/Release.xcconfig similarity index 100% rename from catalyst_voices/macos/Runner/Configs/Release.xcconfig rename to catalyst_voices/apps/voices/macos/Runner/Configs/Release.xcconfig diff --git a/catalyst_voices/macos/Runner/Configs/Warnings.xcconfig b/catalyst_voices/apps/voices/macos/Runner/Configs/Warnings.xcconfig similarity index 100% rename from catalyst_voices/macos/Runner/Configs/Warnings.xcconfig rename to catalyst_voices/apps/voices/macos/Runner/Configs/Warnings.xcconfig diff --git a/catalyst_voices/macos/Runner/DebugProfile.entitlements b/catalyst_voices/apps/voices/macos/Runner/DebugProfile.entitlements similarity index 100% rename from catalyst_voices/macos/Runner/DebugProfile.entitlements rename to catalyst_voices/apps/voices/macos/Runner/DebugProfile.entitlements diff --git a/catalyst_voices/macos/Runner/Info.plist b/catalyst_voices/apps/voices/macos/Runner/Info.plist similarity index 100% rename from catalyst_voices/macos/Runner/Info.plist rename to catalyst_voices/apps/voices/macos/Runner/Info.plist diff --git a/catalyst_voices/macos/Runner/MainFlutterWindow.swift b/catalyst_voices/apps/voices/macos/Runner/MainFlutterWindow.swift similarity index 100% rename from catalyst_voices/macos/Runner/MainFlutterWindow.swift rename to catalyst_voices/apps/voices/macos/Runner/MainFlutterWindow.swift diff --git a/catalyst_voices/macos/Runner/Release.entitlements b/catalyst_voices/apps/voices/macos/Runner/Release.entitlements similarity index 100% rename from catalyst_voices/macos/Runner/Release.entitlements rename to catalyst_voices/apps/voices/macos/Runner/Release.entitlements diff --git a/catalyst_voices/macos/RunnerTests/RunnerTests.swift b/catalyst_voices/apps/voices/macos/RunnerTests/RunnerTests.swift similarity index 100% rename from catalyst_voices/macos/RunnerTests/RunnerTests.swift rename to catalyst_voices/apps/voices/macos/RunnerTests/RunnerTests.swift diff --git a/catalyst_voices/apps/voices/pubspec.yaml b/catalyst_voices/apps/voices/pubspec.yaml new file mode 100644 index 0000000000..9cb2344f3c --- /dev/null +++ b/catalyst_voices/apps/voices/pubspec.yaml @@ -0,0 +1,80 @@ +name: catalyst_voices +description: Catalyst Voices +version: 0.1.0+1 +publish_to: none + +environment: + sdk: ">=3.5.0 <4.0.0" + flutter: ">=3.24.1" + +dependencies: + animated_text_kit: ^4.2.2 + animations: ^2.0.11 + catalyst_cardano: ^0.3.0 + catalyst_cardano_serialization: ^0.4.0 + catalyst_cardano_web: ^0.3.0 + catalyst_voices_assets: + path: ../../packages/internal/catalyst_voices_assets + catalyst_voices_blocs: + path: ../../packages/internal/catalyst_voices_blocs + catalyst_voices_brands: + path: ../../packages/internal/catalyst_voices_brands + catalyst_voices_localization: + path: ../../packages/internal/catalyst_voices_localization + catalyst_voices_models: + path: ../../packages/internal/catalyst_voices_models + catalyst_voices_repositories: + path: ../../packages/internal/catalyst_voices_repositories + catalyst_voices_services: + path: ../../packages/internal/catalyst_voices_services + catalyst_voices_shared: + path: ../../packages/internal/catalyst_voices_shared + catalyst_voices_view_models: + path: ../../packages/internal/catalyst_voices_view_models + collection: ^1.18.0 + dotted_border: ^2.1.0 + equatable: ^2.0.5 + file_picker: ^8.0.7 + flutter: + sdk: flutter + flutter_adaptive_scaffold: ^0.2.4 + flutter_bloc: ^8.1.5 + flutter_dropzone: ^4.0.3 + flutter_localized_locales: ^2.0.5 + flutter_quill: ^10.8.2 + flutter_quill_extensions: ^10.8.2 + flutter_web_plugins: + sdk: flutter + formz: ^0.7.0 + go_router: ^14.0.2 + google_fonts: ^6.2.1 + intl: ^0.19.0 + result_type: ^0.2.0 + sentry_flutter: ^8.8.0 + url_launcher: ^6.2.2 + url_strategy: ^0.3.0 + # TODO(dtscalac): win32 dependency is just a transitive dependency and shouldn't be imported + # but here we import it explicitly to make sure the latest version is used which addresses + # the problem from here: https://github.com/jonataslaw/get_cli/issues/263 + win32: ^5.5.4 + +dev_dependencies: + build_runner: ^2.4.12 + build_verify: ^3.1.0 + catalyst_analysis: ^2.0.0 + flutter_test: + sdk: flutter + go_router_builder: ^2.4.1 + integration_test: + sdk: flutter + mockito: ^5.4.4 + mocktail: ^1.0.1 + sentry_dart_plugin: ^2.1.0 + +flutter: + uses-material-design: true + generate: true + +sentry: + upload_source_maps: true + upload_sources: true diff --git a/catalyst_voices/test/app/view/app_test.dart b/catalyst_voices/apps/voices/test/app/view/app_test.dart similarity index 100% rename from catalyst_voices/test/app/view/app_test.dart rename to catalyst_voices/apps/voices/test/app/view/app_test.dart diff --git a/catalyst_voices/test/common/formatters/date_formatter_test.dart b/catalyst_voices/apps/voices/test/common/formatters/date_formatter_test.dart similarity index 100% rename from catalyst_voices/test/common/formatters/date_formatter_test.dart rename to catalyst_voices/apps/voices/test/common/formatters/date_formatter_test.dart diff --git a/catalyst_voices/test/common/formatters/input_formatters_test.dart b/catalyst_voices/apps/voices/test/common/formatters/input_formatters_test.dart similarity index 100% rename from catalyst_voices/test/common/formatters/input_formatters_test.dart rename to catalyst_voices/apps/voices/test/common/formatters/input_formatters_test.dart diff --git a/catalyst_voices/test/helpers/helpers.dart b/catalyst_voices/apps/voices/test/helpers/helpers.dart similarity index 100% rename from catalyst_voices/test/helpers/helpers.dart rename to catalyst_voices/apps/voices/test/helpers/helpers.dart diff --git a/catalyst_voices/test/helpers/pump_app.dart b/catalyst_voices/apps/voices/test/helpers/pump_app.dart similarity index 100% rename from catalyst_voices/test/helpers/pump_app.dart rename to catalyst_voices/apps/voices/test/helpers/pump_app.dart diff --git a/catalyst_voices/test/widgets/avatars/voices_avatar_test.dart b/catalyst_voices/apps/voices/test/widgets/avatars/voices_avatar_test.dart similarity index 100% rename from catalyst_voices/test/widgets/avatars/voices_avatar_test.dart rename to catalyst_voices/apps/voices/test/widgets/avatars/voices_avatar_test.dart diff --git a/catalyst_voices/test/widgets/common/affix_decorator_test.dart b/catalyst_voices/apps/voices/test/widgets/common/affix_decorator_test.dart similarity index 100% rename from catalyst_voices/test/widgets/common/affix_decorator_test.dart rename to catalyst_voices/apps/voices/test/widgets/common/affix_decorator_test.dart diff --git a/catalyst_voices/test/widgets/common/columns_row_test.dart b/catalyst_voices/apps/voices/test/widgets/common/columns_row_test.dart similarity index 100% rename from catalyst_voices/test/widgets/common/columns_row_test.dart rename to catalyst_voices/apps/voices/test/widgets/common/columns_row_test.dart diff --git a/catalyst_voices/test/widgets/common/infrastructure/voices_future_builder_test.dart b/catalyst_voices/apps/voices/test/widgets/common/infrastructure/voices_future_builder_test.dart similarity index 100% rename from catalyst_voices/test/widgets/common/infrastructure/voices_future_builder_test.dart rename to catalyst_voices/apps/voices/test/widgets/common/infrastructure/voices_future_builder_test.dart diff --git a/catalyst_voices/test/widgets/common/infrastructure/voices_result_builder_test.dart b/catalyst_voices/apps/voices/test/widgets/common/infrastructure/voices_result_builder_test.dart similarity index 100% rename from catalyst_voices/test/widgets/common/infrastructure/voices_result_builder_test.dart rename to catalyst_voices/apps/voices/test/widgets/common/infrastructure/voices_result_builder_test.dart diff --git a/catalyst_voices/test/widgets/common/label_decorator_test.dart b/catalyst_voices/apps/voices/test/widgets/common/label_decorator_test.dart similarity index 100% rename from catalyst_voices/test/widgets/common/label_decorator_test.dart rename to catalyst_voices/apps/voices/test/widgets/common/label_decorator_test.dart diff --git a/catalyst_voices/test/widgets/common/link_text_test.dart b/catalyst_voices/apps/voices/test/widgets/common/link_text_test.dart similarity index 100% rename from catalyst_voices/test/widgets/common/link_text_test.dart rename to catalyst_voices/apps/voices/test/widgets/common/link_text_test.dart diff --git a/catalyst_voices/test/widgets/common/navigation_location_test.dart b/catalyst_voices/apps/voices/test/widgets/common/navigation_location_test.dart similarity index 100% rename from catalyst_voices/test/widgets/common/navigation_location_test.dart rename to catalyst_voices/apps/voices/test/widgets/common/navigation_location_test.dart diff --git a/catalyst_voices/test/widgets/common/tab_bar_stack_view_test.dart b/catalyst_voices/apps/voices/test/widgets/common/tab_bar_stack_view_test.dart similarity index 100% rename from catalyst_voices/test/widgets/common/tab_bar_stack_view_test.dart rename to catalyst_voices/apps/voices/test/widgets/common/tab_bar_stack_view_test.dart diff --git a/catalyst_voices/test/widgets/headers/section_header_test.dart b/catalyst_voices/apps/voices/test/widgets/headers/section_header_test.dart similarity index 100% rename from catalyst_voices/test/widgets/headers/section_header_test.dart rename to catalyst_voices/apps/voices/test/widgets/headers/section_header_test.dart diff --git a/catalyst_voices/test/widgets/indicators/voices_status_indicator_test.dart b/catalyst_voices/apps/voices/test/widgets/indicators/voices_status_indicator_test.dart similarity index 100% rename from catalyst_voices/test/widgets/indicators/voices_status_indicator_test.dart rename to catalyst_voices/apps/voices/test/widgets/indicators/voices_status_indicator_test.dart diff --git a/catalyst_voices/test/widgets/menu/voices_menu_test.dart b/catalyst_voices/apps/voices/test/widgets/menu/voices_menu_test.dart similarity index 100% rename from catalyst_voices/test/widgets/menu/voices_menu_test.dart rename to catalyst_voices/apps/voices/test/widgets/menu/voices_menu_test.dart diff --git a/catalyst_voices/test/widgets/menu/voices_wallet_tile_test.dart b/catalyst_voices/apps/voices/test/widgets/menu/voices_wallet_tile_test.dart similarity index 100% rename from catalyst_voices/test/widgets/menu/voices_wallet_tile_test.dart rename to catalyst_voices/apps/voices/test/widgets/menu/voices_wallet_tile_test.dart diff --git a/catalyst_voices/test/widgets/rich_text/voices_rich_text_test.dart b/catalyst_voices/apps/voices/test/widgets/rich_text/voices_rich_text_test.dart similarity index 100% rename from catalyst_voices/test/widgets/rich_text/voices_rich_text_test.dart rename to catalyst_voices/apps/voices/test/widgets/rich_text/voices_rich_text_test.dart diff --git a/catalyst_voices/test/widgets/seed_phrase/seed_phrases_sequencer_test.dart b/catalyst_voices/apps/voices/test/widgets/seed_phrase/seed_phrases_sequencer_test.dart similarity index 100% rename from catalyst_voices/test/widgets/seed_phrase/seed_phrases_sequencer_test.dart rename to catalyst_voices/apps/voices/test/widgets/seed_phrase/seed_phrases_sequencer_test.dart diff --git a/catalyst_voices/test/widgets/text_field/voices_text_field_test.dart b/catalyst_voices/apps/voices/test/widgets/text_field/voices_text_field_test.dart similarity index 100% rename from catalyst_voices/test/widgets/text_field/voices_text_field_test.dart rename to catalyst_voices/apps/voices/test/widgets/text_field/voices_text_field_test.dart diff --git a/catalyst_voices/test/widgets/toggles/voices_checkbox_group_test.dart b/catalyst_voices/apps/voices/test/widgets/toggles/voices_checkbox_group_test.dart similarity index 100% rename from catalyst_voices/test/widgets/toggles/voices_checkbox_group_test.dart rename to catalyst_voices/apps/voices/test/widgets/toggles/voices_checkbox_group_test.dart diff --git a/catalyst_voices/test/widgets/toggles/voices_checkbox_test.dart b/catalyst_voices/apps/voices/test/widgets/toggles/voices_checkbox_test.dart similarity index 100% rename from catalyst_voices/test/widgets/toggles/voices_checkbox_test.dart rename to catalyst_voices/apps/voices/test/widgets/toggles/voices_checkbox_test.dart diff --git a/catalyst_voices/test/widgets/tooltips/voices_plain_tooltip_test.dart b/catalyst_voices/apps/voices/test/widgets/tooltips/voices_plain_tooltip_test.dart similarity index 100% rename from catalyst_voices/test/widgets/tooltips/voices_plain_tooltip_test.dart rename to catalyst_voices/apps/voices/test/widgets/tooltips/voices_plain_tooltip_test.dart diff --git a/catalyst_voices/test/widgets/tooltips/voices_rich_tooltip_test.dart b/catalyst_voices/apps/voices/test/widgets/tooltips/voices_rich_tooltip_test.dart similarity index 100% rename from catalyst_voices/test/widgets/tooltips/voices_rich_tooltip_test.dart rename to catalyst_voices/apps/voices/test/widgets/tooltips/voices_rich_tooltip_test.dart diff --git a/catalyst_voices/test_driver/Earthfile b/catalyst_voices/apps/voices/test_driver/Earthfile similarity index 100% rename from catalyst_voices/test_driver/Earthfile rename to catalyst_voices/apps/voices/test_driver/Earthfile diff --git a/catalyst_voices/test_driver/integration_tests.dart b/catalyst_voices/apps/voices/test_driver/integration_tests.dart similarity index 100% rename from catalyst_voices/test_driver/integration_tests.dart rename to catalyst_voices/apps/voices/test_driver/integration_tests.dart diff --git a/catalyst_voices/web/favicon.png b/catalyst_voices/apps/voices/web/favicon.png similarity index 100% rename from catalyst_voices/web/favicon.png rename to catalyst_voices/apps/voices/web/favicon.png diff --git a/catalyst_voices/web/icons/Icon-192.png b/catalyst_voices/apps/voices/web/icons/Icon-192.png similarity index 100% rename from catalyst_voices/web/icons/Icon-192.png rename to catalyst_voices/apps/voices/web/icons/Icon-192.png diff --git a/catalyst_voices/web/icons/Icon-512.png b/catalyst_voices/apps/voices/web/icons/Icon-512.png similarity index 100% rename from catalyst_voices/web/icons/Icon-512.png rename to catalyst_voices/apps/voices/web/icons/Icon-512.png diff --git a/catalyst_voices/web/icons/Icon-maskable-192.png b/catalyst_voices/apps/voices/web/icons/Icon-maskable-192.png similarity index 100% rename from catalyst_voices/web/icons/Icon-maskable-192.png rename to catalyst_voices/apps/voices/web/icons/Icon-maskable-192.png diff --git a/catalyst_voices/web/icons/Icon-maskable-512.png b/catalyst_voices/apps/voices/web/icons/Icon-maskable-512.png similarity index 100% rename from catalyst_voices/web/icons/Icon-maskable-512.png rename to catalyst_voices/apps/voices/web/icons/Icon-maskable-512.png diff --git a/catalyst_voices/web/icons/favicon.png b/catalyst_voices/apps/voices/web/icons/favicon.png similarity index 100% rename from catalyst_voices/web/icons/favicon.png rename to catalyst_voices/apps/voices/web/icons/favicon.png diff --git a/catalyst_voices/web/index.html b/catalyst_voices/apps/voices/web/index.html similarity index 100% rename from catalyst_voices/web/index.html rename to catalyst_voices/apps/voices/web/index.html diff --git a/catalyst_voices/web/manifest.json b/catalyst_voices/apps/voices/web/manifest.json similarity index 100% rename from catalyst_voices/web/manifest.json rename to catalyst_voices/apps/voices/web/manifest.json diff --git a/catalyst_voices/melos.yaml b/catalyst_voices/melos.yaml index edb3e1ce55..0f3d8f5fe7 100644 --- a/catalyst_voices/melos.yaml +++ b/catalyst_voices/melos.yaml @@ -2,17 +2,17 @@ name: catalyst_voices repository: https://github.com/input-output-hk/catalyst-voices packages: - - catalyst_voices - - catalyst_voices/packages/external/** - - catalyst_voices/packages/internal/** - - catalyst_voices/utilities/** + - apps/** + - packages/external/** + - packages/internal/** + - utilities/** ignore: # ignores flutter_rust_bridge packages that are non-conformant with melos - - catalyst_voices_packages/catalyst_key_derivation/example/** + - packages/external/catalyst_key_derivation/example/** # ignore examples - - catalyst_voices/packages/external/**/example - - catalyst_voices/packages/internal/**/example + - packages/external/**/example + - packages/internal/**/example permittedLicenses: - MIT diff --git a/catalyst_voices/pubspec.yaml b/catalyst_voices/pubspec.yaml index 9610bfec3a..74262bb49b 100644 --- a/catalyst_voices/pubspec.yaml +++ b/catalyst_voices/pubspec.yaml @@ -1,81 +1,7 @@ -name: catalyst_voices -description: Catalyst Voices -version: 0.1.0+1 -publish_to: none +name: catalyst_voices_workspace environment: - sdk: ">=3.5.0 <4.0.0" - flutter: ">=3.24.1" - -dependencies: - animated_text_kit: ^4.2.2 - animations: ^2.0.11 - catalyst_cardano: ^0.3.0 - catalyst_cardano_serialization: ^0.4.0 - catalyst_cardano_web: ^0.3.0 - catalyst_voices_assets: - path: ./packages/internal/catalyst_voices_assets - catalyst_voices_blocs: - path: ./packages/internal/catalyst_voices_blocs - catalyst_voices_brands: - path: ./packages/internal/catalyst_voices_brands - catalyst_voices_localization: - path: ./packages/internal/catalyst_voices_localization - catalyst_voices_models: - path: ./packages/internal/catalyst_voices_models - catalyst_voices_repositories: - path: ./packages/internal/catalyst_voices_repositories - catalyst_voices_services: - path: ./packages/internal/catalyst_voices_services - catalyst_voices_shared: - path: ./packages/internal/catalyst_voices_shared - catalyst_voices_view_models: - path: ./packages/internal/catalyst_voices_view_models - collection: ^1.18.0 - dotted_border: ^2.1.0 - equatable: ^2.0.5 - file_picker: ^8.0.7 - flutter: - sdk: flutter - flutter_adaptive_scaffold: ^0.2.4 - flutter_bloc: ^8.1.5 - flutter_dropzone: ^4.0.3 - flutter_localized_locales: ^2.0.5 - flutter_quill: ^10.8.2 - flutter_quill_extensions: ^10.8.2 - flutter_web_plugins: - sdk: flutter - formz: ^0.7.0 - go_router: ^14.0.2 - google_fonts: ^6.2.1 - intl: ^0.19.0 - result_type: ^0.2.0 - sentry_flutter: ^8.8.0 - url_launcher: ^6.2.2 - url_strategy: ^0.3.0 - # TODO(dtscalac): win32 dependency is just a transitive dependency and shouldn't be imported - # but here we import it explicitly to make sure the latest version is used which addresses - # the problem from here: https://github.com/jonataslaw/get_cli/issues/263 - win32: ^5.5.4 + sdk: ">=3.3.3 <4.0.0" dev_dependencies: - build_runner: ^2.4.12 - build_verify: ^3.1.0 - catalyst_analysis: ^2.0.0 - flutter_test: - sdk: flutter - go_router_builder: ^2.4.1 - integration_test: - sdk: flutter - melos: ^6.1.0 - mockito: ^5.4.4 - mocktail: ^1.0.1 - sentry_dart_plugin: ^2.1.0 - -flutter: - uses-material-design: true - generate: true - -sentry: - upload_source_maps: true - upload_sources: true + melos: ^6.1.0 \ No newline at end of file From 166cf2dabb62fc836f113191595afc562a33aa3f Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Wed, 30 Oct 2024 11:10:43 +0100 Subject: [PATCH 17/89] refactor: rename packages/external to packages/libs --- catalyst_voices/.idea/modules.xml | 22 +++++++++--------- catalyst_voices/melos.yaml | 9 ++++--- .../packages/{external => libs}/CHANGELOG.md | 0 .../packages/{external => libs}/README.md | 0 .../packages/{external => libs}/SECURITY.md | 0 .../catalyst_analysis/.gitignore | 0 .../catalyst_analysis/CHANGELOG.md | 0 .../catalyst_analysis/LICENSE | 0 .../catalyst_analysis/README.md | 0 .../catalyst_analysis/example/README.md | 0 .../example/analysis_options.yaml | 0 .../example/lib/example.dart | 0 .../catalyst_analysis/example/pubspec.yaml | 0 .../lib/analysis_options.yaml | 0 .../lib/catalyst_analysis.dart | 0 .../catalyst_analysis/pubspec.yaml | 0 .../catalyst_cardano/CHANGELOG.md | 0 .../catalyst_cardano/catalyst_cardano/LICENSE | 0 .../catalyst_cardano/README.md | 0 .../catalyst_cardano/analysis_options.yaml | 0 .../catalyst_cardano/example/.gitignore | 0 .../catalyst_cardano/example/.metadata | 0 .../catalyst_cardano/example/README.md | 0 .../example/analysis_options.yaml | 0 .../catalyst_cardano/example/lib/main.dart | 0 .../example/lib/sign_and_submit_rbac_tx.dart | 0 .../example/lib/sign_and_submit_tx.dart | 0 .../example/lib/sign_data.dart | 0 .../catalyst_cardano/example/pubspec.yaml | 0 .../catalyst_cardano/example/web/favicon.png | Bin .../example/web/icons/Icon-192.png | Bin .../example/web/icons/Icon-512.png | Bin .../example/web/icons/Icon-maskable-192.png | Bin .../example/web/icons/Icon-maskable-512.png | Bin .../catalyst_cardano/example/web/index.html | 0 .../example/web/manifest.json | 0 .../lib/catalyst_cardano.dart | 0 .../lib/src/catalyst_cardano.dart | 0 .../catalyst_cardano/pubspec.yaml | 0 .../wallet-automation/Earthfile | 0 .../wallet-automation/blueprint.cue | 0 .../wallet-automation/compose.yml | 0 .../wallet-automation/global-setup.ts | 0 .../wallet-automation/keys.txt | 0 .../wallet-automation/package-lock.json | 0 .../wallet-automation/package.json | 0 .../wallet-automation/playwright.config.ts | 0 .../wallet-automation/utils.ts | 0 .../wallet-automation/wallet-tests.spec.ts | 0 .../CHANGELOG.md | 0 .../LICENSE | 0 .../README.md | 0 .../analysis_options.yaml | 0 .../example/main.dart | 0 .../catalyst_cardano_platform_interface.dart | 0 .../lib/src/cardano_wallet.dart | 0 .../lib/src/catalyst_cardano_platform.dart | 0 .../lib/src/exceptions.dart | 0 .../pubspec.yaml | 0 .../catalyst_cardano_web/CHANGELOG.md | 0 .../catalyst_cardano_web/LICENSE | 0 .../catalyst_cardano_web/README.md | 0 .../analysis_options.yaml | 0 .../assets/js/catalyst_cardano.js | 0 .../catalyst_cardano_web/example/main.dart | 0 .../lib/catalyst_cardano_web.dart | 0 .../src/interop/catalyst_cardano_interop.dart | 0 .../catalyst_cardano_wallet_proxy.dart | 0 .../catalyst_cardano_web/pubspec.yaml | 0 .../CHANGELOG.md | 0 .../catalyst_cardano_serialization/LICENSE | 0 .../catalyst_cardano_serialization/README.md | 0 .../analysis_options.yaml | 0 .../example/main.dart | 0 .../lib/catalyst_cardano_serialization.dart | 0 .../lib/src/address.dart | 0 .../lib/src/builders/transaction_builder.dart | 0 .../lib/src/builders/witness_builder.dart | 0 .../lib/src/certificate.dart | 0 .../lib/src/cip95/drep.dart | 0 .../lib/src/datum.dart | 0 .../lib/src/exceptions.dart | 0 .../lib/src/fees.dart | 0 .../lib/src/hashes.dart | 0 .../lib/src/rbac/auth_token.dart | 0 .../lib/src/rbac/registration_data.dart | 0 .../lib/src/rbac/x509_certificate.dart | 0 .../lib/src/rbac/x509_metadata_envelope.dart | 0 .../lib/src/redeemer.dart | 0 .../lib/src/scripts.dart | 0 .../lib/src/signature.dart | 0 .../lib/src/transaction.dart | 0 .../lib/src/transaction_output.dart | 0 .../lib/src/types.dart | 0 .../lib/src/utils/cbor.dart | 0 .../lib/src/utils/numbers.dart | 0 .../lib/src/utils/uuid.dart | 0 .../lib/src/witness.dart | 0 .../pubspec.yaml | 0 .../test/address_test.dart | 0 .../test/builders/witness_builder_test.dart | 0 .../test/fees_test.dart | 0 .../test/hashes_test.dart | 0 .../test/rbac/auth_token_test.dart | 0 .../test/rbac/registration_data_test.dart | 0 .../test/rbac/x509_certificate_test.dart | 0 .../test/scripts_test.dart | 0 .../test/signature_test.dart | 0 .../test/test_utils/test_data.dart | 0 .../test/transaction_output_test.dart | 0 .../test/transaction_test.dart | 0 .../test/types_test.dart | 0 .../test/utils/cbor_test.dart | 0 .../test/utils/uuid_test.dart | 0 .../catalyst_compression/CHANGELOG.md | 0 .../catalyst_compression/LICENSE | 0 .../catalyst_compression/README.md | 0 .../analysis_options.yaml | 0 .../catalyst_compression/example/main.dart | 0 .../lib/catalyst_compression.dart | 0 .../lib/src/catalyst_compression.dart | 0 .../catalyst_compression/pubspec.yaml | 0 .../CHANGELOG.md | 0 .../LICENSE | 0 .../README.md | 0 .../analysis_options.yaml | 0 .../example/main.dart | 0 ...talyst_compression_platform_interface.dart | 0 .../src/catalyst_compression_platform.dart | 0 .../lib/src/catalyst_compressor.dart | 0 .../pubspec.yaml | 0 .../catalyst_compression_web/CHANGELOG.md | 0 .../catalyst_compression_web/LICENSE | 0 .../catalyst_compression_web/README.md | 0 .../analysis_options.yaml | 0 .../assets/js/catalyst_compression.js | 0 .../assets/js/catalyst_compression_worker.js | 0 .../example/main.dart | 0 .../lib/catalyst_compression_web.dart | 0 .../interop/catalyst_compression_interop.dart | 0 .../catalyst_compression_web/pubspec.yaml | 0 .../catalyst_cose/CHANGELOG.md | 0 .../{external => libs}/catalyst_cose/LICENSE | 0 .../catalyst_cose/README.md | 0 .../catalyst_cose/analysis_options.yaml | 0 .../catalyst_cose/example/main.dart | 0 .../catalyst_cose/lib/catalyst_cose.dart | 0 .../catalyst_cose/lib/src/catalyst_cose.dart | 0 .../catalyst_cose/pubspec.yaml | 0 .../test/catalyst_cose_test.dart | 0 .../catalyst_key_derivation/.gitignore | 0 .../catalyst_key_derivation/.metadata | 0 .../catalyst_key_derivation/CHANGELOG.md | 0 .../catalyst_key_derivation/LICENSE | 0 .../catalyst_key_derivation/README.md | 0 .../analysis_options.yaml | 0 .../android/.gitignore | 0 .../android/build.gradle | 0 .../android/settings.gradle | 0 .../android/src/main/AndroidManifest.xml | 0 .../cargokit/.gitignore | 0 .../catalyst_key_derivation/cargokit/LICENSE | 0 .../catalyst_key_derivation/cargokit/README | 0 .../cargokit/build_pod.sh | 0 .../cargokit/build_tool/.gitignore | 0 .../cargokit/build_tool/README.md | 0 .../cargokit/build_tool/analysis_options.yaml | 0 .../cargokit/build_tool/bin/build_tool.dart | 0 .../cargokit/build_tool/lib/build_tool.dart | 0 .../lib/src/android_environment.dart | 0 .../lib/src/artifacts_provider.dart | 0 .../build_tool/lib/src/build_cmake.dart | 0 .../build_tool/lib/src/build_gradle.dart | 0 .../build_tool/lib/src/build_pod.dart | 0 .../build_tool/lib/src/build_tool.dart | 0 .../cargokit/build_tool/lib/src/builder.dart | 0 .../cargokit/build_tool/lib/src/cargo.dart | 0 .../build_tool/lib/src/crate_hash.dart | 0 .../build_tool/lib/src/environment.dart | 0 .../cargokit/build_tool/lib/src/logging.dart | 0 .../cargokit/build_tool/lib/src/options.dart | 0 .../lib/src/precompile_binaries.dart | 0 .../cargokit/build_tool/lib/src/rustup.dart | 0 .../cargokit/build_tool/lib/src/target.dart | 0 .../cargokit/build_tool/lib/src/util.dart | 0 .../build_tool/lib/src/verify_binaries.dart | 0 .../cargokit/build_tool/pubspec.yaml | 0 .../cargokit/cmake/cargokit.cmake | 0 .../cargokit/cmake/resolve_symlinks.ps1 | 0 .../cargokit/gradle/plugin.gradle | 0 .../cargokit/run_build_tool.cmd | 0 .../cargokit/run_build_tool.sh | 0 .../example/.gitignore | 0 .../catalyst_key_derivation/example/README.md | 0 .../example/analysis_options.yaml | 0 .../example/android/.gitignore | 0 .../example/android/app/build.gradle | 0 .../android/app/src/debug/AndroidManifest.xml | 0 .../android/app/src/main/AndroidManifest.xml | 0 .../MainActivity.kt | 0 .../res/drawable-v21/launch_background.xml | 0 .../main/res/drawable/launch_background.xml | 0 .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin .../app/src/main/res/values-night/styles.xml | 0 .../app/src/main/res/values/styles.xml | 0 .../app/src/profile/AndroidManifest.xml | 0 .../example/android/build.gradle | 0 .../example/android/gradle.properties | 0 .../gradle/wrapper/gradle-wrapper.properties | 0 .../example/android/settings.gradle | 0 .../example/ios/.gitignore | 0 .../ios/Flutter/AppFrameworkInfo.plist | 0 .../example/ios/Flutter/Debug.xcconfig | 0 .../example/ios/Flutter/Release.xcconfig | 0 .../example/ios/Podfile | 0 .../example/ios/Podfile.lock | 0 .../ios/Runner.xcodeproj/project.pbxproj | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../example/ios/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../Icon-App-1024x1024@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin .../Icon-App-83.5x83.5@2x.png | Bin .../LaunchImage.imageset/Contents.json | 0 .../LaunchImage.imageset/LaunchImage.png | Bin .../LaunchImage.imageset/LaunchImage@2x.png | Bin .../LaunchImage.imageset/LaunchImage@3x.png | Bin .../Runner/Base.lproj/LaunchScreen.storyboard | 0 .../ios/Runner/Base.lproj/Main.storyboard | 0 .../example/ios/Runner/Info.plist | 0 .../ios/Runner/Runner-Bridging-Header.h | 0 .../example/ios/RunnerTests/RunnerTests.swift | 0 .../example/lib/main.dart | 0 .../example/macos/.gitignore | 0 .../macos/Flutter/Flutter-Debug.xcconfig | 0 .../macos/Flutter/Flutter-Release.xcconfig | 0 .../Flutter/GeneratedPluginRegistrant.swift | 0 .../example/macos/Podfile | 0 .../example/macos/Podfile.lock | 0 .../macos/Runner.xcodeproj/project.pbxproj | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../example/macos/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/app_icon_1024.png | Bin .../AppIcon.appiconset/app_icon_128.png | Bin .../AppIcon.appiconset/app_icon_16.png | Bin .../AppIcon.appiconset/app_icon_256.png | Bin .../AppIcon.appiconset/app_icon_32.png | Bin .../AppIcon.appiconset/app_icon_512.png | Bin .../AppIcon.appiconset/app_icon_64.png | Bin .../macos/Runner/Base.lproj/MainMenu.xib | 0 .../macos/Runner/Configs/AppInfo.xcconfig | 0 .../macos/Runner/Configs/Debug.xcconfig | 0 .../macos/Runner/Configs/Release.xcconfig | 0 .../macos/Runner/Configs/Warnings.xcconfig | 0 .../macos/Runner/DebugProfile.entitlements | 0 .../example/macos/Runner/Info.plist | 0 .../macos/Runner/MainFlutterWindow.swift | 0 .../example/macos/Runner/Release.entitlements | 0 .../macos/RunnerTests/RunnerTests.swift | 0 .../example/pubspec.yaml | 0 .../example/web/favicon.png | Bin .../example/web/icons/Icon-192.png | Bin .../example/web/icons/Icon-512.png | Bin .../example/web/icons/Icon-maskable-192.png | Bin .../example/web/icons/Icon-maskable-512.png | Bin .../example/web/icons/favicon.png | Bin .../example/web/index.html | 0 .../example/web/manifest.json | 0 .../flutter_rust_bridge.yaml | 0 .../ios/Classes/dummy_file.c | 0 .../ios/catalyst_key_derivation.podspec | 0 .../lib/catalyst_key_derivation.dart | 0 .../lib/src/rust/api/simple.dart | 0 .../lib/src/rust/frb_generated.dart | 0 .../lib/src/rust/frb_generated.io.dart | 0 .../lib/src/rust/frb_generated.web.dart | 0 .../macos/Classes/dummy_file.c | 0 .../macos/catalyst_key_derivation.podspec | 0 .../catalyst_key_derivation/pubspec.yaml | 0 .../catalyst_key_derivation/run.sh | 0 .../catalyst_key_derivation/rust/.gitignore | 0 .../catalyst_key_derivation/rust/Cargo.toml | 0 .../rust/src/api/mod.rs | 0 .../rust/src/api/simple.rs | 0 .../rust/src/frb_generated.rs | 0 .../catalyst_key_derivation/rust/src/lib.rs | 0 312 files changed, 15 insertions(+), 16 deletions(-) rename catalyst_voices/packages/{external => libs}/CHANGELOG.md (100%) rename catalyst_voices/packages/{external => libs}/README.md (100%) rename catalyst_voices/packages/{external => libs}/SECURITY.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_analysis/.gitignore (100%) rename catalyst_voices/packages/{external => libs}/catalyst_analysis/CHANGELOG.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_analysis/LICENSE (100%) rename catalyst_voices/packages/{external => libs}/catalyst_analysis/README.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_analysis/example/README.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_analysis/example/analysis_options.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_analysis/example/lib/example.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_analysis/example/pubspec.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_analysis/lib/analysis_options.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_analysis/lib/catalyst_analysis.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_analysis/pubspec.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/CHANGELOG.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/LICENSE (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/README.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/analysis_options.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/.gitignore (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/.metadata (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/README.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/analysis_options.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/lib/main.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_rbac_tx.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_tx.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/lib/sign_data.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/pubspec.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/web/favicon.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-192.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-512.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-192.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-512.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/web/index.html (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/example/web/manifest.json (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/lib/catalyst_cardano.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/lib/src/catalyst_cardano.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/pubspec.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/wallet-automation/blueprint.cue (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/wallet-automation/compose.yml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/wallet-automation/global-setup.ts (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/wallet-automation/keys.txt (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/wallet-automation/package-lock.json (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/wallet-automation/package.json (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/wallet-automation/playwright.config.ts (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/wallet-automation/utils.ts (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano/wallet-automation/wallet-tests.spec.ts (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_platform_interface/CHANGELOG.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_platform_interface/LICENSE (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_platform_interface/README.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_platform_interface/analysis_options.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_platform_interface/example/main.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_platform_interface/lib/catalyst_cardano_platform_interface.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/cardano_wallet.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/catalyst_cardano_platform.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/exceptions.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_platform_interface/pubspec.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_web/CHANGELOG.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_web/LICENSE (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_web/README.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_web/analysis_options.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_web/assets/js/catalyst_cardano.js (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_web/example/main.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_web/lib/catalyst_cardano_web.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_interop.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_wallet_proxy.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano/catalyst_cardano_web/pubspec.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/CHANGELOG.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/LICENSE (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/README.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/analysis_options.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/example/main.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/catalyst_cardano_serialization.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/address.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/builders/transaction_builder.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/builders/witness_builder.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/certificate.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/cip95/drep.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/datum.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/exceptions.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/fees.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/hashes.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/rbac/auth_token.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/rbac/registration_data.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/rbac/x509_certificate.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/rbac/x509_metadata_envelope.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/redeemer.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/scripts.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/signature.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/transaction.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/transaction_output.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/types.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/utils/cbor.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/utils/numbers.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/utils/uuid.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/lib/src/witness.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/pubspec.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/test/address_test.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/test/builders/witness_builder_test.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/test/fees_test.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/test/hashes_test.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/test/rbac/auth_token_test.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/test/rbac/registration_data_test.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/test/rbac/x509_certificate_test.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/test/scripts_test.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/test/signature_test.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/test/test_utils/test_data.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/test/transaction_output_test.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/test/transaction_test.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/test/types_test.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/test/utils/cbor_test.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cardano_serialization/test/utils/uuid_test.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression/CHANGELOG.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression/LICENSE (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression/README.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression/analysis_options.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression/example/main.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression/lib/catalyst_compression.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression/lib/src/catalyst_compression.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression/pubspec.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_platform_interface/CHANGELOG.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_platform_interface/LICENSE (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_platform_interface/README.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_platform_interface/analysis_options.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_platform_interface/example/main.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_platform_interface/lib/catalyst_compression_platform_interface.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compression_platform.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compressor.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_platform_interface/pubspec.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_web/CHANGELOG.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_web/LICENSE (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_web/README.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_web/analysis_options.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression.js (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression_worker.js (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_web/example/main.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_web/lib/catalyst_compression_web.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_web/lib/src/interop/catalyst_compression_interop.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_compression/catalyst_compression_web/pubspec.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cose/CHANGELOG.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cose/LICENSE (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cose/README.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cose/analysis_options.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cose/example/main.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cose/lib/catalyst_cose.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cose/lib/src/catalyst_cose.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cose/pubspec.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_cose/test/catalyst_cose_test.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/.gitignore (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/.metadata (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/CHANGELOG.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/LICENSE (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/README.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/analysis_options.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/android/.gitignore (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/android/build.gradle (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/android/settings.gradle (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/android/src/main/AndroidManifest.xml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/.gitignore (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/LICENSE (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/README (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_pod.sh (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/.gitignore (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/README.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/analysis_options.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/bin/build_tool.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/build_tool.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/android_environment.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/artifacts_provider.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/build_cmake.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/build_gradle.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/build_pod.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/build_tool.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/builder.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/cargo.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/crate_hash.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/environment.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/logging.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/options.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/precompile_binaries.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/rustup.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/target.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/util.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/lib/src/verify_binaries.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/build_tool/pubspec.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/cmake/cargokit.cmake (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/cmake/resolve_symlinks.ps1 (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/gradle/plugin.gradle (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/run_build_tool.cmd (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/cargokit/run_build_tool.sh (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/.gitignore (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/README.md (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/analysis_options.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/.gitignore (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/app/build.gradle (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/app/src/debug/AndroidManifest.xml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/app/src/main/AndroidManifest.xml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/app/src/main/kotlin/com/example/catalyst_key_derivation_example/MainActivity.kt (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/app/src/main/res/drawable-v21/launch_background.xml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/app/src/main/res/drawable/launch_background.xml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/app/src/main/res/values-night/styles.xml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/app/src/main/res/values/styles.xml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/app/src/profile/AndroidManifest.xml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/build.gradle (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/gradle.properties (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/gradle/wrapper/gradle-wrapper.properties (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/android/settings.gradle (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/.gitignore (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Flutter/AppFrameworkInfo.plist (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Flutter/Debug.xcconfig (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Flutter/Release.xcconfig (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Podfile (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Podfile.lock (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.pbxproj (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner.xcworkspace/contents.xcworkspacedata (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/AppDelegate.swift (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Base.lproj/LaunchScreen.storyboard (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Base.lproj/Main.storyboard (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Info.plist (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/Runner/Runner-Bridging-Header.h (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/ios/RunnerTests/RunnerTests.swift (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/lib/main.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/.gitignore (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Flutter/Flutter-Debug.xcconfig (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Flutter/Flutter-Release.xcconfig (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Flutter/GeneratedPluginRegistrant.swift (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Podfile (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Podfile.lock (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.pbxproj (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner.xcworkspace/contents.xcworkspacedata (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/AppDelegate.swift (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/Base.lproj/MainMenu.xib (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/Configs/AppInfo.xcconfig (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/Configs/Debug.xcconfig (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/Configs/Release.xcconfig (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/Configs/Warnings.xcconfig (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/DebugProfile.entitlements (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/Info.plist (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/MainFlutterWindow.swift (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/Runner/Release.entitlements (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/macos/RunnerTests/RunnerTests.swift (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/pubspec.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/web/favicon.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/web/icons/Icon-192.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/web/icons/Icon-512.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/web/icons/Icon-maskable-192.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/web/icons/Icon-maskable-512.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/web/icons/favicon.png (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/web/index.html (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/example/web/manifest.json (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/flutter_rust_bridge.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/ios/Classes/dummy_file.c (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/ios/catalyst_key_derivation.podspec (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/lib/catalyst_key_derivation.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/lib/src/rust/api/simple.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/lib/src/rust/frb_generated.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/macos/Classes/dummy_file.c (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/macos/catalyst_key_derivation.podspec (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/pubspec.yaml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/run.sh (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/rust/.gitignore (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/rust/Cargo.toml (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/rust/src/api/mod.rs (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/rust/src/api/simple.rs (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/rust/src/frb_generated.rs (100%) rename catalyst_voices/packages/{external => libs}/catalyst_key_derivation/rust/src/lib.rs (100%) diff --git a/catalyst_voices/.idea/modules.xml b/catalyst_voices/.idea/modules.xml index 61706a5956..8e7d90f4ee 100644 --- a/catalyst_voices/.idea/modules.xml +++ b/catalyst_voices/.idea/modules.xml @@ -2,17 +2,17 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/catalyst_voices/melos.yaml b/catalyst_voices/melos.yaml index 0f3d8f5fe7..35aeeacdec 100644 --- a/catalyst_voices/melos.yaml +++ b/catalyst_voices/melos.yaml @@ -3,16 +3,15 @@ repository: https://github.com/input-output-hk/catalyst-voices packages: - apps/** - - packages/external/** - packages/internal/** + - packages/libs/** - utilities/** ignore: - # ignores flutter_rust_bridge packages that are non-conformant with melos - - packages/external/catalyst_key_derivation/example/** - # ignore examples - - packages/external/**/example - packages/internal/**/example + - packages/libs/**/example + # ignores flutter_rust_bridge packages that are non-conformant with melos + - packages/libs/catalyst_key_derivation/example/** permittedLicenses: - MIT diff --git a/catalyst_voices/packages/external/CHANGELOG.md b/catalyst_voices/packages/libs/CHANGELOG.md similarity index 100% rename from catalyst_voices/packages/external/CHANGELOG.md rename to catalyst_voices/packages/libs/CHANGELOG.md diff --git a/catalyst_voices/packages/external/README.md b/catalyst_voices/packages/libs/README.md similarity index 100% rename from catalyst_voices/packages/external/README.md rename to catalyst_voices/packages/libs/README.md diff --git a/catalyst_voices/packages/external/SECURITY.md b/catalyst_voices/packages/libs/SECURITY.md similarity index 100% rename from catalyst_voices/packages/external/SECURITY.md rename to catalyst_voices/packages/libs/SECURITY.md diff --git a/catalyst_voices/packages/external/catalyst_analysis/.gitignore b/catalyst_voices/packages/libs/catalyst_analysis/.gitignore similarity index 100% rename from catalyst_voices/packages/external/catalyst_analysis/.gitignore rename to catalyst_voices/packages/libs/catalyst_analysis/.gitignore diff --git a/catalyst_voices/packages/external/catalyst_analysis/CHANGELOG.md b/catalyst_voices/packages/libs/catalyst_analysis/CHANGELOG.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_analysis/CHANGELOG.md rename to catalyst_voices/packages/libs/catalyst_analysis/CHANGELOG.md diff --git a/catalyst_voices/packages/external/catalyst_analysis/LICENSE b/catalyst_voices/packages/libs/catalyst_analysis/LICENSE similarity index 100% rename from catalyst_voices/packages/external/catalyst_analysis/LICENSE rename to catalyst_voices/packages/libs/catalyst_analysis/LICENSE diff --git a/catalyst_voices/packages/external/catalyst_analysis/README.md b/catalyst_voices/packages/libs/catalyst_analysis/README.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_analysis/README.md rename to catalyst_voices/packages/libs/catalyst_analysis/README.md diff --git a/catalyst_voices/packages/external/catalyst_analysis/example/README.md b/catalyst_voices/packages/libs/catalyst_analysis/example/README.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_analysis/example/README.md rename to catalyst_voices/packages/libs/catalyst_analysis/example/README.md diff --git a/catalyst_voices/packages/external/catalyst_analysis/example/analysis_options.yaml b/catalyst_voices/packages/libs/catalyst_analysis/example/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_analysis/example/analysis_options.yaml rename to catalyst_voices/packages/libs/catalyst_analysis/example/analysis_options.yaml diff --git a/catalyst_voices/packages/external/catalyst_analysis/example/lib/example.dart b/catalyst_voices/packages/libs/catalyst_analysis/example/lib/example.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_analysis/example/lib/example.dart rename to catalyst_voices/packages/libs/catalyst_analysis/example/lib/example.dart diff --git a/catalyst_voices/packages/external/catalyst_analysis/example/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_analysis/example/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_analysis/example/pubspec.yaml rename to catalyst_voices/packages/libs/catalyst_analysis/example/pubspec.yaml diff --git a/catalyst_voices/packages/external/catalyst_analysis/lib/analysis_options.yaml b/catalyst_voices/packages/libs/catalyst_analysis/lib/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_analysis/lib/analysis_options.yaml rename to catalyst_voices/packages/libs/catalyst_analysis/lib/analysis_options.yaml diff --git a/catalyst_voices/packages/external/catalyst_analysis/lib/catalyst_analysis.dart b/catalyst_voices/packages/libs/catalyst_analysis/lib/catalyst_analysis.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_analysis/lib/catalyst_analysis.dart rename to catalyst_voices/packages/libs/catalyst_analysis/lib/catalyst_analysis.dart diff --git a/catalyst_voices/packages/external/catalyst_analysis/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_analysis/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_analysis/pubspec.yaml rename to catalyst_voices/packages/libs/catalyst_analysis/pubspec.yaml diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/CHANGELOG.md b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/CHANGELOG.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/CHANGELOG.md rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/CHANGELOG.md diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/LICENSE b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/LICENSE similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/LICENSE rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/LICENSE diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/README.md b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/README.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/README.md rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/README.md diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/analysis_options.yaml b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/analysis_options.yaml rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/analysis_options.yaml diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/.gitignore b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/.gitignore similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/.gitignore rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/.gitignore diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/.metadata b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/.metadata similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/.metadata rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/.metadata diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/README.md b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/README.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/README.md rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/README.md diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/analysis_options.yaml b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/analysis_options.yaml rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/analysis_options.yaml diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/main.dart b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/lib/main.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/main.dart rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/lib/main.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_rbac_tx.dart b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_rbac_tx.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_rbac_tx.dart rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_rbac_tx.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_tx.dart b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_tx.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_tx.dart rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/lib/sign_and_submit_tx.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/sign_data.dart b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/lib/sign_data.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/lib/sign_data.dart rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/lib/sign_data.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/pubspec.yaml rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/pubspec.yaml diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/favicon.png b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/web/favicon.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/favicon.png rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/web/favicon.png diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-192.png b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-192.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-192.png rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-192.png diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-512.png b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-512.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-512.png rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-512.png diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-192.png b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-192.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-192.png rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-192.png diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-512.png b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-512.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-512.png rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/web/icons/Icon-maskable-512.png diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/index.html b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/web/index.html similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/index.html rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/web/index.html diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/manifest.json b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/web/manifest.json similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/example/web/manifest.json rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example/web/manifest.json diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/lib/catalyst_cardano.dart b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/lib/catalyst_cardano.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/lib/catalyst_cardano.dart rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/lib/catalyst_cardano.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/lib/src/catalyst_cardano.dart b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/lib/src/catalyst_cardano.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/lib/src/catalyst_cardano.dart rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/lib/src/catalyst_cardano.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/pubspec.yaml rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/pubspec.yaml diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/blueprint.cue b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/blueprint.cue similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/blueprint.cue rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/blueprint.cue diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/compose.yml b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/compose.yml similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/compose.yml rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/compose.yml diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/global-setup.ts b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/global-setup.ts similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/global-setup.ts rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/global-setup.ts diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/keys.txt b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/keys.txt similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/keys.txt rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/keys.txt diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/package-lock.json b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/package-lock.json similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/package-lock.json rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/package-lock.json diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/package.json b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/package.json similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/package.json rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/package.json diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/playwright.config.ts b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/playwright.config.ts similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/playwright.config.ts rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/playwright.config.ts diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/utils.ts b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/utils.ts similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/utils.ts rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/utils.ts diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/wallet-tests.spec.ts b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/wallet-tests.spec.ts similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano/wallet-automation/wallet-tests.spec.ts rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/wallet-tests.spec.ts diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/CHANGELOG.md b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/CHANGELOG.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/CHANGELOG.md rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/CHANGELOG.md diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/LICENSE b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/LICENSE similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/LICENSE rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/LICENSE diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/README.md b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/README.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/README.md rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/README.md diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/analysis_options.yaml b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/analysis_options.yaml rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/analysis_options.yaml diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/example/main.dart b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/example/main.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/example/main.dart rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/example/main.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/catalyst_cardano_platform_interface.dart b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/lib/catalyst_cardano_platform_interface.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/catalyst_cardano_platform_interface.dart rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/lib/catalyst_cardano_platform_interface.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/cardano_wallet.dart b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/cardano_wallet.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/cardano_wallet.dart rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/cardano_wallet.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/catalyst_cardano_platform.dart b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/catalyst_cardano_platform.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/catalyst_cardano_platform.dart rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/catalyst_cardano_platform.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/exceptions.dart b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/exceptions.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/exceptions.dart rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/lib/src/exceptions.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_platform_interface/pubspec.yaml rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/pubspec.yaml diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/CHANGELOG.md b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/CHANGELOG.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/CHANGELOG.md rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/CHANGELOG.md diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/LICENSE b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/LICENSE similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/LICENSE rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/LICENSE diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/README.md b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/README.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/README.md rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/README.md diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/analysis_options.yaml b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/analysis_options.yaml rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/analysis_options.yaml diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/assets/js/catalyst_cardano.js b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/assets/js/catalyst_cardano.js similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/assets/js/catalyst_cardano.js rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/assets/js/catalyst_cardano.js diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/example/main.dart b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/example/main.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/example/main.dart rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/example/main.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/lib/catalyst_cardano_web.dart b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/lib/catalyst_cardano_web.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/lib/catalyst_cardano_web.dart rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/lib/catalyst_cardano_web.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_interop.dart b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_interop.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_interop.dart rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_interop.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_wallet_proxy.dart b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_wallet_proxy.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_wallet_proxy.dart rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/lib/src/interop/catalyst_cardano_wallet_proxy.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano/catalyst_cardano_web/pubspec.yaml rename to catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/pubspec.yaml diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/CHANGELOG.md b/catalyst_voices/packages/libs/catalyst_cardano_serialization/CHANGELOG.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/CHANGELOG.md rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/CHANGELOG.md diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/LICENSE b/catalyst_voices/packages/libs/catalyst_cardano_serialization/LICENSE similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/LICENSE rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/LICENSE diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/README.md b/catalyst_voices/packages/libs/catalyst_cardano_serialization/README.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/README.md rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/README.md diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/analysis_options.yaml b/catalyst_voices/packages/libs/catalyst_cardano_serialization/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/analysis_options.yaml rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/analysis_options.yaml diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/example/main.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/example/main.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/example/main.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/example/main.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/catalyst_cardano_serialization.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/catalyst_cardano_serialization.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/catalyst_cardano_serialization.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/catalyst_cardano_serialization.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/address.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/address.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/address.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/address.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/builders/transaction_builder.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/builders/transaction_builder.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/builders/transaction_builder.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/builders/transaction_builder.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/builders/witness_builder.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/builders/witness_builder.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/builders/witness_builder.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/builders/witness_builder.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/certificate.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/certificate.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/certificate.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/certificate.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/cip95/drep.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/cip95/drep.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/cip95/drep.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/cip95/drep.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/datum.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/datum.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/datum.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/datum.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/exceptions.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/exceptions.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/exceptions.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/exceptions.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/fees.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/fees.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/fees.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/fees.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/hashes.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/hashes.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/hashes.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/hashes.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/auth_token.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/rbac/auth_token.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/auth_token.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/rbac/auth_token.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/registration_data.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/rbac/registration_data.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/registration_data.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/rbac/registration_data.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/x509_certificate.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/rbac/x509_certificate.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/x509_certificate.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/rbac/x509_certificate.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/x509_metadata_envelope.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/rbac/x509_metadata_envelope.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/rbac/x509_metadata_envelope.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/rbac/x509_metadata_envelope.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/redeemer.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/redeemer.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/redeemer.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/redeemer.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/scripts.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/scripts.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/scripts.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/scripts.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/signature.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/signature.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/signature.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/signature.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/transaction.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/transaction.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/transaction.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/transaction.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/transaction_output.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/transaction_output.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/transaction_output.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/transaction_output.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/types.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/types.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/types.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/types.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/utils/cbor.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/utils/cbor.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/utils/cbor.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/utils/cbor.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/utils/numbers.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/utils/numbers.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/utils/numbers.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/utils/numbers.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/utils/uuid.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/utils/uuid.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/utils/uuid.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/utils/uuid.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/witness.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/witness.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/lib/src/witness.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/lib/src/witness.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_cardano_serialization/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/pubspec.yaml rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/pubspec.yaml diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/test/address_test.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/test/address_test.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/test/address_test.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/test/address_test.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/test/builders/witness_builder_test.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/test/builders/witness_builder_test.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/test/builders/witness_builder_test.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/test/builders/witness_builder_test.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/test/fees_test.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/test/fees_test.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/test/fees_test.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/test/fees_test.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/test/hashes_test.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/test/hashes_test.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/test/hashes_test.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/test/hashes_test.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/test/rbac/auth_token_test.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/test/rbac/auth_token_test.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/test/rbac/auth_token_test.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/test/rbac/auth_token_test.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/test/rbac/registration_data_test.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/test/rbac/registration_data_test.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/test/rbac/registration_data_test.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/test/rbac/registration_data_test.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/test/rbac/x509_certificate_test.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/test/rbac/x509_certificate_test.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/test/rbac/x509_certificate_test.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/test/rbac/x509_certificate_test.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/test/scripts_test.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/test/scripts_test.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/test/scripts_test.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/test/scripts_test.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/test/signature_test.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/test/signature_test.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/test/signature_test.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/test/signature_test.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/test/test_utils/test_data.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/test/test_utils/test_data.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/test/test_utils/test_data.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/test/test_utils/test_data.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/test/transaction_output_test.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/test/transaction_output_test.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/test/transaction_output_test.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/test/transaction_output_test.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/test/transaction_test.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/test/transaction_test.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/test/transaction_test.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/test/transaction_test.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/test/types_test.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/test/types_test.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/test/types_test.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/test/types_test.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/test/utils/cbor_test.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/test/utils/cbor_test.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/test/utils/cbor_test.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/test/utils/cbor_test.dart diff --git a/catalyst_voices/packages/external/catalyst_cardano_serialization/test/utils/uuid_test.dart b/catalyst_voices/packages/libs/catalyst_cardano_serialization/test/utils/uuid_test.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cardano_serialization/test/utils/uuid_test.dart rename to catalyst_voices/packages/libs/catalyst_cardano_serialization/test/utils/uuid_test.dart diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/CHANGELOG.md b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/CHANGELOG.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression/CHANGELOG.md rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/CHANGELOG.md diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/LICENSE b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/LICENSE similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression/LICENSE rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/LICENSE diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/README.md b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/README.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression/README.md rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/README.md diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/analysis_options.yaml b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression/analysis_options.yaml rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/analysis_options.yaml diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/example/main.dart b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/example/main.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression/example/main.dart rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/example/main.dart diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/lib/catalyst_compression.dart b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/lib/catalyst_compression.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression/lib/catalyst_compression.dart rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/lib/catalyst_compression.dart diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/lib/src/catalyst_compression.dart b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/lib/src/catalyst_compression.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression/lib/src/catalyst_compression.dart rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/lib/src/catalyst_compression.dart diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression/pubspec.yaml rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/pubspec.yaml diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/CHANGELOG.md b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/CHANGELOG.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/CHANGELOG.md rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/CHANGELOG.md diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/LICENSE b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/LICENSE similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/LICENSE rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/LICENSE diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/README.md b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/README.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/README.md rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/README.md diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/analysis_options.yaml b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/analysis_options.yaml rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/analysis_options.yaml diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/example/main.dart b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/example/main.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/example/main.dart rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/example/main.dart diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/lib/catalyst_compression_platform_interface.dart b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/lib/catalyst_compression_platform_interface.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/lib/catalyst_compression_platform_interface.dart rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/lib/catalyst_compression_platform_interface.dart diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compression_platform.dart b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compression_platform.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compression_platform.dart rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compression_platform.dart diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compressor.dart b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compressor.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compressor.dart rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/lib/src/catalyst_compressor.dart diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_platform_interface/pubspec.yaml rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/pubspec.yaml diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/CHANGELOG.md b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/CHANGELOG.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/CHANGELOG.md rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/CHANGELOG.md diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/LICENSE b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/LICENSE similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/LICENSE rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/LICENSE diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/README.md b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/README.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/README.md rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/README.md diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/analysis_options.yaml b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/analysis_options.yaml rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/analysis_options.yaml diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression.js b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression.js similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression.js rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression.js diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression_worker.js b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression_worker.js similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression_worker.js rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/assets/js/catalyst_compression_worker.js diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/example/main.dart b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/example/main.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/example/main.dart rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/example/main.dart diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/lib/catalyst_compression_web.dart b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/lib/catalyst_compression_web.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/lib/catalyst_compression_web.dart rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/lib/catalyst_compression_web.dart diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/lib/src/interop/catalyst_compression_interop.dart b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/lib/src/interop/catalyst_compression_interop.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/lib/src/interop/catalyst_compression_interop.dart rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/lib/src/interop/catalyst_compression_interop.dart diff --git a/catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_compression/catalyst_compression_web/pubspec.yaml rename to catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/pubspec.yaml diff --git a/catalyst_voices/packages/external/catalyst_cose/CHANGELOG.md b/catalyst_voices/packages/libs/catalyst_cose/CHANGELOG.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_cose/CHANGELOG.md rename to catalyst_voices/packages/libs/catalyst_cose/CHANGELOG.md diff --git a/catalyst_voices/packages/external/catalyst_cose/LICENSE b/catalyst_voices/packages/libs/catalyst_cose/LICENSE similarity index 100% rename from catalyst_voices/packages/external/catalyst_cose/LICENSE rename to catalyst_voices/packages/libs/catalyst_cose/LICENSE diff --git a/catalyst_voices/packages/external/catalyst_cose/README.md b/catalyst_voices/packages/libs/catalyst_cose/README.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_cose/README.md rename to catalyst_voices/packages/libs/catalyst_cose/README.md diff --git a/catalyst_voices/packages/external/catalyst_cose/analysis_options.yaml b/catalyst_voices/packages/libs/catalyst_cose/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_cose/analysis_options.yaml rename to catalyst_voices/packages/libs/catalyst_cose/analysis_options.yaml diff --git a/catalyst_voices/packages/external/catalyst_cose/example/main.dart b/catalyst_voices/packages/libs/catalyst_cose/example/main.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cose/example/main.dart rename to catalyst_voices/packages/libs/catalyst_cose/example/main.dart diff --git a/catalyst_voices/packages/external/catalyst_cose/lib/catalyst_cose.dart b/catalyst_voices/packages/libs/catalyst_cose/lib/catalyst_cose.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cose/lib/catalyst_cose.dart rename to catalyst_voices/packages/libs/catalyst_cose/lib/catalyst_cose.dart diff --git a/catalyst_voices/packages/external/catalyst_cose/lib/src/catalyst_cose.dart b/catalyst_voices/packages/libs/catalyst_cose/lib/src/catalyst_cose.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cose/lib/src/catalyst_cose.dart rename to catalyst_voices/packages/libs/catalyst_cose/lib/src/catalyst_cose.dart diff --git a/catalyst_voices/packages/external/catalyst_cose/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_cose/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_cose/pubspec.yaml rename to catalyst_voices/packages/libs/catalyst_cose/pubspec.yaml diff --git a/catalyst_voices/packages/external/catalyst_cose/test/catalyst_cose_test.dart b/catalyst_voices/packages/libs/catalyst_cose/test/catalyst_cose_test.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_cose/test/catalyst_cose_test.dart rename to catalyst_voices/packages/libs/catalyst_cose/test/catalyst_cose_test.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/.gitignore b/catalyst_voices/packages/libs/catalyst_key_derivation/.gitignore similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/.gitignore rename to catalyst_voices/packages/libs/catalyst_key_derivation/.gitignore diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/.metadata b/catalyst_voices/packages/libs/catalyst_key_derivation/.metadata similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/.metadata rename to catalyst_voices/packages/libs/catalyst_key_derivation/.metadata diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/CHANGELOG.md b/catalyst_voices/packages/libs/catalyst_key_derivation/CHANGELOG.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/CHANGELOG.md rename to catalyst_voices/packages/libs/catalyst_key_derivation/CHANGELOG.md diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/LICENSE b/catalyst_voices/packages/libs/catalyst_key_derivation/LICENSE similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/LICENSE rename to catalyst_voices/packages/libs/catalyst_key_derivation/LICENSE diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/README.md b/catalyst_voices/packages/libs/catalyst_key_derivation/README.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/README.md rename to catalyst_voices/packages/libs/catalyst_key_derivation/README.md diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/analysis_options.yaml b/catalyst_voices/packages/libs/catalyst_key_derivation/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/analysis_options.yaml rename to catalyst_voices/packages/libs/catalyst_key_derivation/analysis_options.yaml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/android/.gitignore b/catalyst_voices/packages/libs/catalyst_key_derivation/android/.gitignore similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/android/.gitignore rename to catalyst_voices/packages/libs/catalyst_key_derivation/android/.gitignore diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/android/build.gradle b/catalyst_voices/packages/libs/catalyst_key_derivation/android/build.gradle similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/android/build.gradle rename to catalyst_voices/packages/libs/catalyst_key_derivation/android/build.gradle diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/android/settings.gradle b/catalyst_voices/packages/libs/catalyst_key_derivation/android/settings.gradle similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/android/settings.gradle rename to catalyst_voices/packages/libs/catalyst_key_derivation/android/settings.gradle diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/android/src/main/AndroidManifest.xml b/catalyst_voices/packages/libs/catalyst_key_derivation/android/src/main/AndroidManifest.xml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/android/src/main/AndroidManifest.xml rename to catalyst_voices/packages/libs/catalyst_key_derivation/android/src/main/AndroidManifest.xml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/.gitignore b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/.gitignore similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/.gitignore rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/.gitignore diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/LICENSE b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/LICENSE similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/LICENSE rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/LICENSE diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/README b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/README similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/README rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/README diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_pod.sh b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_pod.sh similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_pod.sh rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_pod.sh diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/.gitignore b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/.gitignore similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/.gitignore rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/.gitignore diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/README.md b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/README.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/README.md rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/README.md diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/analysis_options.yaml b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/analysis_options.yaml rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/analysis_options.yaml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/bin/build_tool.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/bin/build_tool.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/bin/build_tool.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/bin/build_tool.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/build_tool.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/build_tool.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/build_tool.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/build_tool.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/android_environment.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/android_environment.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/android_environment.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/android_environment.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/artifacts_provider.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/artifacts_provider.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/artifacts_provider.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/artifacts_provider.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_cmake.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/build_cmake.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_cmake.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/build_cmake.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_gradle.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/build_gradle.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_gradle.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/build_gradle.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_pod.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/build_pod.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_pod.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/build_pod.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_tool.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/build_tool.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/build_tool.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/build_tool.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/builder.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/builder.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/builder.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/builder.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/cargo.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/cargo.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/cargo.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/cargo.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/crate_hash.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/crate_hash.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/crate_hash.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/crate_hash.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/environment.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/environment.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/environment.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/environment.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/logging.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/logging.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/logging.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/logging.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/options.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/options.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/options.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/options.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/precompile_binaries.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/precompile_binaries.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/precompile_binaries.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/precompile_binaries.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/rustup.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/rustup.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/rustup.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/rustup.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/target.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/target.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/target.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/target.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/util.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/util.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/util.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/util.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/verify_binaries.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/verify_binaries.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/lib/src/verify_binaries.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/lib/src/verify_binaries.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/build_tool/pubspec.yaml rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/build_tool/pubspec.yaml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/cmake/cargokit.cmake b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/cmake/cargokit.cmake similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/cmake/cargokit.cmake rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/cmake/cargokit.cmake diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/cmake/resolve_symlinks.ps1 b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/cmake/resolve_symlinks.ps1 similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/cmake/resolve_symlinks.ps1 rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/cmake/resolve_symlinks.ps1 diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/gradle/plugin.gradle b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/gradle/plugin.gradle similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/gradle/plugin.gradle rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/gradle/plugin.gradle diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/run_build_tool.cmd b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/run_build_tool.cmd similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/run_build_tool.cmd rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/run_build_tool.cmd diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/cargokit/run_build_tool.sh b/catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/run_build_tool.sh similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/cargokit/run_build_tool.sh rename to catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/run_build_tool.sh diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/.gitignore b/catalyst_voices/packages/libs/catalyst_key_derivation/example/.gitignore similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/.gitignore rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/.gitignore diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/README.md b/catalyst_voices/packages/libs/catalyst_key_derivation/example/README.md similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/README.md rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/README.md diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/analysis_options.yaml b/catalyst_voices/packages/libs/catalyst_key_derivation/example/analysis_options.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/analysis_options.yaml rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/analysis_options.yaml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/.gitignore b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/.gitignore similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/.gitignore rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/.gitignore diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/build.gradle b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/build.gradle similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/build.gradle rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/build.gradle diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/debug/AndroidManifest.xml b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/debug/AndroidManifest.xml rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/debug/AndroidManifest.xml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/AndroidManifest.xml b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/AndroidManifest.xml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/AndroidManifest.xml rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/AndroidManifest.xml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/kotlin/com/example/catalyst_key_derivation_example/MainActivity.kt b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/kotlin/com/example/catalyst_key_derivation_example/MainActivity.kt similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/kotlin/com/example/catalyst_key_derivation_example/MainActivity.kt rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/kotlin/com/example/catalyst_key_derivation_example/MainActivity.kt diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/drawable-v21/launch_background.xml b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/drawable-v21/launch_background.xml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/drawable-v21/launch_background.xml rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/drawable-v21/launch_background.xml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/drawable/launch_background.xml b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/drawable/launch_background.xml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/drawable/launch_background.xml rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/drawable/launch_background.xml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/values-night/styles.xml b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/values-night/styles.xml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/values-night/styles.xml rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/values-night/styles.xml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/values/styles.xml b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/values/styles.xml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/main/res/values/styles.xml rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/main/res/values/styles.xml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/profile/AndroidManifest.xml b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/profile/AndroidManifest.xml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/app/src/profile/AndroidManifest.xml rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/app/src/profile/AndroidManifest.xml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/build.gradle b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/build.gradle similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/build.gradle rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/build.gradle diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/gradle.properties b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/gradle.properties similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/gradle.properties rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/gradle.properties diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/gradle/wrapper/gradle-wrapper.properties b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/gradle/wrapper/gradle-wrapper.properties rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/gradle/wrapper/gradle-wrapper.properties diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/android/settings.gradle b/catalyst_voices/packages/libs/catalyst_key_derivation/example/android/settings.gradle similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/android/settings.gradle rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/android/settings.gradle diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/.gitignore b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/.gitignore similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/.gitignore rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/.gitignore diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Flutter/AppFrameworkInfo.plist b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Flutter/AppFrameworkInfo.plist rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Flutter/AppFrameworkInfo.plist diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Flutter/Debug.xcconfig b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Flutter/Debug.xcconfig similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Flutter/Debug.xcconfig rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Flutter/Debug.xcconfig diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Flutter/Release.xcconfig b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Flutter/Release.xcconfig similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Flutter/Release.xcconfig rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Flutter/Release.xcconfig diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Podfile b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Podfile similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Podfile rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Podfile diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Podfile.lock b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Podfile.lock similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Podfile.lock rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Podfile.lock diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.pbxproj b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.pbxproj rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.pbxproj diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/AppDelegate.swift b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/AppDelegate.swift similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/AppDelegate.swift rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/AppDelegate.swift diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Base.lproj/Main.storyboard b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Base.lproj/Main.storyboard rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Base.lproj/Main.storyboard diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Info.plist b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Info.plist similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Info.plist rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Info.plist diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Runner-Bridging-Header.h b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Runner-Bridging-Header.h similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/Runner/Runner-Bridging-Header.h rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/Runner/Runner-Bridging-Header.h diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/ios/RunnerTests/RunnerTests.swift b/catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/RunnerTests/RunnerTests.swift similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/ios/RunnerTests/RunnerTests.swift rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/ios/RunnerTests/RunnerTests.swift diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/lib/main.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/example/lib/main.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/lib/main.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/lib/main.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/.gitignore b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/.gitignore similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/.gitignore rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/.gitignore diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Flutter/Flutter-Debug.xcconfig b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Flutter/Flutter-Debug.xcconfig similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Flutter/Flutter-Debug.xcconfig rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Flutter/Flutter-Debug.xcconfig diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Flutter/Flutter-Release.xcconfig b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Flutter/Flutter-Release.xcconfig similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Flutter/Flutter-Release.xcconfig rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Flutter/Flutter-Release.xcconfig diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Flutter/GeneratedPluginRegistrant.swift b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Flutter/GeneratedPluginRegistrant.swift similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Flutter/GeneratedPluginRegistrant.swift rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Flutter/GeneratedPluginRegistrant.swift diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Podfile b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Podfile similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Podfile rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Podfile diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Podfile.lock b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Podfile.lock similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Podfile.lock rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Podfile.lock diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.pbxproj b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.pbxproj similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.pbxproj rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.pbxproj diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcworkspace/contents.xcworkspacedata b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner.xcworkspace/contents.xcworkspacedata diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/AppDelegate.swift b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/AppDelegate.swift similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/AppDelegate.swift rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/AppDelegate.swift diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Base.lproj/MainMenu.xib b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Base.lproj/MainMenu.xib similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Base.lproj/MainMenu.xib rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Base.lproj/MainMenu.xib diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/AppInfo.xcconfig b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Configs/AppInfo.xcconfig similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/AppInfo.xcconfig rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Configs/AppInfo.xcconfig diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/Debug.xcconfig b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Configs/Debug.xcconfig similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/Debug.xcconfig rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Configs/Debug.xcconfig diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/Release.xcconfig b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Configs/Release.xcconfig similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/Release.xcconfig rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Configs/Release.xcconfig diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/Warnings.xcconfig b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Configs/Warnings.xcconfig similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Configs/Warnings.xcconfig rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Configs/Warnings.xcconfig diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/DebugProfile.entitlements b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/DebugProfile.entitlements similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/DebugProfile.entitlements rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/DebugProfile.entitlements diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Info.plist b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Info.plist similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Info.plist rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Info.plist diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/MainFlutterWindow.swift b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/MainFlutterWindow.swift similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/MainFlutterWindow.swift rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/MainFlutterWindow.swift diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Release.entitlements b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Release.entitlements similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/Runner/Release.entitlements rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/Runner/Release.entitlements diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/macos/RunnerTests/RunnerTests.swift b/catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/RunnerTests/RunnerTests.swift similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/macos/RunnerTests/RunnerTests.swift rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/macos/RunnerTests/RunnerTests.swift diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_key_derivation/example/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/pubspec.yaml rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/pubspec.yaml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/web/favicon.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/web/favicon.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/web/favicon.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/web/favicon.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-192.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/web/icons/Icon-192.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-192.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/web/icons/Icon-192.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-512.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/web/icons/Icon-512.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-512.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/web/icons/Icon-512.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-maskable-192.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/web/icons/Icon-maskable-192.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-maskable-192.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/web/icons/Icon-maskable-192.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-maskable-512.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/web/icons/Icon-maskable-512.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/Icon-maskable-512.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/web/icons/Icon-maskable-512.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/favicon.png b/catalyst_voices/packages/libs/catalyst_key_derivation/example/web/icons/favicon.png similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/web/icons/favicon.png rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/web/icons/favicon.png diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/web/index.html b/catalyst_voices/packages/libs/catalyst_key_derivation/example/web/index.html similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/web/index.html rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/web/index.html diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/example/web/manifest.json b/catalyst_voices/packages/libs/catalyst_key_derivation/example/web/manifest.json similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/example/web/manifest.json rename to catalyst_voices/packages/libs/catalyst_key_derivation/example/web/manifest.json diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/flutter_rust_bridge.yaml b/catalyst_voices/packages/libs/catalyst_key_derivation/flutter_rust_bridge.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/flutter_rust_bridge.yaml rename to catalyst_voices/packages/libs/catalyst_key_derivation/flutter_rust_bridge.yaml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/ios/Classes/dummy_file.c b/catalyst_voices/packages/libs/catalyst_key_derivation/ios/Classes/dummy_file.c similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/ios/Classes/dummy_file.c rename to catalyst_voices/packages/libs/catalyst_key_derivation/ios/Classes/dummy_file.c diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/ios/catalyst_key_derivation.podspec b/catalyst_voices/packages/libs/catalyst_key_derivation/ios/catalyst_key_derivation.podspec similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/ios/catalyst_key_derivation.podspec rename to catalyst_voices/packages/libs/catalyst_key_derivation/ios/catalyst_key_derivation.podspec diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/lib/catalyst_key_derivation.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/catalyst_key_derivation.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/lib/catalyst_key_derivation.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/lib/catalyst_key_derivation.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/api/simple.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/api/simple.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/api/simple.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/api/simple.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/frb_generated.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/frb_generated.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart rename to catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/macos/Classes/dummy_file.c b/catalyst_voices/packages/libs/catalyst_key_derivation/macos/Classes/dummy_file.c similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/macos/Classes/dummy_file.c rename to catalyst_voices/packages/libs/catalyst_key_derivation/macos/Classes/dummy_file.c diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/macos/catalyst_key_derivation.podspec b/catalyst_voices/packages/libs/catalyst_key_derivation/macos/catalyst_key_derivation.podspec similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/macos/catalyst_key_derivation.podspec rename to catalyst_voices/packages/libs/catalyst_key_derivation/macos/catalyst_key_derivation.podspec diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_key_derivation/pubspec.yaml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/pubspec.yaml rename to catalyst_voices/packages/libs/catalyst_key_derivation/pubspec.yaml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/run.sh b/catalyst_voices/packages/libs/catalyst_key_derivation/run.sh similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/run.sh rename to catalyst_voices/packages/libs/catalyst_key_derivation/run.sh diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/rust/.gitignore b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/.gitignore similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/rust/.gitignore rename to catalyst_voices/packages/libs/catalyst_key_derivation/rust/.gitignore diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/rust/Cargo.toml b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Cargo.toml similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/rust/Cargo.toml rename to catalyst_voices/packages/libs/catalyst_key_derivation/rust/Cargo.toml diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/rust/src/api/mod.rs b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/mod.rs similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/rust/src/api/mod.rs rename to catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/mod.rs diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/rust/src/api/simple.rs b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/simple.rs similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/rust/src/api/simple.rs rename to catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/simple.rs diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/rust/src/frb_generated.rs b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/frb_generated.rs similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/rust/src/frb_generated.rs rename to catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/frb_generated.rs diff --git a/catalyst_voices/packages/external/catalyst_key_derivation/rust/src/lib.rs b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/lib.rs similarity index 100% rename from catalyst_voices/packages/external/catalyst_key_derivation/rust/src/lib.rs rename to catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/lib.rs From f0d301f7808facd115cb376773f5b4583e01f168 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Wed, 30 Oct 2024 11:37:41 +0100 Subject: [PATCH 18/89] docs: update README --- README.md | 4 ++-- catalyst_voices/README.md | 30 +++++++++++++++--------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 297cdf93f3..0db0356cfb 100644 --- a/README.md +++ b/README.md @@ -62,8 +62,8 @@ The backend services for Catalyst Voices. Shared Flutter and Dart packages used across the Catalyst. -* **Directory**: [catalyst_voices_packages](https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/external) -* **Setup**: Navigate to ./catalyst_voices_packages. +* **Directory**: [catalyst_voices_packages](https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/libs) +* **Setup**: Navigate to ./catalyst_voices/packages/libs. * **Documentation**: [Link to detailed documentation or Wiki] ## Development diff --git a/catalyst_voices/README.md b/catalyst_voices/README.md index 82ee43c332..831b18ad42 100644 --- a/catalyst_voices/README.md +++ b/catalyst_voices/README.md @@ -46,16 +46,16 @@ melos bootstrap -| Package | Description | Example | -|-----------------------------------|--------------------------|-----------| -| [catalyst_voices_assets](./packages/catalyst_voices_assets/) | Assets used in Catalyst Voices |[example](./packages/catalyst_voices_assets/example/lib/src/main.dart)| -| [catalyst_voices_blocs](./packages/catalyst_voices_blocs/) | State management of Catalyst Voices |[example](./packages/catalyst_voices_blocs/)| -| [catalyst_voices_localization](./packages/catalyst_voices_localization/) | Localization files for Catalyst Voices |[example](./packages/catalyst_voices_localization/)| -| [catalyst_voices_models](./packages/catalyst_voices_models/) | Models |[example](./packages/catalyst_voices_models/)| -| [catalyst_voices_repositories](./packages/catalyst_voices_repositories/) | Repositories |[example](./packages/catalyst_voices_repositories/)| -| [catalyst_voices_services](./packages/catalyst_voices_services/) | Services |[example](./packages/catalyst_voices_services/)| -| [catalyst_voices_shared](./packages/catalyst_voices_shared/) | Shared code |[example](./packages/catalyst_voices_shared/)| -| [catalyst_voices_view_models](./packages/catalyst_voices_view_models/) | ViewModels |[example](./packages/catalyst_voices_view_models/)| +| Package | Description | Example | +|--------------------------------------------------------------------------|--------------------------|-----------| +| [catalyst_voices_assets](./packages/internal/catalyst_voices_assets/) | Assets used in Catalyst Voices |[example](./packages/internal/catalyst_voices_assets/example/lib/src/main.dart)| +| [catalyst_voices_blocs](./packages/internal/catalyst_voices_blocs/) | State management of Catalyst Voices |[example](./packages/internal/catalyst_voices_blocs/)| +| [catalyst_voices_localization](./packages/internal/catalyst_voices_localization/) | Localization files for Catalyst Voices |[example](./packages/internal/catalyst_voices_localization/)| +| [catalyst_voices_models](./packages/internal/catalyst_voices_models/) | Models |[example](./packages/internal/catalyst_voices_models/)| +| [catalyst_voices_repositories](./packages/internal/catalyst_voices_repositories/) | Repositories |[example](./packages/internal/catalyst_voices_repositories/)| +| [catalyst_voices_services](./packages/internal/catalyst_voices_services/) | Services |[example](./packages/internal/catalyst_voices_services/)| +| [catalyst_voices_shared](./packages/internal/catalyst_voices_shared/) | Shared code |[example](./packages/internal/catalyst_voices_shared/)| +| [catalyst_voices_view_models](./packages/internal/catalyst_voices_view_models/) | ViewModels |[example](./packages/internal/catalyst_voices_view_models/)| ### Flavors @@ -70,16 +70,16 @@ To run the desired flavor, either use the launch configuration in VSCode/Android ```sh # Development -flutter run --flavor dev --target lib/configs/main_dev.dart +flutter run --flavor dev --target apps/voices/lib/configs/main_dev.dart # QA -flutter run --flavor qa --target lib/configs/main_qa.dart +flutter run --flavor qa --target apps/voices/lib/configs/main_qa.dart # Pre-Production -flutter run --flavor preprod --target lib/configs/main_preprod.dart +flutter run --flavor preprod --target apps/voices/lib/configs/main_preprod.dart # Production -flutter run --flavor prod --target lib/configs/main_prod.dart +flutter run --flavor prod --target apps/voices/lib/configs/main_prod.dart ``` >Catalyst Voices works on the Web only. @@ -94,7 +94,7 @@ For example if you need to pass `SENTRY_DSN` as environment variable, you can use the following command: ```sh -flutter build web --target lib/configs/main_web.dart --dart-define SENTRY_DSN=REPLACE_WITH_SENTRY_DSN_URL +flutter build web --target apps/voices/lib/configs/main_web.dart --dart-define SENTRY_DSN=REPLACE_WITH_SENTRY_DSN_URL ``` ## Running Tests From f4dd7b2337046aa4f3a6872be08b9bbee2769496 Mon Sep 17 00:00:00 2001 From: Dominik Toton Date: Wed, 30 Oct 2024 12:04:56 +0100 Subject: [PATCH 19/89] style: dart lint issues --- .../example/lib/main.dart | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart b/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart index fe0daf66b8..72c8b26db4 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart @@ -1,4 +1,4 @@ -import 'dart:js_interop'; +// ignore_for_file: avoid_print import 'package:catalyst_key_derivation/catalyst_key_derivation.dart'; import 'package:flutter/material.dart'; @@ -36,13 +36,15 @@ class MyApp extends StatelessWidget { } Future _doMagic() async { - // ignore: avoid_print - U8Array96 xprv = await mnemonicToXprv( - mnemonic: - "prevent company field green slot measure chief hero apple task eagle sunset endorse dress seed"); + final xprv = await mnemonicToXprv( + mnemonic: 'prevent company field green slot measure chief' + ' hero apple task eagle sunset endorse dress seed', + ); print(xprv); - U8Array96 derive_xprv = await deriveXprivateKey( - xprivateKeyBytes: xprv, path: "m/1852'/1815'/0'/2/0"); - print(derive_xprv); + final deriveXprv = await deriveXprivateKey( + xprivateKeyBytes: xprv, + path: "m/1852'/1815'/0'/2/0", + ); + print(deriveXprv); } } From e0cde313e1ed2541cb2f052e953a97bb651b767b Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Wed, 30 Oct 2024 12:13:39 +0100 Subject: [PATCH 20/89] fix: builder target --- Earthfile | 14 ++------------ catalyst_voices/Earthfile | 3 ++- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/Earthfile b/Earthfile index 10f2aff2b1..70a9a62683 100644 --- a/Earthfile +++ b/Earthfile @@ -43,22 +43,12 @@ repo-docs: SAVE ARTIFACT /repo repo -# repo-catalyst-voices-packages - Create artifacts of catalyst_voices_packages -# we need to refer to in other earthly targets. -repo-catalyst-voices-packages: - FROM scratch - - WORKDIR /repo - COPY --dir catalyst_voices_packages . - - SAVE ARTIFACT /repo repo - # repo-catalyst-voices-all - Creates artifacts of all configuration files, # packages and folders related to catalyst_voices frontend. -repo-catalyst-voices-all: +repo-catalyst-voices: FROM scratch WORKDIR /repo - COPY --dir catalyst_voices catalyst_voices_packages utilities melos.yaml pubspec.yaml . + COPY --dir catalyst_voices . SAVE ARTIFACT /repo repo \ No newline at end of file diff --git a/catalyst_voices/Earthfile b/catalyst_voices/Earthfile index 247283aadc..a3a60298f5 100644 --- a/catalyst_voices/Earthfile +++ b/catalyst_voices/Earthfile @@ -6,7 +6,8 @@ IMPORT github.com/input-output-hk/catalyst-ci/earthly/flutter:v3.2.18 AS flutter # Copy all the necessary files and running bootstrap builder: DO flutter-ci+SETUP - COPY ../+repo-catalyst-voices-all/repo . + COPY ../+repo-catalyst-voices/repo . + WORKDIR catalyst_voices DO flutter-ci+BOOTSTRAP # Generates flutter code. From 665a38c0519630ec3b4a4340682407f310b3cafb Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Wed, 30 Oct 2024 13:59:35 +0100 Subject: [PATCH 21/89] fix: update paths in Earthfile --- catalyst_voices/Earthfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/catalyst_voices/Earthfile b/catalyst_voices/Earthfile index a3a60298f5..efbea06932 100644 --- a/catalyst_voices/Earthfile +++ b/catalyst_voices/Earthfile @@ -19,10 +19,10 @@ code-generator: ARG save_locally=false LET gen_code_path = lib/generated/catalyst_gateway - LET local_gen_code_path = packages/catalyst_voices_services/lib/generated/catalyst_gateway/ + LET local_gen_code_path = packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/ FROM +builder - WORKDIR catalyst_voices/packages/catalyst_voices_services + WORKDIR catalyst_voices/packages/internal/catalyst_voices_services COPY catalyst-gateway+build/doc/cat-gateway-api.json openapi/cat-gateway-api.json DO flutter-ci+OPENAPI_CODE_GEN \ --SAVE_LOCALLY=$save_locally \ @@ -35,7 +35,7 @@ code-generator: test-flutter-code-generator: FROM +code-generator # Copy generated files in the local file tree to a temporary folder - COPY packages/catalyst_voices_services/lib/generated/catalyst_gateway /tmp/repo_generated + COPY packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway /tmp/repo_generated # Check diff between local code and earthly artifacts RUN diff /tmp/repo_generated lib/generated/catalyst_gateway @@ -72,9 +72,9 @@ build-web: ARG WORKDIR=/frontend/catalyst_voices IF [ $RUN_ON_PR = true ] - DO flutter-ci+BUILD_WEB --WORKDIR=$WORKDIR --BUILD_MODE='--profile' --TARGET=lib/configs/main_web.dart + DO flutter-ci+BUILD_WEB --WORKDIR=$WORKDIR --BUILD_MODE='--profile' --TARGET=apps/voices/lib/configs/main_web.dart ELSE - DO flutter-ci+BUILD_WEB --WORKDIR=$WORKDIR --TARGET=lib/configs/main_web.dart --SENTRY_DSN=$SENTRY_DSN + DO flutter-ci+BUILD_WEB --WORKDIR=$WORKDIR --TARGET=apps/voices/lib/configs/main_web.dart --SENTRY_DSN=$SENTRY_DSN SAVE ARTIFACT web END From 9057dab4a3642973c210df515025032537ce0414 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Wed, 30 Oct 2024 14:00:35 +0100 Subject: [PATCH 22/89] fix: uikit_example pubspec + libs examples deps override --- catalyst_voices/melos.yaml | 2 -- catalyst_voices/utilities/uikit_example/pubspec.yaml | 12 ++++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/catalyst_voices/melos.yaml b/catalyst_voices/melos.yaml index 35aeeacdec..ac710fa6f1 100644 --- a/catalyst_voices/melos.yaml +++ b/catalyst_voices/melos.yaml @@ -8,8 +8,6 @@ packages: - utilities/** ignore: - - packages/internal/**/example - - packages/libs/**/example # ignores flutter_rust_bridge packages that are non-conformant with melos - packages/libs/catalyst_key_derivation/example/** diff --git a/catalyst_voices/utilities/uikit_example/pubspec.yaml b/catalyst_voices/utilities/uikit_example/pubspec.yaml index d2bf9e599d..153a9da185 100644 --- a/catalyst_voices/utilities/uikit_example/pubspec.yaml +++ b/catalyst_voices/utilities/uikit_example/pubspec.yaml @@ -11,17 +11,17 @@ dependencies: catalyst_voices: path: ../../ catalyst_voices_assets: - path: ../../packages/catalyst_voices_assets + path: ../../packages/internal/catalyst_voices_assets catalyst_voices_blocs: - path: ../../packages/catalyst_voices_blocs + path: ../../packages/internal/catalyst_voices_blocs catalyst_voices_brands: - path: ../../packages/catalyst_voices_brands + path: ../../packages/internal/catalyst_voices_brands catalyst_voices_localization: - path: ../../packages/catalyst_voices_localization + path: ../../packages/internal/catalyst_voices_localization catalyst_voices_models: - path: ../../packages/catalyst_voices_models + path: ../../packages/internal/catalyst_voices_models catalyst_voices_shared: - path: ../../packages/catalyst_voices_shared + path: ../../packages/internal/catalyst_voices_shared collection: ^1.18.0 cupertino_icons: ^1.0.6 flutter: From 75266d265364bc323183356228379193b9146b01 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Wed, 30 Oct 2024 14:09:18 +0100 Subject: [PATCH 23/89] chore: test --- catalyst_voices/.idea/modules.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/catalyst_voices/.idea/modules.xml b/catalyst_voices/.idea/modules.xml index 8e7d90f4ee..fc30172bb9 100644 --- a/catalyst_voices/.idea/modules.xml +++ b/catalyst_voices/.idea/modules.xml @@ -5,6 +5,7 @@ + @@ -13,8 +14,10 @@ + + @@ -24,6 +27,7 @@ + From 5bcc56d642e333431d0fb04ceb30e90466e27e54 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Wed, 30 Oct 2024 15:12:22 +0100 Subject: [PATCH 24/89] fix: update cspell and check markdown rules --- .markdownlint-cli2.jsonc | 4 ++-- cspell.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.markdownlint-cli2.jsonc b/.markdownlint-cli2.jsonc index cffcf00201..4bfa843268 100644 --- a/.markdownlint-cli2.jsonc +++ b/.markdownlint-cli2.jsonc @@ -11,8 +11,8 @@ ".config/dictionaries/**", "catalyst-gateway/target/**", "CHANGELOG.md", - "catalyst_voices_packages/**/CHANGELOG.md", - "catalyst_voices_packages/**/cargokit/**", + "catalyst_voices/packages/libs/**/CHANGELOG.md", + "catalyst_voices/packages/libs/**/cargokit/**", "catalyst_voices/macos/Pods/**", "**/node_modules/**", "**/.dart_tool/**" diff --git a/cspell.json b/cspell.json index bbef212a9f..bb45c271fb 100644 --- a/cspell.json +++ b/cspell.json @@ -176,9 +176,9 @@ "web-components.min.js", "**/generated/**", "**/GeneratedPluginRegistrant.swift", - "catalyst_voices_packages/catalyst_key_derivation/cargokit/**", - "utilities/catalyst_voices_remote_widgets/example/**/**", - "utilities/poc_local_storage/**/**", + "catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/**", + "catalyst_voices/utilities/catalyst_voices_remote_widgets/example/**/**", + "catalyst_voices/utilities/poc_local_storage/**/**", "**/*.svg" ], "enableFiletypes": [ From b02550d3ef47d7d84b9f3d0b453b656c08ed36dd Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Wed, 30 Oct 2024 15:52:12 +0100 Subject: [PATCH 25/89] fix: README formatting --- .config/dictionaries/project.dic | 26 ++++++++++++-------------- README.md | 15 ++++++++++----- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/.config/dictionaries/project.dic b/.config/dictionaries/project.dic index 838cf80397..8e9b8a3881 100644 --- a/.config/dictionaries/project.dic +++ b/.config/dictionaries/project.dic @@ -2,6 +2,7 @@ aapt aarch abnf addr +addrof addrr adminer afinet @@ -10,6 +11,7 @@ anypolicy appbar appspot Arbritrary +ARCHS ARGB Arissara asmjs @@ -28,8 +30,10 @@ bluefireteam BROTLI canvaskit cardano +cargokit carryforward Catalyst +cbindgen CBOR cborg cborseq @@ -78,6 +82,7 @@ earthfile Easterling eddsa Edgedriver +Embedder emurgo encryptor endfunction @@ -115,6 +120,7 @@ interps inversed iohk iphoneos +iphonesimulator jdbc jetbrains Joaquín @@ -139,12 +145,14 @@ libasound libatk libatspi libavcodec +libcatalyst libdrm libflutter libgbm libnss libxkbcommon libxshmfence +Lifetimeable lintfix localizable loguru @@ -160,6 +168,7 @@ miniaturizable minicbor mithril mitigations +mocktail moderations moka msedgedriver @@ -190,6 +199,7 @@ pinenacl plpgsql podfile podhelper +Podspec postcss Pozhylenkov Precache @@ -238,8 +248,10 @@ servernum serviceworker slotno sqlfluff +SRCROOT sslmode sstableinfo +staticlib Stefano stevenj stringzilla @@ -305,17 +317,3 @@ xctestrun xcworkspace xvfb yoroi -Pbkdf2 -Embedder -Podspec -podspec -ARCHS -iphonesimulator -cargokit -SRCROOT -libcatalyst -staticlib -addrof -Lifetimeable -cbindgen -mocktail \ No newline at end of file diff --git a/README.md b/README.md index 0db0356cfb..7a000f307e 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,8 @@ Welcome to the Catalyst Voices mono repo, where we manage and maintain the inter ## Overview This monorepo serves as a unified codebase for the Catalyst Voices ecosystem projects. -Using a monorepo simplifies our dependency management, streamlines testing, and fosters code sharing. +Using a monorepo simplifies our dependency management, streamlines testing, and fosters code +sharing. ## Getting Started @@ -46,7 +47,8 @@ Athena is our [brief description of what Athena does]. Catalyst Voices frontend. -* **Directory**: [catalyst_voices](https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices) +* **Directory + **: [catalyst_voices](https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices) * **Setup**: Navigate to ./catalyst_voices. * **Documentation**: [Link to detailed documentation or Wiki] @@ -54,7 +56,8 @@ Catalyst Voices frontend. The backend services for Catalyst Voices. -* **Directory**: [catalyst-voices-backend](https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst-gateway) +* **Directory + **: [catalyst-voices-backend](https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst-gateway) * **Setup**: Navigate to ./catalyst-gateway. * **Documentation**: [Link to detailed documentation or Wiki] @@ -62,7 +65,8 @@ The backend services for Catalyst Voices. Shared Flutter and Dart packages used across the Catalyst. -* **Directory**: [catalyst_voices_packages](https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/libs) +* **Directory + **: [catalyst_voices_packages](https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/libs) * **Setup**: Navigate to ./catalyst_voices/packages/libs. * **Documentation**: [Link to detailed documentation or Wiki] @@ -79,7 +83,8 @@ Please read our [CONTRIBUTING](CONTRIBUTING.md) for guidelines on how to contrib ## License -Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or [MIT license](LICENSE-MIT) at your option. +Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or [MIT license](LICENSE-MIT) +at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall From e45f1a5725bd0843c539b1cfd6b81ce19cce9988 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Thu, 31 Oct 2024 13:18:45 +0700 Subject: [PATCH 26/89] fix: add description to module Signed-off-by: bkioshn --- .../catalyst_key_derivation/rust/src/api/mod.rs | 2 ++ .../catalyst_key_derivation/rust/src/lib.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/mod.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/mod.rs index c7c336ca4b..13a92cfbee 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/mod.rs +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/mod.rs @@ -1 +1,3 @@ +//! Module for the Catalyst key derivation library. + pub mod key_derivation; diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/lib.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/lib.rs index cbb071f8bf..998f645663 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/lib.rs +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/lib.rs @@ -1,2 +1,4 @@ +//! Catalyst Key Derivation + pub mod api; mod frb_generated; From 63ef11f0c147030b77f448ea79851349ffc034fb Mon Sep 17 00:00:00 2001 From: bkioshn Date: Thu, 31 Oct 2024 13:19:32 +0700 Subject: [PATCH 27/89] fix: add cspell dict Signed-off-by: bkioshn --- .config/dictionaries/project.dic | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/dictionaries/project.dic b/.config/dictionaries/project.dic index 6dd081d26e..7e4dec09cc 100644 --- a/.config/dictionaries/project.dic +++ b/.config/dictionaries/project.dic @@ -318,5 +318,7 @@ xctestrun xcworkspace xprivate xprv +xpub +xpublic xvfb yoroi From c056496c39aebab064b361feee62a448a4dbc12a Mon Sep 17 00:00:00 2001 From: bkioshn Date: Thu, 31 Oct 2024 13:20:04 +0700 Subject: [PATCH 28/89] feat: add sign data, verify sig, get pubkey Signed-off-by: bkioshn --- .../rust/src/api/key_derivation/mod.rs | 263 +++++++++++++++--- 1 file changed, 222 insertions(+), 41 deletions(-) diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs index 8f9b28e521..4d3ce0271c 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs @@ -1,15 +1,16 @@ //! Cardano deterministic key hierarchy using BIP-0039 module. -//! +//! //! This module provides functions necessary to handle deterministic key derivation //! using BIP-0039 mnemonics. use bip32::DerivationPath; use bip39::Mnemonic; -pub use ed25519_bip32::{DerivationIndex, DerivationScheme, XPrv}; +pub use ed25519_bip32::{DerivationIndex, DerivationScheme, Signature, XPrv, XPub}; +use flutter_rust_bridge::spawn_blocking_with; use hmac::Hmac; use pbkdf2::pbkdf2; use sha2::Sha512; -use flutter_rust_bridge::spawn_blocking_with; + use crate::frb_generated::FLUTTER_RUST_BRIDGE_HANDLER; /// Extended private key bytes type. @@ -18,11 +19,17 @@ use crate::frb_generated::FLUTTER_RUST_BRIDGE_HANDLER; /// - 32 Bytes: chain code pub type XPrvBytes = [u8; 96]; +/// Extended public key bytes type. +pub type XPubBytes = [u8; 64]; + +/// Signature bytes type. +pub type SignatureBytes = [u8; 64]; + /// Generate a new extended private key (`XPrv`) from a mnemonic and passphrase. /// Note that this function only works with BIP-0039 mnemonics. /// For more information: Cardano Icarus master node derivation -/// https://github.com/satoshilabs/slips/blob/master/slip-0023.md -/// +/// +/// /// # Arguments /// /// - `mnemonic`: A string representing the mnemonic. @@ -31,39 +38,47 @@ pub type XPrvBytes = [u8; 96]; /// # Returns /// /// Returns a bytes of extended private key as a `Result`. -pub async fn mnemonic_to_xprv(mnemonic: String, passphrase: Option) -> anyhow::Result { +/// +/// # Errors +/// +/// Returns an error if the mnemonic is invalid. +pub async fn mnemonic_to_xprv( + mnemonic: String, passphrase: Option, +) -> anyhow::Result { let xprv = spawn_blocking_with( move || mnemonic_to_xprv_helper(mnemonic, passphrase), FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), ) - .await - .map_err(|e| anyhow::anyhow!("{e}"))??; + .await??; Ok(xprv.into()) } - /// Helper function for `mnemonic_to_xprv`. -/// +/// /// # Steps -/// +/// /// This implementation follows SLIP-0023 - Cardano Icarus master node derivation -/// +/// /// 1. Let `mnemonic` be a BIP-0039 mnemonic and `passphrase`be the passphrase. /// 2. Determine entropy that was used to generate `mnemonic`. -/// 3. Compute `pbkdf2_result` = PBKDF2-HMAC-SHA512(password = `passphrase`, salt = `entropy`, iterations = 4096, dkLen = 96). -/// 4. given `pbkdf2_result` is S, modify S by assigning S[0] := S[0] & 0xf8 and S[31] := (S[31] & 0x1f) | 0x40. -/// 5. The result will be -/// - kL where S[0:32] a 256-bit integer in little-endian byte order. -/// - kR where S[32:64] -/// - Result in (kL, kR) as the root extended private key and c := S[64:96] as the root chain code. +/// 3. Compute `pbkdf2_result` = PBKDF2-HMAC-SHA512(password = `passphrase`, salt = +/// `entropy`, iterations = 4096, dkLen = 96). +/// 4. given `pbkdf2_result` is S, modify S by assigning S[0] := S[0] & 0xf8 and S[31] := +/// (S[31] & 0x1f) | 0x40. +/// 5. The result will be +/// - kL where S[0:32] a 256-bit integer in little-endian byte order. +/// - kR where S[32:64] +/// - Result in (kL, kR) as the root extended private key and c := S[64:96] as the +/// root chain code. fn mnemonic_to_xprv_helper(mnemonic: String, passphrase: Option) -> anyhow::Result { /// 4096 is the number of iterations for PBKDF2. const ITER: u32 = 4096; // Parse will detect language and check mnemonic valid length // 12, 15, 18, 21, 24 are valid mnemonic length - let mnemonic = Mnemonic::parse(mnemonic).map_err(|e| anyhow::anyhow!("Invalid mnemonic: {e}"))?; + let mnemonic = + Mnemonic::parse(mnemonic).map_err(|e| anyhow::anyhow!("Invalid mnemonic: {e}"))?; let entropy = mnemonic.to_entropy(); @@ -84,44 +99,200 @@ fn mnemonic_to_xprv_helper(mnemonic: String, passphrase: Option) -> anyh /// /// # Arguments /// -/// - `xprivate_key_bytes`: An extended private key bytes of type `XPrvBytes`. +/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. /// /// # Returns /// /// Returns a bytes of extended private key as a `Result`. -pub async fn derive_xprivate_key(xprivate_key_bytes: XPrvBytes, path: String) -> anyhow::Result { +/// +/// # Errors +/// +/// Returns an error if the derivation path is invalid. +// &str is not supported in flutter_rust_bridge +#[allow(clippy::needless_pass_by_value)] +pub async fn derive_xprv(xprv_bytes: XPrvBytes, path: String) -> anyhow::Result { let derive_xprv = spawn_blocking_with( move || { - let xprv = XPrv::from_bytes_verified(xprivate_key_bytes)?; - derive_xprivate_key_helper(xprv, path) + let xprv = XPrv::from_bytes_verified(xprv_bytes)?; + derive_xprv_helper(xprv, &path) }, FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), ) - .await - .map_err(|e| anyhow::anyhow!("{e}"))??; + .await??; Ok(derive_xprv.into()) } -/// Helper function for `derive_xprivate_key``. -fn derive_xprivate_key_helper(xprivate_key: XPrv, path: String) -> anyhow::Result { +/// Helper function for `derive_xprv`. +fn derive_xprv_helper(xprv: XPrv, path: &str) -> anyhow::Result { let Ok(derivation_path) = path.parse::() else { return Err(anyhow::anyhow!("Invalid derivation path: {path}")); }; - let key = derivation_path - .iter() - .fold(xprivate_key, |xprv, child_num| { - if child_num.is_hardened() { - // i >= 2^31 is a hardened derivation - xprv.derive(DerivationScheme::V2, child_num.index() | 0x80_00_00_00) - } else { - xprv.derive(DerivationScheme::V2, child_num.index()) - } - }); + let key = derivation_path.iter().fold(xprv, |xprv, child_num| { + if child_num.is_hardened() { + // i >= 2^31 is a hardened derivation + xprv.derive(DerivationScheme::V2, child_num.index() | 0x80_00_00_00) + } else { + xprv.derive(DerivationScheme::V2, child_num.index()) + } + }); Ok(key) } +/// Get public key from the given extended private key. +/// +/// # Arguments +/// +/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. +/// +/// # Returns +/// +/// Returns a 64 length bytes `XPubBytes` representing the public key. +/// +/// # Errors +/// +/// Returns an error if the private key is invalid. +pub async fn xpublic_key(xprv_bytes: XPrvBytes) -> anyhow::Result { + let xpublic_key = spawn_blocking_with( + move || { + let xprv = match XPrv::from_bytes_verified(xprv_bytes) { + Ok(xprv) => xprv, + Err(e) => return Err(anyhow::anyhow!(e)), + }; + Ok(xpublic_key_helper(&xprv)) + }, + FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), + ) + .await??; + + Ok(Into::<[u8; 64]>::into(xpublic_key)) +} + +/// Helper function for `xpublic_key`. +fn xpublic_key_helper(xprv: &XPrv) -> XPub { + xprv.public() +} + +/// Sign data with the given extended private key. +/// +/// # Arguments +/// +/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. +/// - `data`: The data to sign. +/// +/// # Returns +/// Returns a 64 length bytes `SignatureBytes` representing the signature. +/// +/// # Errors +/// +/// Returns an error if the private key is invalid. +pub async fn sign_data(xprv_bytes: XPrvBytes, data: Vec) -> anyhow::Result { + let signature = spawn_blocking_with( + move || { + let xprv = match XPrv::from_bytes_verified(xprv_bytes) { + Ok(xprv) => xprv, + Err(e) => return Err(anyhow::anyhow!(e)), + }; + Ok(sign_data_helper(&xprv, &data)) + }, + FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), + ) + .await??; + + Ok(*signature.to_bytes()) +} + +/// Helper function for `sign_data`. +fn sign_data_helper(xprv: &XPrv, data: &[u8]) -> Signature { + xprv.sign(data) +} + +/// Check the signature on the given data using extended private key. +/// +/// # Arguments +/// +/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. +/// - `data`: The data to sign. +/// - `signature`: The signature to check. +/// +/// # Returns +/// Returns a boolean value indicating if the signature match the sign data +/// True if the signature is valid and match the sign data, false otherwise. +/// +/// # Errors +/// +/// Returns an error if the private key or signature is invalid. +pub async fn check_signature_xprv( + xprv_bytes: XPrvBytes, data: Vec, signature: SignatureBytes, +) -> anyhow::Result { + let result = spawn_blocking_with( + move || -> anyhow::Result { + // Verify the signature. + let verified_sig: Signature = match Signature::from_slice(&signature) { + Ok(sig) => sig, + // Invalid signature, force return false. + Err(_) => return Ok(false), + }; + let xprv = XPrv::from_bytes_verified(xprv_bytes)?; + Ok(check_signature_xprv_helper(&xprv, &data, verified_sig)) + }, + FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), + ) + .await??; + + Ok(result) +} + +/// Helper function for `check_signature`. +pub(crate) fn check_signature_xprv_helper( + xprv: &XPrv, data: &[u8], signature: Signature, +) -> bool { + xprv.verify(data, &signature) +} + +/// Check the signature on the given data using extended public key. +/// +/// # Arguments +/// +/// - `xpub_bytes`: An extended public key bytes of type `XPubBytes`. +/// - `data`: The data to sign. +/// - `signature`: The signature to check. +/// +/// # Returns +/// Returns a boolean value indicating if the signature match the sign data +/// True if the signature is valid and match the sign data, false otherwise. +/// +/// # Errors +/// +/// Returns an error if the public key or signature is invalid. +pub async fn check_signature_xpub( + xpub_bytes: XPubBytes, data: Vec, signature: SignatureBytes, +) -> anyhow::Result { + let result = spawn_blocking_with( + move || -> anyhow::Result { + let verified_sig: Signature = match Signature::from_slice(&signature) { + Ok(sig) => sig, + // Invalid signature, force return false. + Err(_) => return Ok(false), + }; + let xprv = XPub::from_bytes(xpub_bytes); + Ok(check_signature_xpub_helper(&xprv, &data, verified_sig)) + }, + FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), + ) + .await??; + + Ok(result) +} + +/// Helper function for `check_signature`. +pub(crate) fn check_signature_xpub_helper( + xpublic_key: &XPub, data: &[u8], signature: Signature, +) -> bool { + xpublic_key.verify(data, &signature) +} + #[cfg(test)] mod test { @@ -139,9 +310,19 @@ mod test { #[test] fn test_key_derivation() { let xprv = mnemonic_to_xprv_helper(MNEMONIC.to_string(), None).unwrap(); - let path = "m/1852'/1815'/0'/2/0".to_string(); - let derive_xprv = derive_xprivate_key_helper(xprv, path).unwrap(); - assert_eq!(derive_xprv.to_string(), + let path = "m/1852'/1815'/0'/2/0"; + let derive_xprv = derive_xprv_helper(xprv, path).unwrap(); + assert_eq!(derive_xprv.to_string(), "b8ab42f1aacbcdb3ae858e3a3df88142b3ed27a2d3f432024e0d943fc1e597442d57545d84c8db2820b11509d944093bc605350e60c533b8886a405bd59eed6dcf356648fe9e9219d83e989c8ff5b5b337e2897b6554c1ab4e636de791fe5427"); - } + } + + #[test] + fn test_sign_data() { + let data = vec![1, 2, 3]; + let xprv = mnemonic_to_xprv_helper(MNEMONIC.to_string(), None).unwrap(); + let sign_data = sign_data_helper(&xprv, &data); + assert!(check_signature_xprv_helper(&xprv, &data, sign_data.clone())); + let xpub = xpublic_key_helper(&xprv); + assert!(check_signature_xpub_helper(&xpub, &data, sign_data)); + } } From b137655731813a163a65ffb43a0d813fe3bd2c2f Mon Sep 17 00:00:00 2001 From: bkioshn Date: Thu, 31 Oct 2024 13:20:26 +0700 Subject: [PATCH 29/89] fix: auto gen file Signed-off-by: bkioshn --- .../lib/src/rust/api/key_derivation.dart | 114 +++++++- .../lib/src/rust/frb_generated.dart | 224 ++++++++++++++-- .../lib/src/rust/frb_generated.io.dart | 33 ++- .../lib/src/rust/frb_generated.web.dart | 33 ++- .../rust/src/frb_generated.rs | 243 +++++++++++++++--- 5 files changed, 572 insertions(+), 75 deletions(-) diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart index e25a50394b..6a738866b4 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart @@ -7,12 +7,12 @@ import '../frb_generated.dart'; import 'package:collection/collection.dart'; import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; -// These functions are ignored because they are not marked as `pub`: `derive_xprivate_key_helper`, `mnemonic_to_xprv_helper` +// These functions are ignored because they are not marked as `pub`: `check_signature_xprv_helper`, `check_signature_xpub_helper`, `derive_xprv_helper`, `mnemonic_to_xprv_helper`, `sign_data_helper`, `xpublic_key_helper` /// Generate a new extended private key (`XPrv`) from a mnemonic and passphrase. /// Note that this function only works with BIP-0039 mnemonics. /// For more information: Cardano Icarus master node derivation -/// https://github.com/satoshilabs/slips/blob/master/slip-0023.md +/// /// /// # Arguments /// @@ -22,6 +22,10 @@ import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; /// # Returns /// /// Returns a bytes of extended private key as a `Result`. +/// +/// # Errors +/// +/// Returns an error if the mnemonic is invalid. Future mnemonicToXprv( {required String mnemonic, String? passphrase}) => RustLib.instance.api.crateApiKeyDerivationMnemonicToXprv( @@ -33,16 +37,112 @@ Future mnemonicToXprv( /// /// # Arguments /// -/// - `xprivate_key_bytes`: An extended private key bytes of type `XPrvBytes`. +/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. /// /// # Returns /// /// Returns a bytes of extended private key as a `Result`. -Future deriveXprivateKey( - {required U8Array96 xprivateKeyBytes, required String path}) => - RustLib.instance.api.crateApiKeyDerivationDeriveXprivateKey( - xprivateKeyBytes: xprivateKeyBytes, path: path); +/// +/// # Errors +/// +/// Returns an error if the derivation path is invalid. +Future deriveXprv( + {required U8Array96 xprvBytes, required String path}) => + RustLib.instance.api + .crateApiKeyDerivationDeriveXprv(xprvBytes: xprvBytes, path: path); + +/// Get public key from the given extended private key. +/// +/// # Arguments +/// +/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. +/// +/// # Returns +/// +/// Returns a 64 length bytes `XPubBytes` representing the public key. +/// +/// # Errors +/// +/// Returns an error if the private key is invalid. +Future xpublicKey({required U8Array96 xprvBytes}) => + RustLib.instance.api.crateApiKeyDerivationXpublicKey(xprvBytes: xprvBytes); + +/// Sign data with the given extended private key. +/// +/// # Arguments +/// +/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. +/// - `data`: The data to sign. +/// +/// # Returns +/// Returns a 64 length bytes `SignatureBytes` representing the signature. +/// +/// # Errors +/// +/// Returns an error if the private key is invalid. +Future signData( + {required U8Array96 xprvBytes, required List data}) => + RustLib.instance.api + .crateApiKeyDerivationSignData(xprvBytes: xprvBytes, data: data); + +/// Check the signature on the given data using extended private key. +/// +/// # Arguments +/// +/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. +/// - `data`: The data to sign. +/// - `signature`: The signature to check. +/// +/// # Returns +/// Returns a boolean value indicating if the signature match the sign data +/// True if the signature is valid and match the sign data, false otherwise. +/// +/// # Errors +/// +/// Returns an error if the private key or signature is invalid. +Future checkSignatureXprv( + {required U8Array96 xprvBytes, + required List data, + required U8Array64 signature}) => + RustLib.instance.api.crateApiKeyDerivationCheckSignatureXprv( + xprvBytes: xprvBytes, data: data, signature: signature); + +/// Check the signature on the given data using extended public key. +/// +/// # Arguments +/// +/// - `xpub_bytes`: An extended public key bytes of type `XPubBytes`. +/// - `data`: The data to sign. +/// - `signature`: The signature to check. +/// +/// # Returns +/// Returns a boolean value indicating if the signature match the sign data +/// True if the signature is valid and match the sign data, false otherwise. +/// +/// # Errors +/// +/// Returns an error if the public key or signature is invalid. +Future checkSignatureXpub( + {required U8Array64 xpubBytes, + required List data, + required U8Array64 signature}) => + RustLib.instance.api.crateApiKeyDerivationCheckSignatureXpub( + xpubBytes: xpubBytes, data: data, signature: signature); + +class U8Array64 extends NonGrowableListView { + static const arraySize = 64; + + @internal + Uint8List get inner => _inner; + final Uint8List _inner; + + U8Array64(this._inner) + : assert(_inner.length == arraySize), + super(_inner); + + U8Array64.init() : this(Uint8List(arraySize)); +} class U8Array96 extends NonGrowableListView { static const arraySize = 96; diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart index 19598517d9..e476cbfd4b 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart @@ -66,7 +66,7 @@ class RustLib extends BaseEntrypoint { String get codegenVersion => '2.5.1'; @override - int get rustContentHash => -1269238771; + int get rustContentHash => -541330839; static const kDefaultExternalLibraryLoaderConfig = ExternalLibraryLoaderConfig( @@ -77,11 +77,27 @@ class RustLib extends BaseEntrypoint { } abstract class RustLibApi extends BaseApi { - Future crateApiKeyDerivationDeriveXprivateKey( - {required U8Array96 xprivateKeyBytes, required String path}); + Future crateApiKeyDerivationCheckSignatureXprv( + {required U8Array96 xprvBytes, + required List data, + required U8Array64 signature}); + + Future crateApiKeyDerivationCheckSignatureXpub( + {required U8Array64 xpubBytes, + required List data, + required U8Array64 signature}); + + Future crateApiKeyDerivationDeriveXprv( + {required U8Array96 xprvBytes, required String path}); Future crateApiKeyDerivationMnemonicToXprv( {required String mnemonic, String? passphrase}); + + Future crateApiKeyDerivationSignData( + {required U8Array96 xprvBytes, required List data}); + + Future crateApiKeyDerivationXpublicKey( + {required U8Array96 xprvBytes}); } class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { @@ -93,30 +109,90 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { }); @override - Future crateApiKeyDerivationDeriveXprivateKey( - {required U8Array96 xprivateKeyBytes, required String path}) { + Future crateApiKeyDerivationCheckSignatureXprv( + {required U8Array96 xprvBytes, + required List data, + required U8Array64 signature}) { return handler.executeNormal(NormalTask( callFfi: (port_) { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_u_8_array_96(xprivateKeyBytes, serializer); - sse_encode_String(path, serializer); + sse_encode_u_8_array_96(xprvBytes, serializer); + sse_encode_list_prim_u_8_loose(data, serializer); + sse_encode_u_8_array_64(signature, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 1, port: port_); }, + codec: SseCodec( + decodeSuccessData: sse_decode_bool, + decodeErrorData: sse_decode_AnyhowException, + ), + constMeta: kCrateApiKeyDerivationCheckSignatureXprvConstMeta, + argValues: [xprvBytes, data, signature], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationCheckSignatureXprvConstMeta => + const TaskConstMeta( + debugName: "check_signature_xprv", + argNames: ["xprvBytes", "data", "signature"], + ); + + @override + Future crateApiKeyDerivationCheckSignatureXpub( + {required U8Array64 xpubBytes, + required List data, + required U8Array64 signature}) { + return handler.executeNormal(NormalTask( + callFfi: (port_) { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_u_8_array_64(xpubBytes, serializer); + sse_encode_list_prim_u_8_loose(data, serializer); + sse_encode_u_8_array_64(signature, serializer); + pdeCallFfi(generalizedFrbRustBinding, serializer, + funcId: 2, port: port_); + }, + codec: SseCodec( + decodeSuccessData: sse_decode_bool, + decodeErrorData: sse_decode_AnyhowException, + ), + constMeta: kCrateApiKeyDerivationCheckSignatureXpubConstMeta, + argValues: [xpubBytes, data, signature], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationCheckSignatureXpubConstMeta => + const TaskConstMeta( + debugName: "check_signature_xpub", + argNames: ["xpubBytes", "data", "signature"], + ); + + @override + Future crateApiKeyDerivationDeriveXprv( + {required U8Array96 xprvBytes, required String path}) { + return handler.executeNormal(NormalTask( + callFfi: (port_) { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_u_8_array_96(xprvBytes, serializer); + sse_encode_String(path, serializer); + pdeCallFfi(generalizedFrbRustBinding, serializer, + funcId: 3, port: port_); + }, codec: SseCodec( decodeSuccessData: sse_decode_u_8_array_96, decodeErrorData: sse_decode_AnyhowException, ), - constMeta: kCrateApiKeyDerivationDeriveXprivateKeyConstMeta, - argValues: [xprivateKeyBytes, path], + constMeta: kCrateApiKeyDerivationDeriveXprvConstMeta, + argValues: [xprvBytes, path], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationDeriveXprivateKeyConstMeta => + TaskConstMeta get kCrateApiKeyDerivationDeriveXprvConstMeta => const TaskConstMeta( - debugName: "derive_xprivate_key", - argNames: ["xprivateKeyBytes", "path"], + debugName: "derive_xprv", + argNames: ["xprvBytes", "path"], ); @override @@ -128,7 +204,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_String(mnemonic, serializer); sse_encode_opt_String(passphrase, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 2, port: port_); + funcId: 4, port: port_); }, codec: SseCodec( decodeSuccessData: sse_decode_u_8_array_96, @@ -146,6 +222,59 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { argNames: ["mnemonic", "passphrase"], ); + @override + Future crateApiKeyDerivationSignData( + {required U8Array96 xprvBytes, required List data}) { + return handler.executeNormal(NormalTask( + callFfi: (port_) { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_u_8_array_96(xprvBytes, serializer); + sse_encode_list_prim_u_8_loose(data, serializer); + pdeCallFfi(generalizedFrbRustBinding, serializer, + funcId: 5, port: port_); + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_64, + decodeErrorData: sse_decode_AnyhowException, + ), + constMeta: kCrateApiKeyDerivationSignDataConstMeta, + argValues: [xprvBytes, data], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationSignDataConstMeta => + const TaskConstMeta( + debugName: "sign_data", + argNames: ["xprvBytes", "data"], + ); + + @override + Future crateApiKeyDerivationXpublicKey( + {required U8Array96 xprvBytes}) { + return handler.executeNormal(NormalTask( + callFfi: (port_) { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_u_8_array_96(xprvBytes, serializer); + pdeCallFfi(generalizedFrbRustBinding, serializer, + funcId: 6, port: port_); + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_64, + decodeErrorData: sse_decode_AnyhowException, + ), + constMeta: kCrateApiKeyDerivationXpublicKeyConstMeta, + argValues: [xprvBytes], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXpublicKeyConstMeta => + const TaskConstMeta( + debugName: "xpublic_key", + argNames: ["xprvBytes"], + ); + @protected AnyhowException dco_decode_AnyhowException(dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs @@ -158,6 +287,18 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { return raw as String; } + @protected + bool dco_decode_bool(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return raw as bool; + } + + @protected + List dco_decode_list_prim_u_8_loose(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return raw as List; + } + @protected Uint8List dco_decode_list_prim_u_8_strict(dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs @@ -176,6 +317,12 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { return raw as int; } + @protected + U8Array64 dco_decode_u_8_array_64(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return U8Array64(dco_decode_list_prim_u_8_strict(raw)); + } + @protected U8Array96 dco_decode_u_8_array_96(dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs @@ -196,6 +343,19 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { return utf8.decoder.convert(inner); } + @protected + bool sse_decode_bool(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return deserializer.buffer.getUint8() != 0; + } + + @protected + List sse_decode_list_prim_u_8_loose(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + var len_ = sse_decode_i_32(deserializer); + return deserializer.buffer.getUint8List(len_); + } + @protected Uint8List sse_decode_list_prim_u_8_strict(SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs @@ -221,22 +381,23 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { } @protected - U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer) { + U8Array64 sse_decode_u_8_array_64(SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs var inner = sse_decode_list_prim_u_8_strict(deserializer); - return U8Array96(inner); + return U8Array64(inner); } @protected - int sse_decode_i_32(SseDeserializer deserializer) { + U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs - return deserializer.buffer.getInt32(); + var inner = sse_decode_list_prim_u_8_strict(deserializer); + return U8Array96(inner); } @protected - bool sse_decode_bool(SseDeserializer deserializer) { + int sse_decode_i_32(SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs - return deserializer.buffer.getUint8() != 0; + return deserializer.buffer.getInt32(); } @protected @@ -252,6 +413,21 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_list_prim_u_8_strict(utf8.encoder.convert(self), serializer); } + @protected + void sse_encode_bool(bool self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + serializer.buffer.putUint8(self ? 1 : 0); + } + + @protected + void sse_encode_list_prim_u_8_loose( + List self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_i_32(self.length, serializer); + serializer.buffer + .putUint8List(self is Uint8List ? self : Uint8List.fromList(self)); + } + @protected void sse_encode_list_prim_u_8_strict( Uint8List self, SseSerializer serializer) { @@ -277,20 +453,20 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { } @protected - void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer) { + void sse_encode_u_8_array_64(U8Array64 self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs sse_encode_list_prim_u_8_strict(self.inner, serializer); } @protected - void sse_encode_i_32(int self, SseSerializer serializer) { + void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs - serializer.buffer.putInt32(self); + sse_encode_list_prim_u_8_strict(self.inner, serializer); } @protected - void sse_encode_bool(bool self, SseSerializer serializer) { + void sse_encode_i_32(int self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs - serializer.buffer.putUint8(self ? 1 : 0); + serializer.buffer.putInt32(self); } } diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart index 58ac33384a..4cedb9fab2 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart @@ -24,6 +24,12 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected String dco_decode_String(dynamic raw); + @protected + bool dco_decode_bool(dynamic raw); + + @protected + List dco_decode_list_prim_u_8_loose(dynamic raw); + @protected Uint8List dco_decode_list_prim_u_8_strict(dynamic raw); @@ -33,6 +39,9 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected int dco_decode_u_8(dynamic raw); + @protected + U8Array64 dco_decode_u_8_array_64(dynamic raw); + @protected U8Array96 dco_decode_u_8_array_96(dynamic raw); @@ -42,6 +51,12 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected String sse_decode_String(SseDeserializer deserializer); + @protected + bool sse_decode_bool(SseDeserializer deserializer); + + @protected + List sse_decode_list_prim_u_8_loose(SseDeserializer deserializer); + @protected Uint8List sse_decode_list_prim_u_8_strict(SseDeserializer deserializer); @@ -52,13 +67,13 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { int sse_decode_u_8(SseDeserializer deserializer); @protected - U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer); + U8Array64 sse_decode_u_8_array_64(SseDeserializer deserializer); @protected - int sse_decode_i_32(SseDeserializer deserializer); + U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer); @protected - bool sse_decode_bool(SseDeserializer deserializer); + int sse_decode_i_32(SseDeserializer deserializer); @protected void sse_encode_AnyhowException( @@ -67,6 +82,12 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected void sse_encode_String(String self, SseSerializer serializer); + @protected + void sse_encode_bool(bool self, SseSerializer serializer); + + @protected + void sse_encode_list_prim_u_8_loose(List self, SseSerializer serializer); + @protected void sse_encode_list_prim_u_8_strict( Uint8List self, SseSerializer serializer); @@ -78,13 +99,13 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { void sse_encode_u_8(int self, SseSerializer serializer); @protected - void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer); + void sse_encode_u_8_array_64(U8Array64 self, SseSerializer serializer); @protected - void sse_encode_i_32(int self, SseSerializer serializer); + void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer); @protected - void sse_encode_bool(bool self, SseSerializer serializer); + void sse_encode_i_32(int self, SseSerializer serializer); } // Section: wire_class diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart index bb21a348e3..5e5f84e08a 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart @@ -26,6 +26,12 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected String dco_decode_String(dynamic raw); + @protected + bool dco_decode_bool(dynamic raw); + + @protected + List dco_decode_list_prim_u_8_loose(dynamic raw); + @protected Uint8List dco_decode_list_prim_u_8_strict(dynamic raw); @@ -35,6 +41,9 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected int dco_decode_u_8(dynamic raw); + @protected + U8Array64 dco_decode_u_8_array_64(dynamic raw); + @protected U8Array96 dco_decode_u_8_array_96(dynamic raw); @@ -44,6 +53,12 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected String sse_decode_String(SseDeserializer deserializer); + @protected + bool sse_decode_bool(SseDeserializer deserializer); + + @protected + List sse_decode_list_prim_u_8_loose(SseDeserializer deserializer); + @protected Uint8List sse_decode_list_prim_u_8_strict(SseDeserializer deserializer); @@ -54,13 +69,13 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { int sse_decode_u_8(SseDeserializer deserializer); @protected - U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer); + U8Array64 sse_decode_u_8_array_64(SseDeserializer deserializer); @protected - int sse_decode_i_32(SseDeserializer deserializer); + U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer); @protected - bool sse_decode_bool(SseDeserializer deserializer); + int sse_decode_i_32(SseDeserializer deserializer); @protected void sse_encode_AnyhowException( @@ -69,6 +84,12 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected void sse_encode_String(String self, SseSerializer serializer); + @protected + void sse_encode_bool(bool self, SseSerializer serializer); + + @protected + void sse_encode_list_prim_u_8_loose(List self, SseSerializer serializer); + @protected void sse_encode_list_prim_u_8_strict( Uint8List self, SseSerializer serializer); @@ -80,13 +101,13 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { void sse_encode_u_8(int self, SseSerializer serializer); @protected - void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer); + void sse_encode_u_8_array_64(U8Array64 self, SseSerializer serializer); @protected - void sse_encode_i_32(int self, SseSerializer serializer); + void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer); @protected - void sse_encode_bool(bool self, SseSerializer serializer); + void sse_encode_i_32(int self, SseSerializer serializer); } // Section: wire_class diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs index 66da322d39..c0630a1774 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs @@ -37,7 +37,7 @@ flutter_rust_bridge::frb_generated_boilerplate!( default_rust_auto_opaque = RustAutoOpaqueMoi, ); pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.5.1"; -pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = -1269238771; +pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = -541330839; // Section: executor @@ -45,15 +45,14 @@ flutter_rust_bridge::frb_generated_default_handler!(); // Section: wire_funcs -fn wire__crate__api__key_derivation__derive_xprivate_key_impl( +fn wire__crate__api__key_derivation__check_signature_xprv_impl( port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len_: i32, + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, data_len_: i32, ) { FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "derive_xprivate_key", + debug_name: "check_signature_xprv", port: Some(port_), mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, }, @@ -67,15 +66,17 @@ fn wire__crate__api__key_derivation__derive_xprivate_key_impl( }; let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_xprivate_key_bytes = <[u8; 96]>::sse_decode(&mut deserializer); - let api_path = ::sse_decode(&mut deserializer); + let api_xprv_bytes = <[u8; 96]>::sse_decode(&mut deserializer); + let api_data = >::sse_decode(&mut deserializer); + let api_signature = <[u8; 64]>::sse_decode(&mut deserializer); deserializer.end(); move |context| async move { transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( (move || async move { - let output_ok = crate::api::key_derivation::derive_xprivate_key( - api_xprivate_key_bytes, - api_path, + let output_ok = crate::api::key_derivation::check_signature_xprv( + api_xprv_bytes, + api_data, + api_signature, ) .await?; Ok(output_ok) @@ -86,10 +87,89 @@ fn wire__crate__api__key_derivation__derive_xprivate_key_impl( }, ) } +fn wire__crate__api__key_derivation__check_signature_xpub_impl( + port_: flutter_rust_bridge::for_generated::MessagePort, + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "check_signature_xpub", + port: Some(port_), + mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_xpub_bytes = <[u8; 64]>::sse_decode(&mut deserializer); + let api_data = >::sse_decode(&mut deserializer); + let api_signature = <[u8; 64]>::sse_decode(&mut deserializer); + deserializer.end(); + move |context| async move { + transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( + (move || async move { + let output_ok = crate::api::key_derivation::check_signature_xpub( + api_xpub_bytes, + api_data, + api_signature, + ) + .await?; + Ok(output_ok) + })() + .await, + ) + } + }, + ) +} +fn wire__crate__api__key_derivation__derive_xprv_impl( + port_: flutter_rust_bridge::for_generated::MessagePort, + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "derive_xprv", + port: Some(port_), + mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_xprv_bytes = <[u8; 96]>::sse_decode(&mut deserializer); + let api_path = ::sse_decode(&mut deserializer); + deserializer.end(); + move |context| async move { + transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( + (move || async move { + let output_ok = + crate::api::key_derivation::derive_xprv(api_xprv_bytes, api_path) + .await?; + Ok(output_ok) + })() + .await, + ) + } + }, + ) +} fn wire__crate__api__key_derivation__mnemonic_to_xprv_impl( port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len_: i32, + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, data_len_: i32, ) { FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( @@ -127,6 +207,79 @@ fn wire__crate__api__key_derivation__mnemonic_to_xprv_impl( }, ) } +fn wire__crate__api__key_derivation__sign_data_impl( + port_: flutter_rust_bridge::for_generated::MessagePort, + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "sign_data", + port: Some(port_), + mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_xprv_bytes = <[u8; 96]>::sse_decode(&mut deserializer); + let api_data = >::sse_decode(&mut deserializer); + deserializer.end(); + move |context| async move { + transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( + (move || async move { + let output_ok = + crate::api::key_derivation::sign_data(api_xprv_bytes, api_data).await?; + Ok(output_ok) + })() + .await, + ) + } + }, + ) +} +fn wire__crate__api__key_derivation__xpublic_key_impl( + port_: flutter_rust_bridge::for_generated::MessagePort, + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "xpublic_key", + port: Some(port_), + mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_xprv_bytes = <[u8; 96]>::sse_decode(&mut deserializer); + deserializer.end(); + move |context| async move { + transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( + (move || async move { + let output_ok = + crate::api::key_derivation::xpublic_key(api_xprv_bytes).await?; + Ok(output_ok) + })() + .await, + ) + } + }, + ) +} // Section: dart2rust @@ -146,6 +299,13 @@ impl SseDecode for String { } } +impl SseDecode for bool { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + deserializer.cursor.read_u8().unwrap() != 0 + } +} + impl SseDecode for Vec { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { @@ -176,7 +336,7 @@ impl SseDecode for u8 { } } -impl SseDecode for [u8; 96] { +impl SseDecode for [u8; 64] { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { let mut inner = >::sse_decode(deserializer); @@ -184,50 +344,56 @@ impl SseDecode for [u8; 96] { } } -impl SseDecode for i32 { +impl SseDecode for [u8; 96] { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - deserializer.cursor.read_i32::().unwrap() + let mut inner = >::sse_decode(deserializer); + return flutter_rust_bridge::for_generated::from_vec_to_array(inner); } } -impl SseDecode for bool { +impl SseDecode for i32 { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - deserializer.cursor.read_u8().unwrap() != 0 + deserializer.cursor.read_i32::().unwrap() } } fn pde_ffi_dispatcher_primary_impl( - func_id: i32, - port: flutter_rust_bridge::for_generated::MessagePort, - ptr: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len: i32, + func_id: i32, port: flutter_rust_bridge::for_generated::MessagePort, + ptr: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len: i32, data_len: i32, ) { // Codec=Pde (Serialization + dispatch), see doc to use other codecs match func_id { - 1 => wire__crate__api__key_derivation__derive_xprivate_key_impl( + 1 => wire__crate__api__key_derivation__check_signature_xprv_impl( + port, + ptr, + rust_vec_len, + data_len, + ), + 2 => wire__crate__api__key_derivation__check_signature_xpub_impl( port, ptr, rust_vec_len, data_len, ), - 2 => wire__crate__api__key_derivation__mnemonic_to_xprv_impl( + 3 => wire__crate__api__key_derivation__derive_xprv_impl(port, ptr, rust_vec_len, data_len), + 4 => wire__crate__api__key_derivation__mnemonic_to_xprv_impl( port, ptr, rust_vec_len, data_len, ), + 5 => wire__crate__api__key_derivation__sign_data_impl(port, ptr, rust_vec_len, data_len), + 6 => wire__crate__api__key_derivation__xpublic_key_impl(port, ptr, rust_vec_len, data_len), _ => unreachable!(), } } fn pde_ffi_dispatcher_sync_impl( - func_id: i32, - ptr: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len: i32, - data_len: i32, + func_id: i32, ptr: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, + rust_vec_len: i32, data_len: i32, ) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { // Codec=Pde (Serialization + dispatch), see doc to use other codecs match func_id { @@ -251,6 +417,13 @@ impl SseEncode for String { } } +impl SseEncode for bool { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + serializer.cursor.write_u8(self as _).unwrap(); + } +} + impl SseEncode for Vec { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { @@ -278,7 +451,7 @@ impl SseEncode for u8 { } } -impl SseEncode for [u8; 96] { +impl SseEncode for [u8; 64] { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { >::sse_encode( @@ -291,17 +464,23 @@ impl SseEncode for [u8; 96] { } } -impl SseEncode for i32 { +impl SseEncode for [u8; 96] { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - serializer.cursor.write_i32::(self).unwrap(); + >::sse_encode( + { + let boxed: Box<[_]> = Box::new(self); + boxed.into_vec() + }, + serializer, + ); } } -impl SseEncode for bool { +impl SseEncode for i32 { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - serializer.cursor.write_u8(self as _).unwrap(); + serializer.cursor.write_i32::(self).unwrap(); } } From d1f523a8bafc1b8bdc80df93f9f98961c7116d7d Mon Sep 17 00:00:00 2001 From: bkioshn Date: Thu, 31 Oct 2024 13:20:54 +0700 Subject: [PATCH 30/89] feat: add rust project setup files Signed-off-by: bkioshn --- .../rust/.cargo/config.toml | 93 +++++++++++++++++++ .../catalyst_key_derivation/rust/Cargo.toml | 36 +++++++ .../catalyst_key_derivation/rust/clippy.toml | 2 + .../rust/rust-toolchain.toml | 3 + .../catalyst_key_derivation/rust/rustfmt.toml | 68 ++++++++++++++ 5 files changed, 202 insertions(+) create mode 100644 catalyst_voices_packages/catalyst_key_derivation/rust/.cargo/config.toml create mode 100644 catalyst_voices_packages/catalyst_key_derivation/rust/clippy.toml create mode 100644 catalyst_voices_packages/catalyst_key_derivation/rust/rust-toolchain.toml create mode 100644 catalyst_voices_packages/catalyst_key_derivation/rust/rustfmt.toml diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/.cargo/config.toml b/catalyst_voices_packages/catalyst_key_derivation/rust/.cargo/config.toml new file mode 100644 index 0000000000..061a40c093 --- /dev/null +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/.cargo/config.toml @@ -0,0 +1,93 @@ +# Use MOLD linker where possible, but ONLY in CI applicable targets. + +# Configure how Docker container targets build. + +# If you want to customize these targets for a local build, then customize them in your: +# $CARGO_HOME/config.toml +# NOT in the project itself. +# These targets are ONLY the targets used by CI and inside docker builds. + +# DO NOT remove `"-C", "target-feature=+crt-static"` from the rustflags for these targets. + +# Should be the default to have fully static rust programs in CI +[target.x86_64-unknown-linux-musl] +linker = "clang" +rustflags = [ + "-C", "link-arg=-fuse-ld=/usr/bin/mold", + "-C", "target-feature=-crt-static" +] + +# Should be the default to have fully static rust programs in CI +[target.aarch64-unknown-linux-musl] +linker = "clang" +rustflags = [ + "-C", "link-arg=-fuse-ld=/usr/bin/mold", + "-C", "target-feature=-crt-static" +] + +[build] +rustflags = [] +rustdocflags = [ + "--enable-index-page", + "-Z", + "unstable-options", +] + +[profile.dev] +opt-level = 1 +debug = true +debug-assertions = true +overflow-checks = true +lto = false +panic = "unwind" +incremental = true +codegen-units = 256 + +[profile.release] +opt-level = 3 +debug = false +debug-assertions = false +overflow-checks = false +lto = "thin" +panic = "unwind" +incremental = false +codegen-units = 16 + +[profile.test] +opt-level = 3 +debug = true +lto = false +debug-assertions = true +incremental = true +codegen-units = 256 + +[profile.bench] +opt-level = 3 +debug = false +debug-assertions = false +overflow-checks = false +lto = "thin" +incremental = false +codegen-units = 16 + +[alias] +lint = "clippy --all-targets" +lintfix = "clippy --all-targets --fix --allow-dirty" +lint-vscode = "clippy --message-format=json-diagnostic-rendered-ansi --all-targets" + +docs = "doc --release --no-deps --document-private-items --bins --lib --examples" +# nightly docs build broken... when they are'nt we can enable these docs... --unit-graph --timings=html,json -Z unstable-options" +testunit = "nextest run --release --bins --lib --tests --no-fail-fast -P ci" +testcov = "llvm-cov nextest --release --bins --lib --tests --no-fail-fast -P ci" +testdocs = "test --doc --release" + +# Rust formatting, MUST be run with +nightly +fmtchk = "fmt -- --check -v --color=always" +fmtfix = "fmt -- -v" + +[term] +quiet = false # whether cargo output is quiet +verbose = false # whether cargo provides verbose output +color = "auto" # whether cargo colorizes output use `CARGO_TERM_COLOR="off"` to disable. +progress.when = "never" # whether cargo shows progress bar +progress.width = 80 # width of progress bar \ No newline at end of file diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/Cargo.toml b/catalyst_voices_packages/catalyst_key_derivation/rust/Cargo.toml index 965a635730..43853de78d 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/Cargo.toml +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/Cargo.toml @@ -15,3 +15,39 @@ anyhow = "1.0.91" bip39 = "2.0.0" sha2 = "0.10" bip32 = "0.5.1" + +[lints.rust] +warnings = "deny" +missing_docs = "deny" +let_underscore_drop = "deny" +non_ascii_idents = "deny" +single_use_lifetimes = "deny" +trivial_casts = "deny" +trivial_numeric_casts = "deny" + +[lints.rustdoc] +broken_intra_doc_links = "deny" +invalid_codeblock_attributes = "deny" +invalid_html_tags = "deny" +invalid_rust_codeblocks = "deny" +bare_urls = "deny" +unescaped_backticks = "deny" + +[lints.clippy] +pedantic = { level = "deny", priority = -1 } +unwrap_used = "deny" +expect_used = "deny" +todo = "deny" +unimplemented = "deny" +exit = "deny" +get_unwrap = "deny" +index_refutable_slice = "deny" +indexing_slicing = "deny" +match_on_vec_items = "deny" +match_wild_err_arm = "deny" +missing_panics_doc = "deny" +panic = "deny" +string_slice = "deny" +unchecked_duration_subtraction = "deny" +unreachable = "deny" +missing_docs_in_private_items = "deny" \ No newline at end of file diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/clippy.toml b/catalyst_voices_packages/catalyst_key_derivation/rust/clippy.toml new file mode 100644 index 0000000000..0358cdb508 --- /dev/null +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/clippy.toml @@ -0,0 +1,2 @@ +allow-unwrap-in-tests = true +allow-expect-in-tests = true diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/rust-toolchain.toml b/catalyst_voices_packages/catalyst_key_derivation/rust/rust-toolchain.toml new file mode 100644 index 0000000000..f01d02df3b --- /dev/null +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "1.81" +profile = "default" \ No newline at end of file diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/rustfmt.toml b/catalyst_voices_packages/catalyst_key_derivation/rust/rustfmt.toml new file mode 100644 index 0000000000..b0f20832c9 --- /dev/null +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/rustfmt.toml @@ -0,0 +1,68 @@ +# Enable unstable features: +# * imports_indent +# * imports_layout +# * imports_granularity +# * group_imports +# * reorder_impl_items +# * trailing_comma +# * where_single_line +# * wrap_comments +# * comment_width +# * blank_lines_upper_bound +# * condense_wildcard_suffixes +# * force_multiline_blocks +# * format_code_in_doc_comments +# * format_generated_files +# * hex_literal_case +# * inline_attribute_width +# * normalize_comments +# * normalize_doc_attributes +# * overflow_delimited_expr +unstable_features = true + +# Compatibility: +edition = "2021" + +# Tabs & spaces - Defaults, listed for clarity +tab_spaces = 4 +hard_tabs = false + +# Commas. +trailing_comma = "Vertical" +match_block_trailing_comma = true + +# General width constraints. +max_width = 100 + +# Comments: +normalize_comments = true +normalize_doc_attributes = true +wrap_comments = true +comment_width = 90 # small excess is okay but prefer 80 +format_code_in_doc_comments = true +format_generated_files = false + +# Imports. +imports_indent = "Block" +imports_layout = "Mixed" +group_imports = "StdExternalCrate" +reorder_imports = true +imports_granularity = "Crate" + +# Arguments: +use_small_heuristics = "Default" +fn_params_layout = "Compressed" +overflow_delimited_expr = true +where_single_line = true + +# Misc: +inline_attribute_width = 0 +blank_lines_upper_bound = 1 +reorder_impl_items = true +use_field_init_shorthand = true +force_multiline_blocks = true +condense_wildcard_suffixes = true +hex_literal_case = "Upper" + +# Ignored files: +ignore = [] From 2cd143503d3840ad65fef8cc37ba1679c9738454 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Thu, 31 Oct 2024 13:35:59 +0700 Subject: [PATCH 31/89] fix: flutter example Signed-off-by: bkioshn --- .../example/lib/main.dart | 25 ++++++++++++++----- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart b/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart index 72c8b26db4..970625ba22 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart @@ -40,11 +40,24 @@ class MyApp extends StatelessWidget { mnemonic: 'prevent company field green slot measure chief' ' hero apple task eagle sunset endorse dress seed', ); - print(xprv); - final deriveXprv = await deriveXprivateKey( - xprivateKeyBytes: xprv, - path: "m/1852'/1815'/0'/2/0", - ); - print(deriveXprv); + print('Master xprv $xprv'); + + final xpub = await xpublicKey(xprvBytes: xprv); + print('Master xpub $xpub'); + + final data = [1, 2, 3, 4]; + final sig = await signData(xprvBytes: xprv, data: data); + + final checkXprvSig = + await checkSignatureXprv(xprvBytes: xprv, data: data, signature: sig); + print('Check signature by using xprv $checkXprvSig'); + + final checkXpubSig = + await checkSignatureXpub(xpubBytes: xpub, data: data, signature: sig); + print('Check signature by using xpub $checkXpubSig'); + + const path = "m/1852'/1815'/0'/2/0"; + final childXprv = await deriveXprv(xprvBytes: xprv, path: path); + print('Derive xprv with $path: $childXprv'); } } From ce24ad6d436e212c724145ceca378b503b4d17e7 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Thu, 31 Oct 2024 09:25:17 +0100 Subject: [PATCH 32/89] fix: build-web target path --- Earthfile | 2 +- catalyst_voices/Earthfile | 6 +++--- .../catalyst_cardano/wallet-automation/Earthfile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Earthfile b/Earthfile index 77cdf00ca4..a5b84402d4 100644 --- a/Earthfile +++ b/Earthfile @@ -43,7 +43,7 @@ repo-docs: SAVE ARTIFACT /repo repo -# repo-catalyst-voices-all - Creates artifacts of all configuration files, +# repo-catalyst-voices - Creates artifacts of all configuration files, # packages and folders related to catalyst_voices frontend. repo-catalyst-voices: FROM scratch diff --git a/catalyst_voices/Earthfile b/catalyst_voices/Earthfile index 9fd3008d72..347c4eb029 100644 --- a/catalyst_voices/Earthfile +++ b/catalyst_voices/Earthfile @@ -70,11 +70,11 @@ build-web: ARG RUN_ON_PR=true ARG SENTRY_DSN - ARG WORKDIR=/frontend/catalyst_voices + ARG WORKDIR=/frontend/catalyst_voices/apps/voices/ IF [ $RUN_ON_PR = true ] - DO flutter-ci+BUILD_WEB --WORKDIR=$WORKDIR --BUILD_MODE='--profile' --TARGET=apps/voices/lib/configs/main_web.dart + DO flutter-ci+BUILD_WEB --WORKDIR=$WORKDIR --BUILD_MODE='--profile' --TARGET=lib/configs/main_web.dart ELSE - DO flutter-ci+BUILD_WEB --WORKDIR=$WORKDIR --TARGET=apps/voices/lib/configs/main_web.dart --SENTRY_DSN=$SENTRY_DSN + DO flutter-ci+BUILD_WEB --WORKDIR=$WORKDIR --TARGET=lib/configs/main_web.dart --SENTRY_DSN=$SENTRY_DSN SAVE ARTIFACT web END diff --git a/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile index 204d50a004..691a2b9bd4 100644 --- a/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile +++ b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile @@ -30,7 +30,7 @@ package-test: builder: DO flutter-ci+SETUP - COPY ../../../../+repo-catalyst-voices-all/repo . + COPY ../../../../+repo-catalyst-voices/repo . DO flutter-ci+BOOTSTRAP build-web: From 7bcf37e5c71401599ddcfbb0b22486220572626c Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Thu, 31 Oct 2024 09:32:41 +0100 Subject: [PATCH 33/89] fix: remove build-web target suffix separator --- catalyst_voices/Earthfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst_voices/Earthfile b/catalyst_voices/Earthfile index 347c4eb029..97979fd63c 100644 --- a/catalyst_voices/Earthfile +++ b/catalyst_voices/Earthfile @@ -70,7 +70,7 @@ build-web: ARG RUN_ON_PR=true ARG SENTRY_DSN - ARG WORKDIR=/frontend/catalyst_voices/apps/voices/ + ARG WORKDIR=/frontend/catalyst_voices/apps/voices IF [ $RUN_ON_PR = true ] DO flutter-ci+BUILD_WEB --WORKDIR=$WORKDIR --BUILD_MODE='--profile' --TARGET=lib/configs/main_web.dart ELSE From 431fef3e7d80990e46997108838579ebbad0fe2f Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Thu, 31 Oct 2024 09:44:16 +0100 Subject: [PATCH 34/89] fix: wallet-automation tests target path --- .../catalyst_cardano/wallet-automation/Earthfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile index 691a2b9bd4..c6778dd44d 100644 --- a/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile +++ b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile @@ -30,12 +30,12 @@ package-test: builder: DO flutter-ci+SETUP - COPY ../../../../+repo-catalyst-voices/repo . + COPY ../../../../../+repo-catalyst-voices/repo . DO flutter-ci+BOOTSTRAP build-web: FROM +builder - ARG WORKDIR=/frontend/catalyst_voices_packages/catalyst_cardano/catalyst_cardano/example + ARG WORKDIR=/frontend/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example DO flutter-ci+BUILD_WEB --TARGET=lib/main.dart --WORKDIR=$WORKDIR SAVE ARTIFACT web From e5816151499ac1a62b8c1f07d94f11f085cd87ea Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Thu, 31 Oct 2024 10:28:08 +0100 Subject: [PATCH 35/89] fix: wallet-automation builder target --- .../catalyst_cardano/wallet-automation/Earthfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile index c6778dd44d..dc409acb03 100644 --- a/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile +++ b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile @@ -30,7 +30,8 @@ package-test: builder: DO flutter-ci+SETUP - COPY ../../../../../+repo-catalyst-voices/repo . + COPY ../../../../../../+repo-catalyst-voices/repo . + WORKDIR catalyst_voices DO flutter-ci+BOOTSTRAP build-web: From 5948d84b5828e653876430b8dd3cd42f12f9eb99 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Thu, 31 Oct 2024 10:51:01 +0100 Subject: [PATCH 36/89] fix: voices automation tests target --- catalyst_voices/apps/voices/integration_test/Earthfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst_voices/apps/voices/integration_test/Earthfile b/catalyst_voices/apps/voices/integration_test/Earthfile index 295b34c3e2..d4df74940d 100644 --- a/catalyst_voices/apps/voices/integration_test/Earthfile +++ b/catalyst_voices/apps/voices/integration_test/Earthfile @@ -1,6 +1,6 @@ VERSION 0.8 -IMPORT ../ AS catalyst-voices +IMPORT ../../.. AS catalyst-voices integration-test-web: FROM catalyst-voices+build-web From 79ae37cf5f234a16a7472fc787ef5d8af5307ef0 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Thu, 31 Oct 2024 11:40:22 +0100 Subject: [PATCH 37/89] fix: code-generator target path --- catalyst_voices/Earthfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst_voices/Earthfile b/catalyst_voices/Earthfile index 97979fd63c..14c88b3de6 100644 --- a/catalyst_voices/Earthfile +++ b/catalyst_voices/Earthfile @@ -22,7 +22,7 @@ code-generator: LET local_gen_code_path = packages/internal/catalyst_voices_services/lib/generated/catalyst_gateway/ FROM +builder - WORKDIR catalyst_voices/packages/internal/catalyst_voices_services + WORKDIR packages/internal/catalyst_voices_services COPY catalyst-gateway+build/doc/cat-gateway-api.json openapi/cat-gateway-api.json DO flutter-ci+OPENAPI_CODE_GEN \ --SAVE_LOCALLY=$save_locally \ From 1e0be6aa9a6bb05cc0c934a3c6a47291d765de2b Mon Sep 17 00:00:00 2001 From: bkioshn Date: Thu, 31 Oct 2024 18:01:07 +0700 Subject: [PATCH 38/89] fix: typo and comment Signed-off-by: bkioshn --- .../lib/src/rust/api/key_derivation.dart | 14 +++++----- .../rust/src/api/key_derivation/mod.rs | 28 +++++++++---------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart index 6a738866b4..129a82c77e 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart @@ -52,7 +52,7 @@ Future deriveXprv( RustLib.instance.api .crateApiKeyDerivationDeriveXprv(xprvBytes: xprvBytes, path: path); -/// Get public key from the given extended private key. +/// Get extended public key from the given extended private key. /// /// # Arguments /// @@ -60,15 +60,15 @@ Future deriveXprv( /// /// # Returns /// -/// Returns a 64 length bytes `XPubBytes` representing the public key. +/// Returns a 64 length bytes `XPubBytes` representing the extended public key. /// /// # Errors /// -/// Returns an error if the private key is invalid. +/// Returns an error if the extended private key is invalid. Future xpublicKey({required U8Array96 xprvBytes}) => RustLib.instance.api.crateApiKeyDerivationXpublicKey(xprvBytes: xprvBytes); -/// Sign data with the given extended private key. +/// Sign the given data with the given extended private key. /// /// # Arguments /// @@ -80,7 +80,7 @@ Future xpublicKey({required U8Array96 xprvBytes}) => /// /// # Errors /// -/// Returns an error if the private key is invalid. +/// Returns an error if the extended private key is invalid. Future signData( {required U8Array96 xprvBytes, required List data}) => RustLib.instance.api @@ -100,7 +100,7 @@ Future signData( /// /// # Errors /// -/// Returns an error if the private key or signature is invalid. +/// Returns an error if the extended private key or signature is invalid. Future checkSignatureXprv( {required U8Array96 xprvBytes, required List data, @@ -122,7 +122,7 @@ Future checkSignatureXprv( /// /// # Errors /// -/// Returns an error if the public key or signature is invalid. +/// Returns an error if the extended public key or signature is invalid. Future checkSignatureXpub( {required U8Array64 xpubBytes, required List data, diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs index 4d3ce0271c..04b31d5575 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs @@ -140,7 +140,7 @@ fn derive_xprv_helper(xprv: XPrv, path: &str) -> anyhow::Result { Ok(key) } -/// Get public key from the given extended private key. +/// Get extended public key from the given extended private key. /// /// # Arguments /// @@ -148,13 +148,13 @@ fn derive_xprv_helper(xprv: XPrv, path: &str) -> anyhow::Result { /// /// # Returns /// -/// Returns a 64 length bytes `XPubBytes` representing the public key. +/// Returns a 64 length bytes `XPubBytes` representing the extended public key. /// /// # Errors /// -/// Returns an error if the private key is invalid. +/// Returns an error if the extended private key is invalid. pub async fn xpublic_key(xprv_bytes: XPrvBytes) -> anyhow::Result { - let xpublic_key = spawn_blocking_with( + let xpub = spawn_blocking_with( move || { let xprv = match XPrv::from_bytes_verified(xprv_bytes) { Ok(xprv) => xprv, @@ -166,15 +166,15 @@ pub async fn xpublic_key(xprv_bytes: XPrvBytes) -> anyhow::Result { ) .await??; - Ok(Into::<[u8; 64]>::into(xpublic_key)) + Ok(Into::<[u8; 64]>::into(xpub)) } -/// Helper function for `xpublic_key`. +/// Helper function for `xpub`. fn xpublic_key_helper(xprv: &XPrv) -> XPub { xprv.public() } -/// Sign data with the given extended private key. +/// Sign the given data with the given extended private key. /// /// # Arguments /// @@ -186,7 +186,7 @@ fn xpublic_key_helper(xprv: &XPrv) -> XPub { /// /// # Errors /// -/// Returns an error if the private key is invalid. +/// Returns an error if the extended private key is invalid. pub async fn sign_data(xprv_bytes: XPrvBytes, data: Vec) -> anyhow::Result { let signature = spawn_blocking_with( move || { @@ -222,7 +222,7 @@ fn sign_data_helper(xprv: &XPrv, data: &[u8]) -> Signature { /// /// # Errors /// -/// Returns an error if the private key or signature is invalid. +/// Returns an error if the extended private key or signature is invalid. pub async fn check_signature_xprv( xprv_bytes: XPrvBytes, data: Vec, signature: SignatureBytes, ) -> anyhow::Result { @@ -265,7 +265,7 @@ pub(crate) fn check_signature_xprv_helper( /// /// # Errors /// -/// Returns an error if the public key or signature is invalid. +/// Returns an error if the extended public key or signature is invalid. pub async fn check_signature_xpub( xpub_bytes: XPubBytes, data: Vec, signature: SignatureBytes, ) -> anyhow::Result { @@ -276,8 +276,8 @@ pub async fn check_signature_xpub( // Invalid signature, force return false. Err(_) => return Ok(false), }; - let xprv = XPub::from_bytes(xpub_bytes); - Ok(check_signature_xpub_helper(&xprv, &data, verified_sig)) + let xpub = XPub::from_bytes(xpub_bytes); + Ok(check_signature_xpub_helper(&xpub, &data, verified_sig)) }, FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), ) @@ -288,9 +288,9 @@ pub async fn check_signature_xpub( /// Helper function for `check_signature`. pub(crate) fn check_signature_xpub_helper( - xpublic_key: &XPub, data: &[u8], signature: Signature, + xpub: &XPub, data: &[u8], signature: Signature, ) -> bool { - xpublic_key.verify(data, &signature) + xpub.verify(data, &signature) } #[cfg(test)] From b6f981f68f4ac7b19f6fcdfbbbd3317b80f81a0e Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Thu, 31 Oct 2024 12:21:11 +0100 Subject: [PATCH 39/89] fix: vscode launch.recommended paths --- .vscode/launch.recommended.json | 95 +++++++++++++++++++++++---------- 1 file changed, 67 insertions(+), 28 deletions(-) diff --git a/.vscode/launch.recommended.json b/.vscode/launch.recommended.json index 7d8010b943..b9de6a4e6e 100644 --- a/.vscode/launch.recommended.json +++ b/.vscode/launch.recommended.json @@ -7,7 +7,7 @@ "configurations": [ { "name": "Catalyst Voices [macOS]", - "cwd": "catalyst_voices", + "cwd": "catalyst_voices/apps/voices", "request": "launch", "type": "dart", "flutterMode": "debug", @@ -15,116 +15,155 @@ }, { "name": "Catalyst Voices [Web]", - "cwd": "catalyst_voices", + "cwd": "catalyst_voices/apps/voices", "request": "launch", "type": "dart", "flutterMode": "debug", "program": "lib/configs/main_web.dart", - "args": ["--dart-define", "SENTRY_DSN=REPLACE_WITH_SENTRY_DSN_URL"] + "args": [ + "--dart-define", + "SENTRY_DSN=REPLACE_WITH_SENTRY_DSN_URL" + ] }, { "name": "Catalyst Voices [DEV][Debug]", - "cwd": "catalyst_voices", + "cwd": "catalyst_voices/apps/voices", "request": "launch", "type": "dart", "program": "lib/configs/main_dev.dart", - "args": ["--flavor", "dev"] + "args": [ + "--flavor", + "dev" + ] }, { "name": "Catalyst Voices [DEV][Profile]", - "cwd": "catalyst_voices", + "cwd": "catalyst_voices/apps/voices", "request": "launch", "type": "dart", "flutterMode": "profile", "program": "lib/configs/main_dev.dart", - "args": ["--flavor", "dev"] + "args": [ + "--flavor", + "dev" + ] }, { "name": "Catalyst Voices [DEV][Release]", - "cwd": "catalyst_voices", + "cwd": "catalyst_voices/apps/voices", "request": "launch", "type": "dart", "flutterMode": "release", "program": "lib/configs/main_dev.dart", - "args": ["--flavor", "dev"] + "args": [ + "--flavor", + "dev" + ] }, { "name": "Catalyst Voices [QA][Debug]", - "cwd": "catalyst_voices", + "cwd": "catalyst_voices/apps/voices", "request": "launch", "type": "dart", "program": "lib/configs/main_qa.dart", - "args": ["--flavor", "qa"] + "args": [ + "--flavor", + "qa" + ] }, { "name": "Catalyst Voices [QA][Profile]", - "cwd": "catalyst_voices", + "cwd": "catalyst_voices/apps/voices", "request": "launch", "type": "dart", "flutterMode": "profile", "program": "lib/configs/main_qa.dart", - "args": ["--flavor", "qa"] + "args": [ + "--flavor", + "qa" + ] }, { "name": "Catalyst Voices [QA][Release]", - "cwd": "catalyst_voices", + "cwd": "catalyst_voices/apps/voices", "request": "launch", "type": "dart", "flutterMode": "release", "program": "lib/configs/main_qa.dart", - "args": ["--flavor", "qa"] + "args": [ + "--flavor", + "qa" + ] }, { "name": "Catalyst Voices [PROD][Debug]", - "cwd": "catalyst_voices", + "cwd": "catalyst_voices/apps/voices", "request": "launch", "type": "dart", "program": "lib/configs/main_prod.dart", - "args": ["--flavor", "prod"] + "args": [ + "--flavor", + "prod" + ] }, { "name": "Catalyst Voices [PROD][Profile]", - "cwd": "catalyst_voices", + "cwd": "catalyst_voices/apps/voices", "request": "launch", "type": "dart", "flutterMode": "profile", "program": "lib/configs/main_prod.dart", - "args": ["--flavor", "prod"] + "args": [ + "--flavor", + "prod" + ] }, { "name": "Catalyst Voices [PROD][Release]", - "cwd": "catalyst_voices", + "cwd": "catalyst_voices/apps/voices", "request": "launch", "type": "dart", "flutterMode": "release", "program": "lib/configs/main_prod.dart", - "args": ["--flavor", "prod"] + "args": [ + "--flavor", + "prod" + ] }, { "name": "Catalyst Voices [PRE:PROD][Debug]", - "cwd": "catalyst_voices", + "cwd": "catalyst_voices/apps/voices", "request": "launch", "type": "dart", "program": "lib/configs/main_preprod.dart", - "args": ["--flavor", "preprod"] + "args": [ + "--flavor", + "preprod" + ] }, { "name": "Catalyst Voices [PRE:PROD][Profile]", - "cwd": "catalyst_voices", + "cwd": "catalyst_voices/apps/voices", "request": "launch", "type": "dart", "flutterMode": "profile", "program": "lib/configs/main_preprod.dart", - "args": ["--flavor", "preprod"] + "args": [ + "--flavor", + "preprod" + ] }, { "name": "Catalyst Voices [PRE:PROD][Release]", - "cwd": "catalyst_voices", + "cwd": "catalyst_voices/apps/voices", "request": "launch", "type": "dart", "flutterMode": "release", "program": "lib/configs/main_preprod.dart", - "args": ["--flavor", "preprod"] + "args": [ + "--flavor", + "preprod" + ] } ] -} +} \ No newline at end of file From 9009c0a2fe6994932d3dcfb1152ddf0e99dd0133 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Thu, 31 Oct 2024 12:55:39 +0100 Subject: [PATCH 40/89] feat: catalyst_voices justfile --- catalyst-gateway/.cargo/config.toml | 2 +- catalyst_voices/justfile | 23 +++++++++++++++++++++++ justfile | 1 + 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100755 catalyst_voices/justfile diff --git a/catalyst-gateway/.cargo/config.toml b/catalyst-gateway/.cargo/config.toml index 061a40c093..6641db1faa 100644 --- a/catalyst-gateway/.cargo/config.toml +++ b/catalyst-gateway/.cargo/config.toml @@ -90,4 +90,4 @@ quiet = false # whether cargo output is quiet verbose = false # whether cargo provides verbose output color = "auto" # whether cargo colorizes output use `CARGO_TERM_COLOR="off"` to disable. progress.when = "never" # whether cargo shows progress bar -progress.width = 80 # width of progress bar \ No newline at end of file +progress.width = 80 # width of progress bar diff --git a/catalyst_voices/justfile b/catalyst_voices/justfile new file mode 100755 index 0000000000..5169baf957 --- /dev/null +++ b/catalyst_voices/justfile @@ -0,0 +1,23 @@ +#!/usr/bin/env just --justfile + +# cspell: words justfile + +default: + @just --list --unsorted + +# Runs all static code checks +check-code: + earthly +check-static-analysis + earthly +check-code-formatting + earthly +check-license + +# Runs unit tests +test-code: + earthly +test-unit + +# Generates gateway base services in packages/internal/catalyst_voices_services +generate-gateway-services: + cd .. && earthly ./catalyst_voices+code-generator --platform=linux/amd64 --save_locally=true + +# Pre Push Checks +pre-push: check-code diff --git a/justfile b/justfile index 88cd8c7737..9aad5a66fc 100644 --- a/justfile +++ b/justfile @@ -19,6 +19,7 @@ check-spelling: # Pre Push Checks - intended to be run by a git pre-push hook. pre-push: check-markdown check-spelling just catalyst-gateway/pre-push + just catalyst_voices/pre-push earthly ./catalyst_voices+code-generator --platform=linux/amd64 --save_locally=true # Run cat-gateway natively on preprod From 9497665ff1d58510e9381a03fe3482d680c1f3fb Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Thu, 31 Oct 2024 13:37:35 +0100 Subject: [PATCH 41/89] refactor: rename catalyst_voices_remote_widgets to remote_widgets --- catalyst_voices/.idea/modules.xml | 4 ++-- .../.gitignore | 0 .../README.md | 0 .../analysis_options.yaml | 0 .../example/.gitignore | 0 .../example/.metadata | 0 .../example/README.md | 0 .../example/analysis_options.yaml | 0 .../example/android/.gitignore | 0 .../example/android/app/build.gradle | 0 .../android/app/src/debug/AndroidManifest.xml | 0 .../android/app/src/main/AndroidManifest.xml | 0 .../main/kotlin/com/example/example/MainActivity.kt | 0 .../src/main/res/drawable-v21/launch_background.xml | 0 .../app/src/main/res/drawable/launch_background.xml | 0 .../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin .../app/src/main/res/values-night/styles.xml | 0 .../android/app/src/main/res/values/styles.xml | 0 .../android/app/src/profile/AndroidManifest.xml | 0 .../example/android/build.gradle | 0 .../example/android/gradle.properties | 0 .../gradle/wrapper/gradle-wrapper.properties | 0 .../example/android/settings.gradle | 0 .../example/bin/main.dart | 0 .../example/ios/.gitignore | 0 .../example/ios/Flutter/AppFrameworkInfo.plist | 0 .../example/ios/Flutter/Debug.xcconfig | 0 .../example/ios/Flutter/Release.xcconfig | 0 .../example/ios/Runner.xcodeproj/project.pbxproj | 0 .../project.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../ios/Runner.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../example/ios/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin .../AppIcon.appiconset/Icon-App-83.5x83.5@2x.png | Bin .../LaunchImage.imageset/Contents.json | 0 .../LaunchImage.imageset/LaunchImage.png | Bin .../LaunchImage.imageset/LaunchImage@2x.png | Bin .../LaunchImage.imageset/LaunchImage@3x.png | Bin .../Assets.xcassets/LaunchImage.imageset/README.md | 0 .../ios/Runner/Base.lproj/LaunchScreen.storyboard | 0 .../example/ios/Runner/Base.lproj/Main.storyboard | 0 .../example/ios/Runner/Info.plist | 0 .../example/ios/Runner/Runner-Bridging-Header.h | 0 .../example/ios/RunnerTests/RunnerTests.swift | 0 .../example/lib/main.dart | 0 .../example/lib/src/app.dart | 0 .../example/lib/src/home_page.dart | 0 .../example/lib/src/remote_form.dart | 2 +- .../example/lib/src/widgets/local_widget.dart | 0 .../example/lib/src/widgets/new_local_widget.dart | 0 .../example/linux/.gitignore | 0 .../example/linux/CMakeLists.txt | 0 .../example/linux/flutter/CMakeLists.txt | 0 .../linux/flutter/generated_plugin_registrant.cc | 0 .../linux/flutter/generated_plugin_registrant.h | 0 .../example/linux/flutter/generated_plugins.cmake | 0 .../example/linux/main.cc | 0 .../example/linux/my_application.cc | 0 .../example/linux/my_application.h | 0 .../example/macos/.gitignore | 0 .../example/macos/Flutter/Flutter-Debug.xcconfig | 0 .../example/macos/Flutter/Flutter-Release.xcconfig | 0 .../macos/Flutter/GeneratedPluginRegistrant.swift | 0 .../example/macos/Runner.xcodeproj/project.pbxproj | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../Runner.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../example/macos/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/app_icon_1024.png | Bin .../AppIcon.appiconset/app_icon_128.png | Bin .../AppIcon.appiconset/app_icon_16.png | Bin .../AppIcon.appiconset/app_icon_256.png | Bin .../AppIcon.appiconset/app_icon_32.png | Bin .../AppIcon.appiconset/app_icon_512.png | Bin .../AppIcon.appiconset/app_icon_64.png | Bin .../example/macos/Runner/Base.lproj/MainMenu.xib | 0 .../example/macos/Runner/Configs/AppInfo.xcconfig | 0 .../example/macos/Runner/Configs/Debug.xcconfig | 0 .../example/macos/Runner/Configs/Release.xcconfig | 0 .../example/macos/Runner/Configs/Warnings.xcconfig | 0 .../example/macos/Runner/DebugProfile.entitlements | 0 .../example/macos/Runner/Info.plist | 0 .../example/macos/Runner/MainFlutterWindow.swift | 0 .../example/macos/Runner/Release.entitlements | 0 .../example/macos/RunnerTests/RunnerTests.swift | 0 .../example/pubspec.yaml | 2 +- .../example/rfw/new_remote_widget.rfw | Bin .../example/rfw/remote_widget.rfw | Bin .../example/rfw/test.rfw | Bin .../example/rfwtxt/new_remote_widget.rfwtxt | 0 .../example/rfwtxt/remote_widget.rfwtxt | 0 .../example/rfwtxt/test.rfwtxt | 0 .../example/web/favicon.png | Bin .../example/web/icons/Icon-192.png | Bin .../example/web/icons/Icon-512.png | Bin .../example/web/icons/Icon-maskable-192.png | Bin .../example/web/icons/Icon-maskable-512.png | Bin .../example/web/index.html | 0 .../example/web/manifest.json | 0 .../example/windows/.gitignore | 0 .../example/windows/CMakeLists.txt | 0 .../example/windows/flutter/CMakeLists.txt | 0 .../windows/flutter/generated_plugin_registrant.cc | 0 .../windows/flutter/generated_plugin_registrant.h | 0 .../example/windows/flutter/generated_plugins.cmake | 0 .../example/windows/runner/CMakeLists.txt | 0 .../example/windows/runner/Runner.rc | 0 .../example/windows/runner/flutter_window.cpp | 0 .../example/windows/runner/flutter_window.h | 0 .../example/windows/runner/main.cpp | 0 .../example/windows/runner/resource.h | 0 .../example/windows/runner/resources/app_icon.ico | Bin .../example/windows/runner/runner.exe.manifest | 0 .../example/windows/runner/utils.cpp | 0 .../example/windows/runner/utils.h | 0 .../example/windows/runner/win32_window.cpp | 0 .../example/windows/runner/win32_window.h | 0 .../lib/core.dart | 0 .../lib/formats.dart | 0 .../lib/src/core/catalyst_core.dart | 0 .../lib/src/formats/rfw_encode.dart | 0 .../pubspec.yaml | 2 +- 147 files changed, 5 insertions(+), 5 deletions(-) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/.gitignore (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/README.md (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/analysis_options.yaml (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/.gitignore (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/.metadata (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/README.md (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/analysis_options.yaml (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/.gitignore (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/app/build.gradle (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/app/src/debug/AndroidManifest.xml (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/app/src/main/AndroidManifest.xml (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/app/src/main/res/drawable-v21/launch_background.xml (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/app/src/main/res/drawable/launch_background.xml (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/app/src/main/res/values-night/styles.xml (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/app/src/main/res/values/styles.xml (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/app/src/profile/AndroidManifest.xml (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/build.gradle (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/gradle.properties (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/gradle/wrapper/gradle-wrapper.properties (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/android/settings.gradle (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/bin/main.dart (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/.gitignore (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Flutter/AppFrameworkInfo.plist (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Flutter/Debug.xcconfig (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Flutter/Release.xcconfig (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner.xcodeproj/project.pbxproj (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner.xcworkspace/contents.xcworkspacedata (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/AppDelegate.swift (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Base.lproj/LaunchScreen.storyboard (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Base.lproj/Main.storyboard (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Info.plist (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/Runner/Runner-Bridging-Header.h (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/ios/RunnerTests/RunnerTests.swift (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/lib/main.dart (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/lib/src/app.dart (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/lib/src/home_page.dart (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/lib/src/remote_form.dart (98%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/lib/src/widgets/local_widget.dart (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/lib/src/widgets/new_local_widget.dart (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/linux/.gitignore (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/linux/CMakeLists.txt (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/linux/flutter/CMakeLists.txt (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/linux/flutter/generated_plugin_registrant.cc (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/linux/flutter/generated_plugin_registrant.h (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/linux/flutter/generated_plugins.cmake (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/linux/main.cc (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/linux/my_application.cc (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/linux/my_application.h (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/.gitignore (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Flutter/Flutter-Debug.xcconfig (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Flutter/Flutter-Release.xcconfig (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Flutter/GeneratedPluginRegistrant.swift (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner.xcodeproj/project.pbxproj (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner.xcworkspace/contents.xcworkspacedata (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/AppDelegate.swift (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/Base.lproj/MainMenu.xib (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/Configs/AppInfo.xcconfig (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/Configs/Debug.xcconfig (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/Configs/Release.xcconfig (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/Configs/Warnings.xcconfig (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/DebugProfile.entitlements (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/Info.plist (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/MainFlutterWindow.swift (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/Runner/Release.entitlements (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/macos/RunnerTests/RunnerTests.swift (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/pubspec.yaml (90%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/rfw/new_remote_widget.rfw (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/rfw/remote_widget.rfw (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/rfw/test.rfw (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/rfwtxt/new_remote_widget.rfwtxt (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/rfwtxt/remote_widget.rfwtxt (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/rfwtxt/test.rfwtxt (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/web/favicon.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/web/icons/Icon-192.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/web/icons/Icon-512.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/web/icons/Icon-maskable-192.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/web/icons/Icon-maskable-512.png (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/web/index.html (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/web/manifest.json (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/.gitignore (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/CMakeLists.txt (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/flutter/CMakeLists.txt (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/flutter/generated_plugin_registrant.cc (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/flutter/generated_plugin_registrant.h (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/flutter/generated_plugins.cmake (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/runner/CMakeLists.txt (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/runner/Runner.rc (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/runner/flutter_window.cpp (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/runner/flutter_window.h (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/runner/main.cpp (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/runner/resource.h (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/runner/resources/app_icon.ico (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/runner/runner.exe.manifest (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/runner/utils.cpp (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/runner/utils.h (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/runner/win32_window.cpp (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/example/windows/runner/win32_window.h (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/lib/core.dart (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/lib/formats.dart (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/lib/src/core/catalyst_core.dart (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/lib/src/formats/rfw_encode.dart (100%) rename catalyst_voices/utilities/{catalyst_voices_remote_widgets => remote_widgets}/pubspec.yaml (88%) diff --git a/catalyst_voices/.idea/modules.xml b/catalyst_voices/.idea/modules.xml index fc30172bb9..3bdcc0b0a8 100644 --- a/catalyst_voices/.idea/modules.xml +++ b/catalyst_voices/.idea/modules.xml @@ -22,14 +22,14 @@ - - + + diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/.gitignore b/catalyst_voices/utilities/remote_widgets/.gitignore similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/.gitignore rename to catalyst_voices/utilities/remote_widgets/.gitignore diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/README.md b/catalyst_voices/utilities/remote_widgets/README.md similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/README.md rename to catalyst_voices/utilities/remote_widgets/README.md diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/analysis_options.yaml b/catalyst_voices/utilities/remote_widgets/analysis_options.yaml similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/analysis_options.yaml rename to catalyst_voices/utilities/remote_widgets/analysis_options.yaml diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/.gitignore b/catalyst_voices/utilities/remote_widgets/example/.gitignore similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/.gitignore rename to catalyst_voices/utilities/remote_widgets/example/.gitignore diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/.metadata b/catalyst_voices/utilities/remote_widgets/example/.metadata similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/.metadata rename to catalyst_voices/utilities/remote_widgets/example/.metadata diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/README.md b/catalyst_voices/utilities/remote_widgets/example/README.md similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/README.md rename to catalyst_voices/utilities/remote_widgets/example/README.md diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/analysis_options.yaml b/catalyst_voices/utilities/remote_widgets/example/analysis_options.yaml similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/analysis_options.yaml rename to catalyst_voices/utilities/remote_widgets/example/analysis_options.yaml diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/.gitignore b/catalyst_voices/utilities/remote_widgets/example/android/.gitignore similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/.gitignore rename to catalyst_voices/utilities/remote_widgets/example/android/.gitignore diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/build.gradle b/catalyst_voices/utilities/remote_widgets/example/android/app/build.gradle similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/build.gradle rename to catalyst_voices/utilities/remote_widgets/example/android/app/build.gradle diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/debug/AndroidManifest.xml b/catalyst_voices/utilities/remote_widgets/example/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/debug/AndroidManifest.xml rename to catalyst_voices/utilities/remote_widgets/example/android/app/src/debug/AndroidManifest.xml diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/AndroidManifest.xml b/catalyst_voices/utilities/remote_widgets/example/android/app/src/main/AndroidManifest.xml similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/AndroidManifest.xml rename to catalyst_voices/utilities/remote_widgets/example/android/app/src/main/AndroidManifest.xml diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt b/catalyst_voices/utilities/remote_widgets/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt rename to catalyst_voices/utilities/remote_widgets/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/drawable-v21/launch_background.xml b/catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/drawable-v21/launch_background.xml similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/drawable-v21/launch_background.xml rename to catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/drawable-v21/launch_background.xml diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/drawable/launch_background.xml b/catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/drawable/launch_background.xml similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/drawable/launch_background.xml rename to catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/drawable/launch_background.xml diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/values-night/styles.xml b/catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/values-night/styles.xml similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/values-night/styles.xml rename to catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/values-night/styles.xml diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/values/styles.xml b/catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/values/styles.xml similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/main/res/values/styles.xml rename to catalyst_voices/utilities/remote_widgets/example/android/app/src/main/res/values/styles.xml diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/profile/AndroidManifest.xml b/catalyst_voices/utilities/remote_widgets/example/android/app/src/profile/AndroidManifest.xml similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/app/src/profile/AndroidManifest.xml rename to catalyst_voices/utilities/remote_widgets/example/android/app/src/profile/AndroidManifest.xml diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/build.gradle b/catalyst_voices/utilities/remote_widgets/example/android/build.gradle similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/build.gradle rename to catalyst_voices/utilities/remote_widgets/example/android/build.gradle diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/gradle.properties b/catalyst_voices/utilities/remote_widgets/example/android/gradle.properties similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/gradle.properties rename to catalyst_voices/utilities/remote_widgets/example/android/gradle.properties diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/gradle/wrapper/gradle-wrapper.properties b/catalyst_voices/utilities/remote_widgets/example/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/gradle/wrapper/gradle-wrapper.properties rename to catalyst_voices/utilities/remote_widgets/example/android/gradle/wrapper/gradle-wrapper.properties diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/settings.gradle b/catalyst_voices/utilities/remote_widgets/example/android/settings.gradle similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/android/settings.gradle rename to catalyst_voices/utilities/remote_widgets/example/android/settings.gradle diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/bin/main.dart b/catalyst_voices/utilities/remote_widgets/example/bin/main.dart similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/bin/main.dart rename to catalyst_voices/utilities/remote_widgets/example/bin/main.dart diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/.gitignore b/catalyst_voices/utilities/remote_widgets/example/ios/.gitignore similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/.gitignore rename to catalyst_voices/utilities/remote_widgets/example/ios/.gitignore diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Flutter/AppFrameworkInfo.plist b/catalyst_voices/utilities/remote_widgets/example/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Flutter/AppFrameworkInfo.plist rename to catalyst_voices/utilities/remote_widgets/example/ios/Flutter/AppFrameworkInfo.plist diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Flutter/Debug.xcconfig b/catalyst_voices/utilities/remote_widgets/example/ios/Flutter/Debug.xcconfig similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Flutter/Debug.xcconfig rename to catalyst_voices/utilities/remote_widgets/example/ios/Flutter/Debug.xcconfig diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Flutter/Release.xcconfig b/catalyst_voices/utilities/remote_widgets/example/ios/Flutter/Release.xcconfig similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Flutter/Release.xcconfig rename to catalyst_voices/utilities/remote_widgets/example/ios/Flutter/Release.xcconfig diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.pbxproj b/catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.pbxproj rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcodeproj/project.pbxproj diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/AppDelegate.swift b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/AppDelegate.swift similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/AppDelegate.swift rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/AppDelegate.swift diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Base.lproj/Main.storyboard b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Base.lproj/Main.storyboard rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Base.lproj/Main.storyboard diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Info.plist b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Info.plist similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Info.plist rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Info.plist diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Runner-Bridging-Header.h b/catalyst_voices/utilities/remote_widgets/example/ios/Runner/Runner-Bridging-Header.h similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/Runner/Runner-Bridging-Header.h rename to catalyst_voices/utilities/remote_widgets/example/ios/Runner/Runner-Bridging-Header.h diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/RunnerTests/RunnerTests.swift b/catalyst_voices/utilities/remote_widgets/example/ios/RunnerTests/RunnerTests.swift similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/ios/RunnerTests/RunnerTests.swift rename to catalyst_voices/utilities/remote_widgets/example/ios/RunnerTests/RunnerTests.swift diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/main.dart b/catalyst_voices/utilities/remote_widgets/example/lib/main.dart similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/main.dart rename to catalyst_voices/utilities/remote_widgets/example/lib/main.dart diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/app.dart b/catalyst_voices/utilities/remote_widgets/example/lib/src/app.dart similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/app.dart rename to catalyst_voices/utilities/remote_widgets/example/lib/src/app.dart diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/home_page.dart b/catalyst_voices/utilities/remote_widgets/example/lib/src/home_page.dart similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/home_page.dart rename to catalyst_voices/utilities/remote_widgets/example/lib/src/home_page.dart diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/remote_form.dart b/catalyst_voices/utilities/remote_widgets/example/lib/src/remote_form.dart similarity index 98% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/remote_form.dart rename to catalyst_voices/utilities/remote_widgets/example/lib/src/remote_form.dart index aac33d29da..5938b79891 100644 --- a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/remote_form.dart +++ b/catalyst_voices/utilities/remote_widgets/example/lib/src/remote_form.dart @@ -1,8 +1,8 @@ import 'dart:async'; -import 'package:catalyst_voices_remote_widgets/core.dart' as core; import 'package:flutter/material.dart'; import 'package:http/http.dart' as http; +import 'package:remote_widgets/core.dart' as core; import 'package:rfw/rfw.dart'; const _remoteWidgetOneUrl = diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/widgets/local_widget.dart b/catalyst_voices/utilities/remote_widgets/example/lib/src/widgets/local_widget.dart similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/widgets/local_widget.dart rename to catalyst_voices/utilities/remote_widgets/example/lib/src/widgets/local_widget.dart diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/widgets/new_local_widget.dart b/catalyst_voices/utilities/remote_widgets/example/lib/src/widgets/new_local_widget.dart similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/lib/src/widgets/new_local_widget.dart rename to catalyst_voices/utilities/remote_widgets/example/lib/src/widgets/new_local_widget.dart diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/.gitignore b/catalyst_voices/utilities/remote_widgets/example/linux/.gitignore similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/.gitignore rename to catalyst_voices/utilities/remote_widgets/example/linux/.gitignore diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/CMakeLists.txt b/catalyst_voices/utilities/remote_widgets/example/linux/CMakeLists.txt similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/CMakeLists.txt rename to catalyst_voices/utilities/remote_widgets/example/linux/CMakeLists.txt diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/CMakeLists.txt b/catalyst_voices/utilities/remote_widgets/example/linux/flutter/CMakeLists.txt similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/CMakeLists.txt rename to catalyst_voices/utilities/remote_widgets/example/linux/flutter/CMakeLists.txt diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugin_registrant.cc b/catalyst_voices/utilities/remote_widgets/example/linux/flutter/generated_plugin_registrant.cc similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugin_registrant.cc rename to catalyst_voices/utilities/remote_widgets/example/linux/flutter/generated_plugin_registrant.cc diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugin_registrant.h b/catalyst_voices/utilities/remote_widgets/example/linux/flutter/generated_plugin_registrant.h similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugin_registrant.h rename to catalyst_voices/utilities/remote_widgets/example/linux/flutter/generated_plugin_registrant.h diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugins.cmake b/catalyst_voices/utilities/remote_widgets/example/linux/flutter/generated_plugins.cmake similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/flutter/generated_plugins.cmake rename to catalyst_voices/utilities/remote_widgets/example/linux/flutter/generated_plugins.cmake diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/main.cc b/catalyst_voices/utilities/remote_widgets/example/linux/main.cc similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/main.cc rename to catalyst_voices/utilities/remote_widgets/example/linux/main.cc diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/my_application.cc b/catalyst_voices/utilities/remote_widgets/example/linux/my_application.cc similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/my_application.cc rename to catalyst_voices/utilities/remote_widgets/example/linux/my_application.cc diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/my_application.h b/catalyst_voices/utilities/remote_widgets/example/linux/my_application.h similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/linux/my_application.h rename to catalyst_voices/utilities/remote_widgets/example/linux/my_application.h diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/.gitignore b/catalyst_voices/utilities/remote_widgets/example/macos/.gitignore similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/.gitignore rename to catalyst_voices/utilities/remote_widgets/example/macos/.gitignore diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Flutter/Flutter-Debug.xcconfig b/catalyst_voices/utilities/remote_widgets/example/macos/Flutter/Flutter-Debug.xcconfig similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Flutter/Flutter-Debug.xcconfig rename to catalyst_voices/utilities/remote_widgets/example/macos/Flutter/Flutter-Debug.xcconfig diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Flutter/Flutter-Release.xcconfig b/catalyst_voices/utilities/remote_widgets/example/macos/Flutter/Flutter-Release.xcconfig similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Flutter/Flutter-Release.xcconfig rename to catalyst_voices/utilities/remote_widgets/example/macos/Flutter/Flutter-Release.xcconfig diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Flutter/GeneratedPluginRegistrant.swift b/catalyst_voices/utilities/remote_widgets/example/macos/Flutter/GeneratedPluginRegistrant.swift similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Flutter/GeneratedPluginRegistrant.swift rename to catalyst_voices/utilities/remote_widgets/example/macos/Flutter/GeneratedPluginRegistrant.swift diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/project.pbxproj b/catalyst_voices/utilities/remote_widgets/example/macos/Runner.xcodeproj/project.pbxproj similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/project.pbxproj rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner.xcodeproj/project.pbxproj diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/utilities/remote_widgets/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/catalyst_voices/utilities/remote_widgets/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcworkspace/contents.xcworkspacedata b/catalyst_voices/utilities/remote_widgets/example/macos/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcworkspace/contents.xcworkspacedata rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner.xcworkspace/contents.xcworkspacedata diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/catalyst_voices/utilities/remote_widgets/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/AppDelegate.swift b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/AppDelegate.swift similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/AppDelegate.swift rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/AppDelegate.swift diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Base.lproj/MainMenu.xib b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/Base.lproj/MainMenu.xib similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Base.lproj/MainMenu.xib rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/Base.lproj/MainMenu.xib diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/AppInfo.xcconfig b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/Configs/AppInfo.xcconfig similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/AppInfo.xcconfig rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/Configs/AppInfo.xcconfig diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Debug.xcconfig b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/Configs/Debug.xcconfig similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Debug.xcconfig rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/Configs/Debug.xcconfig diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Release.xcconfig b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/Configs/Release.xcconfig similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Release.xcconfig rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/Configs/Release.xcconfig diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Warnings.xcconfig b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/Configs/Warnings.xcconfig similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Configs/Warnings.xcconfig rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/Configs/Warnings.xcconfig diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/DebugProfile.entitlements b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/DebugProfile.entitlements similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/DebugProfile.entitlements rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/DebugProfile.entitlements diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Info.plist b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/Info.plist similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Info.plist rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/Info.plist diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/MainFlutterWindow.swift b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/MainFlutterWindow.swift similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/MainFlutterWindow.swift rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/MainFlutterWindow.swift diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Release.entitlements b/catalyst_voices/utilities/remote_widgets/example/macos/Runner/Release.entitlements similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/Runner/Release.entitlements rename to catalyst_voices/utilities/remote_widgets/example/macos/Runner/Release.entitlements diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/RunnerTests/RunnerTests.swift b/catalyst_voices/utilities/remote_widgets/example/macos/RunnerTests/RunnerTests.swift similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/macos/RunnerTests/RunnerTests.swift rename to catalyst_voices/utilities/remote_widgets/example/macos/RunnerTests/RunnerTests.swift diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/pubspec.yaml b/catalyst_voices/utilities/remote_widgets/example/pubspec.yaml similarity index 90% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/pubspec.yaml rename to catalyst_voices/utilities/remote_widgets/example/pubspec.yaml index 1c39718d09..9a52792727 100644 --- a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/pubspec.yaml +++ b/catalyst_voices/utilities/remote_widgets/example/pubspec.yaml @@ -7,7 +7,7 @@ environment: sdk: ">=3.5.0 <4.0.0" dependencies: - catalyst_voices_remote_widgets: + remote_widgets: path: ../ flutter: sdk: flutter diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfw/new_remote_widget.rfw b/catalyst_voices/utilities/remote_widgets/example/rfw/new_remote_widget.rfw similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfw/new_remote_widget.rfw rename to catalyst_voices/utilities/remote_widgets/example/rfw/new_remote_widget.rfw diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfw/remote_widget.rfw b/catalyst_voices/utilities/remote_widgets/example/rfw/remote_widget.rfw similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfw/remote_widget.rfw rename to catalyst_voices/utilities/remote_widgets/example/rfw/remote_widget.rfw diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfw/test.rfw b/catalyst_voices/utilities/remote_widgets/example/rfw/test.rfw similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfw/test.rfw rename to catalyst_voices/utilities/remote_widgets/example/rfw/test.rfw diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfwtxt/new_remote_widget.rfwtxt b/catalyst_voices/utilities/remote_widgets/example/rfwtxt/new_remote_widget.rfwtxt similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfwtxt/new_remote_widget.rfwtxt rename to catalyst_voices/utilities/remote_widgets/example/rfwtxt/new_remote_widget.rfwtxt diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfwtxt/remote_widget.rfwtxt b/catalyst_voices/utilities/remote_widgets/example/rfwtxt/remote_widget.rfwtxt similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfwtxt/remote_widget.rfwtxt rename to catalyst_voices/utilities/remote_widgets/example/rfwtxt/remote_widget.rfwtxt diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfwtxt/test.rfwtxt b/catalyst_voices/utilities/remote_widgets/example/rfwtxt/test.rfwtxt similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/rfwtxt/test.rfwtxt rename to catalyst_voices/utilities/remote_widgets/example/rfwtxt/test.rfwtxt diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/favicon.png b/catalyst_voices/utilities/remote_widgets/example/web/favicon.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/favicon.png rename to catalyst_voices/utilities/remote_widgets/example/web/favicon.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-192.png b/catalyst_voices/utilities/remote_widgets/example/web/icons/Icon-192.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-192.png rename to catalyst_voices/utilities/remote_widgets/example/web/icons/Icon-192.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-512.png b/catalyst_voices/utilities/remote_widgets/example/web/icons/Icon-512.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-512.png rename to catalyst_voices/utilities/remote_widgets/example/web/icons/Icon-512.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-maskable-192.png b/catalyst_voices/utilities/remote_widgets/example/web/icons/Icon-maskable-192.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-maskable-192.png rename to catalyst_voices/utilities/remote_widgets/example/web/icons/Icon-maskable-192.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-maskable-512.png b/catalyst_voices/utilities/remote_widgets/example/web/icons/Icon-maskable-512.png similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/icons/Icon-maskable-512.png rename to catalyst_voices/utilities/remote_widgets/example/web/icons/Icon-maskable-512.png diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/index.html b/catalyst_voices/utilities/remote_widgets/example/web/index.html similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/index.html rename to catalyst_voices/utilities/remote_widgets/example/web/index.html diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/manifest.json b/catalyst_voices/utilities/remote_widgets/example/web/manifest.json similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/web/manifest.json rename to catalyst_voices/utilities/remote_widgets/example/web/manifest.json diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/.gitignore b/catalyst_voices/utilities/remote_widgets/example/windows/.gitignore similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/.gitignore rename to catalyst_voices/utilities/remote_widgets/example/windows/.gitignore diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/CMakeLists.txt b/catalyst_voices/utilities/remote_widgets/example/windows/CMakeLists.txt similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/CMakeLists.txt rename to catalyst_voices/utilities/remote_widgets/example/windows/CMakeLists.txt diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/CMakeLists.txt b/catalyst_voices/utilities/remote_widgets/example/windows/flutter/CMakeLists.txt similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/CMakeLists.txt rename to catalyst_voices/utilities/remote_widgets/example/windows/flutter/CMakeLists.txt diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugin_registrant.cc b/catalyst_voices/utilities/remote_widgets/example/windows/flutter/generated_plugin_registrant.cc similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugin_registrant.cc rename to catalyst_voices/utilities/remote_widgets/example/windows/flutter/generated_plugin_registrant.cc diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugin_registrant.h b/catalyst_voices/utilities/remote_widgets/example/windows/flutter/generated_plugin_registrant.h similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugin_registrant.h rename to catalyst_voices/utilities/remote_widgets/example/windows/flutter/generated_plugin_registrant.h diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugins.cmake b/catalyst_voices/utilities/remote_widgets/example/windows/flutter/generated_plugins.cmake similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/flutter/generated_plugins.cmake rename to catalyst_voices/utilities/remote_widgets/example/windows/flutter/generated_plugins.cmake diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/CMakeLists.txt b/catalyst_voices/utilities/remote_widgets/example/windows/runner/CMakeLists.txt similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/CMakeLists.txt rename to catalyst_voices/utilities/remote_widgets/example/windows/runner/CMakeLists.txt diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/Runner.rc b/catalyst_voices/utilities/remote_widgets/example/windows/runner/Runner.rc similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/Runner.rc rename to catalyst_voices/utilities/remote_widgets/example/windows/runner/Runner.rc diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/flutter_window.cpp b/catalyst_voices/utilities/remote_widgets/example/windows/runner/flutter_window.cpp similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/flutter_window.cpp rename to catalyst_voices/utilities/remote_widgets/example/windows/runner/flutter_window.cpp diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/flutter_window.h b/catalyst_voices/utilities/remote_widgets/example/windows/runner/flutter_window.h similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/flutter_window.h rename to catalyst_voices/utilities/remote_widgets/example/windows/runner/flutter_window.h diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/main.cpp b/catalyst_voices/utilities/remote_widgets/example/windows/runner/main.cpp similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/main.cpp rename to catalyst_voices/utilities/remote_widgets/example/windows/runner/main.cpp diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/resource.h b/catalyst_voices/utilities/remote_widgets/example/windows/runner/resource.h similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/resource.h rename to catalyst_voices/utilities/remote_widgets/example/windows/runner/resource.h diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/resources/app_icon.ico b/catalyst_voices/utilities/remote_widgets/example/windows/runner/resources/app_icon.ico similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/resources/app_icon.ico rename to catalyst_voices/utilities/remote_widgets/example/windows/runner/resources/app_icon.ico diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/runner.exe.manifest b/catalyst_voices/utilities/remote_widgets/example/windows/runner/runner.exe.manifest similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/runner.exe.manifest rename to catalyst_voices/utilities/remote_widgets/example/windows/runner/runner.exe.manifest diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/utils.cpp b/catalyst_voices/utilities/remote_widgets/example/windows/runner/utils.cpp similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/utils.cpp rename to catalyst_voices/utilities/remote_widgets/example/windows/runner/utils.cpp diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/utils.h b/catalyst_voices/utilities/remote_widgets/example/windows/runner/utils.h similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/utils.h rename to catalyst_voices/utilities/remote_widgets/example/windows/runner/utils.h diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/win32_window.cpp b/catalyst_voices/utilities/remote_widgets/example/windows/runner/win32_window.cpp similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/win32_window.cpp rename to catalyst_voices/utilities/remote_widgets/example/windows/runner/win32_window.cpp diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/win32_window.h b/catalyst_voices/utilities/remote_widgets/example/windows/runner/win32_window.h similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/example/windows/runner/win32_window.h rename to catalyst_voices/utilities/remote_widgets/example/windows/runner/win32_window.h diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/core.dart b/catalyst_voices/utilities/remote_widgets/lib/core.dart similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/core.dart rename to catalyst_voices/utilities/remote_widgets/lib/core.dart diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/formats.dart b/catalyst_voices/utilities/remote_widgets/lib/formats.dart similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/formats.dart rename to catalyst_voices/utilities/remote_widgets/lib/formats.dart diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/src/core/catalyst_core.dart b/catalyst_voices/utilities/remote_widgets/lib/src/core/catalyst_core.dart similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/src/core/catalyst_core.dart rename to catalyst_voices/utilities/remote_widgets/lib/src/core/catalyst_core.dart diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/src/formats/rfw_encode.dart b/catalyst_voices/utilities/remote_widgets/lib/src/formats/rfw_encode.dart similarity index 100% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/lib/src/formats/rfw_encode.dart rename to catalyst_voices/utilities/remote_widgets/lib/src/formats/rfw_encode.dart diff --git a/catalyst_voices/utilities/catalyst_voices_remote_widgets/pubspec.yaml b/catalyst_voices/utilities/remote_widgets/pubspec.yaml similarity index 88% rename from catalyst_voices/utilities/catalyst_voices_remote_widgets/pubspec.yaml rename to catalyst_voices/utilities/remote_widgets/pubspec.yaml index c065b3537c..67e32806ef 100644 --- a/catalyst_voices/utilities/catalyst_voices_remote_widgets/pubspec.yaml +++ b/catalyst_voices/utilities/remote_widgets/pubspec.yaml @@ -1,4 +1,4 @@ -name: catalyst_voices_remote_widgets +name: remote_widgets description: Catalyst remote widgets. version: 0.1.0+1 publish_to: none From 0e3d0660a737b008559dddb8c0608bcf8e8a970d Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Thu, 31 Oct 2024 13:45:30 +0100 Subject: [PATCH 42/89] fix: remote_widget spelling and licence checks --- catalyst_voices/melos.yaml | 2 +- cspell.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/catalyst_voices/melos.yaml b/catalyst_voices/melos.yaml index ac710fa6f1..38389a234b 100644 --- a/catalyst_voices/melos.yaml +++ b/catalyst_voices/melos.yaml @@ -51,7 +51,7 @@ packageLicenseOverride: catalyst_voices_localization: Apache-2.0 catalyst_voices_models: Apache-2.0 example: Apache-2.0 - catalyst_voices_remote_widgets: Apache-2.0 + remote_widgets: Apache-2.0 remote_widgets_example: Apache-2.0 catalyst_voices_view_models: Apache-2.0 catalyst_voices_blocs: Apache-2.0 diff --git a/cspell.json b/cspell.json index bb45c271fb..68b94eaaec 100644 --- a/cspell.json +++ b/cspell.json @@ -177,7 +177,7 @@ "**/generated/**", "**/GeneratedPluginRegistrant.swift", "catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/**", - "catalyst_voices/utilities/catalyst_voices_remote_widgets/example/**/**", + "catalyst_voices/utilities/remote_widgets/example/**/**", "catalyst_voices/utilities/poc_local_storage/**/**", "**/*.svg" ], From 7243017a8f5a153f970493f5bbe58da51fd450f1 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Thu, 31 Oct 2024 14:30:24 +0100 Subject: [PATCH 43/89] fix: remote_widget analyzer --- .../utilities/remote_widgets/example/bin/main.dart | 2 +- catalyst_voices/utilities/remote_widgets/example/pubspec.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/catalyst_voices/utilities/remote_widgets/example/bin/main.dart b/catalyst_voices/utilities/remote_widgets/example/bin/main.dart index 7599cf3486..b83f95e40f 100644 --- a/catalyst_voices/utilities/remote_widgets/example/bin/main.dart +++ b/catalyst_voices/utilities/remote_widgets/example/bin/main.dart @@ -2,7 +2,7 @@ import 'dart:async'; -import 'package:catalyst_voices_remote_widgets/formats.dart'; +import 'package:remote_widgets/formats.dart'; Future main() async { await RemoteWidgetEncoder.rfwTxtToRfw( diff --git a/catalyst_voices/utilities/remote_widgets/example/pubspec.yaml b/catalyst_voices/utilities/remote_widgets/example/pubspec.yaml index 9a52792727..56ab358fb5 100644 --- a/catalyst_voices/utilities/remote_widgets/example/pubspec.yaml +++ b/catalyst_voices/utilities/remote_widgets/example/pubspec.yaml @@ -7,11 +7,11 @@ environment: sdk: ">=3.5.0 <4.0.0" dependencies: - remote_widgets: - path: ../ flutter: sdk: flutter http: ^1.2.1 + remote_widgets: + path: ../ rfw: ^1.0.26 dev_dependencies: From 13467fc025276975bcfcf474df5c275338daa91a Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Thu, 31 Oct 2024 17:31:06 +0100 Subject: [PATCH 44/89] refactor: move repo-catalyst-voices from root Earthfile to catalyst_voices/Earthfile --- Earthfile | 10 ---------- catalyst_voices/Earthfile | 15 ++++++++++++--- catalyst_voices/justfile | 6 +++++- .../catalyst_cardano/wallet-automation/Earthfile | 5 ++--- 4 files changed, 19 insertions(+), 17 deletions(-) diff --git a/Earthfile b/Earthfile index a5b84402d4..6756d04c31 100644 --- a/Earthfile +++ b/Earthfile @@ -41,14 +41,4 @@ repo-docs: WORKDIR /repo COPY --dir *.md LICENSE-APACHE LICENSE-MIT . - SAVE ARTIFACT /repo repo - -# repo-catalyst-voices - Creates artifacts of all configuration files, -# packages and folders related to catalyst_voices frontend. -repo-catalyst-voices: - FROM scratch - - WORKDIR /repo - COPY --dir catalyst_voices . - SAVE ARTIFACT /repo repo \ No newline at end of file diff --git a/catalyst_voices/Earthfile b/catalyst_voices/Earthfile index 14c88b3de6..b004450e30 100644 --- a/catalyst_voices/Earthfile +++ b/catalyst_voices/Earthfile @@ -3,11 +3,20 @@ VERSION 0.8 IMPORT ../catalyst-gateway AS catalyst-gateway IMPORT github.com/input-output-hk/catalyst-ci/earthly/flutter:v3.2.21 AS flutter-ci +# repo-catalyst-voices - Creates artifacts of all configuration files, +# packages and folders related to catalyst_voices frontend. +repo-catalyst-voices: + FROM scratch + + WORKDIR /repo + COPY --dir . . + + SAVE ARTIFACT /repo repo + # Copy all the necessary files and running bootstrap builder: DO flutter-ci+SETUP - COPY ../+repo-catalyst-voices/repo . - WORKDIR catalyst_voices + COPY +repo-catalyst-voices/repo . DO flutter-ci+BOOTSTRAP # Generates flutter code. @@ -70,7 +79,7 @@ build-web: ARG RUN_ON_PR=true ARG SENTRY_DSN - ARG WORKDIR=/frontend/catalyst_voices/apps/voices + ARG WORKDIR=/frontend/apps/voices IF [ $RUN_ON_PR = true ] DO flutter-ci+BUILD_WEB --WORKDIR=$WORKDIR --BUILD_MODE='--profile' --TARGET=lib/configs/main_web.dart ELSE diff --git a/catalyst_voices/justfile b/catalyst_voices/justfile index 5169baf957..a0086e2844 100755 --- a/catalyst_voices/justfile +++ b/catalyst_voices/justfile @@ -15,9 +15,13 @@ check-code: test-code: earthly +test-unit -# Generates gateway base services in packages/internal/catalyst_voices_services +# Generates gateway services in packages/internal/catalyst_voices_services generate-gateway-services: cd .. && earthly ./catalyst_voices+code-generator --platform=linux/amd64 --save_locally=true +# Test generated gateway services +test-gateway-services: + cd .. && earthly ./catalyst_voices+test-flutter-code-generator --platform=linux/amd64 + # Pre Push Checks pre-push: check-code diff --git a/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile index dc409acb03..4615b3c030 100644 --- a/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile +++ b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/Earthfile @@ -30,13 +30,12 @@ package-test: builder: DO flutter-ci+SETUP - COPY ../../../../../../+repo-catalyst-voices/repo . - WORKDIR catalyst_voices + COPY ../../../../../+repo-catalyst-voices/repo . DO flutter-ci+BOOTSTRAP build-web: FROM +builder - ARG WORKDIR=/frontend/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/example + ARG WORKDIR=/frontend/packages/libs/catalyst_cardano/catalyst_cardano/example DO flutter-ci+BUILD_WEB --TARGET=lib/main.dart --WORKDIR=$WORKDIR SAVE ARTIFACT web From 1d0b9bb2fd63c5687fb7d2081e8b7238c0812f6b Mon Sep 17 00:00:00 2001 From: bkioshn Date: Fri, 1 Nov 2024 14:26:26 +0700 Subject: [PATCH 45/89] fix: restructure rust key derivation and solve dispose value Signed-off-by: bkioshn --- .../example/lib/main.dart | 22 +- .../rust/src/api/key_derivation/mod.rs | 447 +++++++++++------- 2 files changed, 288 insertions(+), 181 deletions(-) diff --git a/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart b/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart index 970625ba22..4fdb88e77c 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/example/lib/main.dart @@ -40,24 +40,26 @@ class MyApp extends StatelessWidget { mnemonic: 'prevent company field green slot measure chief' ' hero apple task eagle sunset endorse dress seed', ); - print('Master xprv $xprv'); + print('Master xprv ${xprv.inner}'); - final xpub = await xpublicKey(xprvBytes: xprv); - print('Master xpub $xpub'); + final xpub = await xprv.xpublicKey(); + print('Master xpub ${xpub.inner}'); final data = [1, 2, 3, 4]; - final sig = await signData(xprvBytes: xprv, data: data); + final sig = await xprv.signData(data: data); - final checkXprvSig = - await checkSignatureXprv(xprvBytes: xprv, data: data, signature: sig); + final checkXprvSig = await xprv.verifySignature(data: data, signature: sig); print('Check signature by using xprv $checkXprvSig'); - final checkXpubSig = - await checkSignatureXpub(xpubBytes: xpub, data: data, signature: sig); + final checkXpubSig = await xpub.verifySignature(data: data, signature: sig); print('Check signature by using xpub $checkXpubSig'); const path = "m/1852'/1815'/0'/2/0"; - final childXprv = await deriveXprv(xprvBytes: xprv, path: path); - print('Derive xprv with $path: $childXprv'); + final childXprv = await xprv.deriveXprv(path: path); + + print('Derive xprv with $path: ${childXprv.inner}'); + + xprv.drop(); + print('Master xprv dropped ${xprv.inner}'); } } diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs index 04b31d5575..6f15bc34a9 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs @@ -6,7 +6,7 @@ use bip32::DerivationPath; use bip39::Mnemonic; pub use ed25519_bip32::{DerivationIndex, DerivationScheme, Signature, XPrv, XPub}; -use flutter_rust_bridge::spawn_blocking_with; +use flutter_rust_bridge::{frb, spawn_blocking_with}; use hmac::Hmac; use pbkdf2::pbkdf2; use sha2::Sha512; @@ -17,13 +17,270 @@ use crate::frb_generated::FLUTTER_RUST_BRIDGE_HANDLER; /// Compose of: /// - 64 Bytes: extended Ed25519 secret key /// - 32 Bytes: chain code -pub type XPrvBytes = [u8; 96]; +#[derive(Clone, Debug, PartialEq, Eq)] +#[frb(opaque)] +pub struct XPrvBytes([u8; 96]); + +impl From for XPrvBytes { + fn from(xprv: XPrv) -> Self { + XPrvBytes(xprv.into()) + } +} + +impl XPrvBytes { + /// Create a new `XPrvBytes` from the given bytes. + #[frb(sync)] + pub fn new(xprv_bytes: [u8; 96]) -> Self { + XPrvBytes(xprv_bytes) + } + + /// Get the inner bytes. + #[frb(getter, sync)] + pub fn get_inner(&self) -> [u8; 96] { + self.0 + } + + /// Extract the chain code from the extended private key. + /// The chain code is the last 32 bytes of the extended private key. + /// + /// # Returns + /// + /// Returns a 32 length bytes representing the chain code. + #[frb(getter, sync)] + pub fn get_chain_code(&self) -> [u8; 32] { + let mut chain_code = [0; 32]; + chain_code.copy_from_slice(&self.0[64..96]); + chain_code + } + + /// Extract the extended secret key from the extended private key. + /// The extended secret key is the first 64 bytes of the extended private key. + /// + /// # Returns + /// + /// Returns a 64 length bytes representing the extended secret key. + #[frb(getter, sync)] + pub fn get_extended_secret_key(&self) -> [u8; 64] { + let mut x_secret = [0; 64]; + x_secret.copy_from_slice(&self.0[0..64]); + x_secret + } + + /// Derive a new extended private key from the given extended private key. + /// - V2 derivation scheme is used as it is mention in [SLIP-0023](https://github.com/satoshilabs/slips/blob/master/slip-0023.md). + /// - More information about child key derivation can be found in [BIP32-Ed25519](https://input-output-hk.github.io/adrestia/static/Ed25519_BIP.pdf). + /// + /// # Arguments + /// + /// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. + /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. + /// + /// # Returns + /// + /// Returns a bytes of extended private key as a `Result`. + /// + /// # Errors + /// + /// Returns an error if the derivation path is invalid. + // &str is not supported in flutter_rust_bridge + #[allow(clippy::needless_pass_by_value)] + pub async fn derive_xprv(&self, path: String) -> anyhow::Result { + let xprv = XPrv::from_bytes_verified(self.0.clone())?; + + let derive_xprv = spawn_blocking_with( + move || derive_xprv_helper(xprv, &path), + FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), + ) + .await??; + + Ok(derive_xprv.into()) + } + + /// Get extended public key from the given extended private key. + /// + /// # Returns + /// + /// Returns a 64 length bytes `XPubBytes` representing the extended public key. + /// + /// # Errors + /// + /// Returns an error if the extended private key is invalid. + pub async fn xpublic_key(&self) -> anyhow::Result { + let xprv = XPrv::from_bytes_verified(self.0.clone())?; + + let xpub = spawn_blocking_with( + move || xpublic_key_helper(&xprv), + FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), + ) + .await?; + + Ok(XPubBytes(xpub.into())) + } + + /// Sign the given data with the given extended private key. + /// + /// # Arguments + /// + /// - `data`: The data to sign. + /// + /// # Returns + /// Returns a 64 length bytes `SignatureBytes` representing the signature. + /// + /// # Errors + /// + /// Returns an error if the extended private key is invalid. + pub async fn sign_data(&self, data: Vec) -> anyhow::Result { + let xprv = XPrv::from_bytes_verified(self.0.clone())?; + + let signature = spawn_blocking_with( + move || sign_data_helper(&xprv, &data), + FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), + ) + .await?; + + Ok(SignatureBytes(*signature.to_bytes())) + } + + /// Verify the signature on the given data using extended private key. + /// + /// # Arguments + /// + /// - `data`: The data to sign. + /// - `signature`: The signature to check. + /// + /// # Returns + /// Returns a boolean value indicating if the signature match the sign data + /// True if the signature is valid and match the sign data, false otherwise. + /// + /// # Errors + /// + /// Returns an error if the extended private key or signature is invalid. + pub async fn verify_signature( + &self, data: Vec, signature: &SignatureBytes, + ) -> anyhow::Result { + let xprv = XPrv::from_bytes_verified(self.0.clone())?; + let verified_sig = Signature::from_slice(&signature.0) + .map_err(|_| anyhow::anyhow!("Invalid signature"))?; + + let result = spawn_blocking_with( + move || verify_signature_xprv_helper(&xprv, &data, verified_sig), + FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), + ) + .await?; + + Ok(result) + } + + /// Drop the extended private key. + #[frb(sync)] + pub fn drop(&mut self) { + // Zero out the private key bytes to improve security + for byte in &mut self.0 { + *byte = 0; + } + } +} /// Extended public key bytes type. -pub type XPubBytes = [u8; 64]; +#[derive(Clone, Debug, PartialEq, Eq)] +#[frb(opaque)] +pub struct XPubBytes([u8; 64]); + +impl From for XPubBytes { + fn from(xpub: XPub) -> Self { + XPubBytes(xpub.into()) + } +} + +impl XPubBytes { + /// Create a new `XPubBytes` from the given bytes. + #[frb(sync)] + pub fn new(xpub_bytes: [u8; 64]) -> Self { + XPubBytes(xpub_bytes) + } + + /// Get the inner bytes. + #[frb(getter, sync)] + pub fn get_inner(&self) -> [u8; 64] { + self.0 + } + + /// Extract the chain code from the extended public key. + /// The chain code is the last 32 bytes of the extended public key. + /// + /// # Returns + /// + /// Returns a 32 length bytes representing the chain code. + #[frb(getter, sync)] + pub fn get_chain_code(&self) -> [u8; 32] { + let mut chain_code = [0; 32]; + chain_code.copy_from_slice(&self.0[32..64]); + chain_code + } + + /// Extract the public key from the extended public key. + /// The public key is the first 32 bytes of the extended public key. + /// + /// # Returns + /// + /// Returns a 32 length bytes representing the public key. + #[frb(getter, sync)] + + pub fn get_public_key(&self) -> [u8; 32] { + let mut public_key = [0; 32]; + public_key.copy_from_slice(&self.0[0..32]); + public_key + } + + /// Verify the signature on the given data using extended public key. + /// + /// # Arguments + /// + /// - `data`: The data to sign. + /// - `signature`: The signature to check. + /// + /// # Returns + /// Returns a boolean value indicating if the signature match the sign data + /// True if the signature is valid and match the sign data, false otherwise. + /// + /// # Errors + /// + /// Returns an error if the extended public key or signature is invalid. + pub async fn verify_signature( + &self, data: Vec, signature: &SignatureBytes, + ) -> anyhow::Result { + let xpub = XPub::from_bytes(self.0.clone()); + let verified_sig = Signature::from_slice(&signature.0) + .map_err(|_| anyhow::anyhow!("Invalid signature"))?; + + let result = spawn_blocking_with( + move || verify_signature_xpub_helper(&xpub, &data, verified_sig), + FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), + ) + .await?; + + Ok(result) + } +} /// Signature bytes type. -pub type SignatureBytes = [u8; 64]; +#[derive(Clone, Debug, PartialEq, Eq)] +#[frb(opaque)] +pub struct SignatureBytes([u8; 64]); + +impl SignatureBytes { + /// Create a new `SignatureBytes` from the given bytes. + #[frb(sync)] + pub fn new(sig_bytes: [u8; 64]) -> Self { + SignatureBytes(sig_bytes) + } + + /// Get the inner bytes. + #[frb(getter, sync)] + pub fn get_inner(&self) -> [u8; 64] { + self.0 + } +} /// Generate a new extended private key (`XPrv`) from a mnemonic and passphrase. /// Note that this function only works with BIP-0039 mnemonics. @@ -93,37 +350,6 @@ fn mnemonic_to_xprv_helper(mnemonic: String, passphrase: Option) -> anyh Ok(XPrv::normalize_bytes_force3rd(pbkdf2_result)) } -/// Derive a new extended private key from the given extended private key. -/// - V2 derivation scheme is used as it is mention in [SLIP-0023](https://github.com/satoshilabs/slips/blob/master/slip-0023.md). -/// - More information about child key derivation can be found in [BIP32-Ed25519](https://input-output-hk.github.io/adrestia/static/Ed25519_BIP.pdf). -/// -/// # Arguments -/// -/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. -/// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. -/// -/// # Returns -/// -/// Returns a bytes of extended private key as a `Result`. -/// -/// # Errors -/// -/// Returns an error if the derivation path is invalid. -// &str is not supported in flutter_rust_bridge -#[allow(clippy::needless_pass_by_value)] -pub async fn derive_xprv(xprv_bytes: XPrvBytes, path: String) -> anyhow::Result { - let derive_xprv = spawn_blocking_with( - move || { - let xprv = XPrv::from_bytes_verified(xprv_bytes)?; - derive_xprv_helper(xprv, &path) - }, - FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), - ) - .await??; - - Ok(derive_xprv.into()) -} - /// Helper function for `derive_xprv`. fn derive_xprv_helper(xprv: XPrv, path: &str) -> anyhow::Result { let Ok(derivation_path) = path.parse::() else { @@ -131,7 +357,11 @@ fn derive_xprv_helper(xprv: XPrv, path: &str) -> anyhow::Result { }; let key = derivation_path.iter().fold(xprv, |xprv, child_num| { if child_num.is_hardened() { - // i >= 2^31 is a hardened derivation + // Hardened derivation is indicated by setting the highest bit (i >= 2^31). + // This modifies the child index by applying a mask to ensure it falls within the + // hardened range. Note that 0x80_00_00_00 is equivalent to 2^31. + // More about hardened, please visit + // xprv.derive(DerivationScheme::V2, child_num.index() | 0x80_00_00_00) } else { xprv.derive(DerivationScheme::V2, child_num.index()) @@ -140,154 +370,25 @@ fn derive_xprv_helper(xprv: XPrv, path: &str) -> anyhow::Result { Ok(key) } -/// Get extended public key from the given extended private key. -/// -/// # Arguments -/// -/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. -/// -/// # Returns -/// -/// Returns a 64 length bytes `XPubBytes` representing the extended public key. -/// -/// # Errors -/// -/// Returns an error if the extended private key is invalid. -pub async fn xpublic_key(xprv_bytes: XPrvBytes) -> anyhow::Result { - let xpub = spawn_blocking_with( - move || { - let xprv = match XPrv::from_bytes_verified(xprv_bytes) { - Ok(xprv) => xprv, - Err(e) => return Err(anyhow::anyhow!(e)), - }; - Ok(xpublic_key_helper(&xprv)) - }, - FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), - ) - .await??; - - Ok(Into::<[u8; 64]>::into(xpub)) -} - /// Helper function for `xpub`. fn xpublic_key_helper(xprv: &XPrv) -> XPub { xprv.public() } -/// Sign the given data with the given extended private key. -/// -/// # Arguments -/// -/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. -/// - `data`: The data to sign. -/// -/// # Returns -/// Returns a 64 length bytes `SignatureBytes` representing the signature. -/// -/// # Errors -/// -/// Returns an error if the extended private key is invalid. -pub async fn sign_data(xprv_bytes: XPrvBytes, data: Vec) -> anyhow::Result { - let signature = spawn_blocking_with( - move || { - let xprv = match XPrv::from_bytes_verified(xprv_bytes) { - Ok(xprv) => xprv, - Err(e) => return Err(anyhow::anyhow!(e)), - }; - Ok(sign_data_helper(&xprv, &data)) - }, - FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), - ) - .await??; - - Ok(*signature.to_bytes()) -} - /// Helper function for `sign_data`. fn sign_data_helper(xprv: &XPrv, data: &[u8]) -> Signature { xprv.sign(data) } -/// Check the signature on the given data using extended private key. -/// -/// # Arguments -/// -/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. -/// - `data`: The data to sign. -/// - `signature`: The signature to check. -/// -/// # Returns -/// Returns a boolean value indicating if the signature match the sign data -/// True if the signature is valid and match the sign data, false otherwise. -/// -/// # Errors -/// -/// Returns an error if the extended private key or signature is invalid. -pub async fn check_signature_xprv( - xprv_bytes: XPrvBytes, data: Vec, signature: SignatureBytes, -) -> anyhow::Result { - let result = spawn_blocking_with( - move || -> anyhow::Result { - // Verify the signature. - let verified_sig: Signature = match Signature::from_slice(&signature) { - Ok(sig) => sig, - // Invalid signature, force return false. - Err(_) => return Ok(false), - }; - let xprv = XPrv::from_bytes_verified(xprv_bytes)?; - Ok(check_signature_xprv_helper(&xprv, &data, verified_sig)) - }, - FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), - ) - .await??; - - Ok(result) -} - -/// Helper function for `check_signature`. -pub(crate) fn check_signature_xprv_helper( +/// Helper function for `XPrvBytes` `verify_signature`. +fn verify_signature_xprv_helper( xprv: &XPrv, data: &[u8], signature: Signature, ) -> bool { xprv.verify(data, &signature) } -/// Check the signature on the given data using extended public key. -/// -/// # Arguments -/// -/// - `xpub_bytes`: An extended public key bytes of type `XPubBytes`. -/// - `data`: The data to sign. -/// - `signature`: The signature to check. -/// -/// # Returns -/// Returns a boolean value indicating if the signature match the sign data -/// True if the signature is valid and match the sign data, false otherwise. -/// -/// # Errors -/// -/// Returns an error if the extended public key or signature is invalid. -pub async fn check_signature_xpub( - xpub_bytes: XPubBytes, data: Vec, signature: SignatureBytes, -) -> anyhow::Result { - let result = spawn_blocking_with( - move || -> anyhow::Result { - let verified_sig: Signature = match Signature::from_slice(&signature) { - Ok(sig) => sig, - // Invalid signature, force return false. - Err(_) => return Ok(false), - }; - let xpub = XPub::from_bytes(xpub_bytes); - Ok(check_signature_xpub_helper(&xpub, &data, verified_sig)) - }, - FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), - ) - .await??; - - Ok(result) -} - -/// Helper function for `check_signature`. -pub(crate) fn check_signature_xpub_helper( +/// Helper function for `XPubBytes` `verify_signature`. +fn verify_signature_xpub_helper( xpub: &XPub, data: &[u8], signature: Signature, ) -> bool { xpub.verify(data, &signature) @@ -321,8 +422,12 @@ mod test { let data = vec![1, 2, 3]; let xprv = mnemonic_to_xprv_helper(MNEMONIC.to_string(), None).unwrap(); let sign_data = sign_data_helper(&xprv, &data); - assert!(check_signature_xprv_helper(&xprv, &data, sign_data.clone())); + assert!(verify_signature_xprv_helper( + &xprv, + &data, + sign_data.clone() + )); let xpub = xpublic_key_helper(&xprv); - assert!(check_signature_xpub_helper(&xpub, &data, sign_data)); + assert!(verify_signature_xpub_helper(&xpub, &data, sign_data)); } } From 7c6224be496935f9424470c01b7ea46733ce5b71 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Fri, 1 Nov 2024 14:26:32 +0700 Subject: [PATCH 46/89] fix: auto gen file Signed-off-by: bkioshn --- .../lib/src/rust/api/key_derivation.dart | 252 ++-- .../lib/src/rust/frb_generated.dart | 1068 +++++++++++++++-- .../lib/src/rust/frb_generated.io.dart | 283 +++++ .../lib/src/rust/frb_generated.web.dart | 249 +++- .../rust/src/frb_generated.rs | 1056 +++++++++++++++- 5 files changed, 2677 insertions(+), 231 deletions(-) diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart index 129a82c77e..c255eda3f7 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart @@ -7,7 +7,8 @@ import '../frb_generated.dart'; import 'package:collection/collection.dart'; import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; -// These functions are ignored because they are not marked as `pub`: `check_signature_xprv_helper`, `check_signature_xpub_helper`, `derive_xprv_helper`, `mnemonic_to_xprv_helper`, `sign_data_helper`, `xpublic_key_helper` +// These functions are ignored because they are not marked as `pub`: `derive_xprv_helper`, `mnemonic_to_xprv_helper`, `sign_data_helper`, `verify_signature_xprv_helper`, `verify_signature_xpub_helper`, `xpublic_key_helper` +// These function are ignored because they are on traits that is not defined in current crate (put an empty `#[frb]` on it to unignore): `assert_receiver_is_total_eq`, `assert_receiver_is_total_eq`, `assert_receiver_is_total_eq`, `clone`, `clone`, `clone`, `eq`, `eq`, `eq`, `fmt`, `fmt`, `fmt`, `from`, `from` /// Generate a new extended private key (`XPrv`) from a mnemonic and passphrase. /// Note that this function only works with BIP-0039 mnemonics. @@ -26,109 +27,166 @@ import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; /// # Errors /// /// Returns an error if the mnemonic is invalid. -Future mnemonicToXprv( +Future mnemonicToXprv( {required String mnemonic, String? passphrase}) => RustLib.instance.api.crateApiKeyDerivationMnemonicToXprv( mnemonic: mnemonic, passphrase: passphrase); -/// Derive a new extended private key from the given extended private key. -/// - V2 derivation scheme is used as it is mention in [SLIP-0023](https://github.com/satoshilabs/slips/blob/master/slip-0023.md). -/// - More information about child key derivation can be found in [BIP32-Ed25519](https://input-output-hk.github.io/adrestia/static/Ed25519_BIP.pdf). -/// -/// # Arguments -/// -/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. -/// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. -/// -/// # Returns -/// -/// Returns a bytes of extended private key as a `Result`. -/// -/// # Errors -/// -/// Returns an error if the derivation path is invalid. -Future deriveXprv( - {required U8Array96 xprvBytes, required String path}) => - RustLib.instance.api - .crateApiKeyDerivationDeriveXprv(xprvBytes: xprvBytes, path: path); +// Rust type: RustOpaqueMoi> +abstract class SignatureBytes implements RustOpaqueInterface { + /// Get the inner bytes. + U8Array64 get inner; -/// Get extended public key from the given extended private key. -/// -/// # Arguments -/// -/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. -/// -/// # Returns -/// -/// Returns a 64 length bytes `XPubBytes` representing the extended public key. -/// -/// # Errors -/// -/// Returns an error if the extended private key is invalid. -Future xpublicKey({required U8Array96 xprvBytes}) => - RustLib.instance.api.crateApiKeyDerivationXpublicKey(xprvBytes: xprvBytes); + /// Create a new `SignatureBytes` from the given bytes. + factory SignatureBytes({required U8Array64 sigBytes}) => RustLib.instance.api + .crateApiKeyDerivationSignatureBytesNew(sigBytes: sigBytes); +} -/// Sign the given data with the given extended private key. -/// -/// # Arguments -/// -/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. -/// - `data`: The data to sign. -/// -/// # Returns -/// Returns a 64 length bytes `SignatureBytes` representing the signature. -/// -/// # Errors -/// -/// Returns an error if the extended private key is invalid. -Future signData( - {required U8Array96 xprvBytes, required List data}) => - RustLib.instance.api - .crateApiKeyDerivationSignData(xprvBytes: xprvBytes, data: data); +// Rust type: RustOpaqueMoi> +abstract class XPrvBytes implements RustOpaqueInterface { + /// Derive a new extended private key from the given extended private key. + /// - V2 derivation scheme is used as it is mention in [SLIP-0023](https://github.com/satoshilabs/slips/blob/master/slip-0023.md). + /// - More information about child key derivation can be found in [BIP32-Ed25519](https://input-output-hk.github.io/adrestia/static/Ed25519_BIP.pdf). + /// + /// # Arguments + /// + /// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. + /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. + /// + /// # Returns + /// + /// Returns a bytes of extended private key as a `Result`. + /// + /// # Errors + /// + /// Returns an error if the derivation path is invalid. + Future deriveXprv({required String path}); + + /// Drop the extended private key. + void drop(); + + /// Extract the chain code from the extended private key. + /// The chain code is the last 32 bytes of the extended private key. + /// + /// # Returns + /// + /// Returns a 32 length bytes representing the chain code. + U8Array32 get chainCode; + + /// Extract the extended secret key from the extended private key. + /// The extended secret key is the first 64 bytes of the extended private key. + /// + /// # Returns + /// + /// Returns a 64 length bytes representing the extended secret key. + U8Array64 get extendedSecretKey; + + /// Get the inner bytes. + U8Array96 get inner; + + /// Create a new `XPrvBytes` from the given bytes. + factory XPrvBytes({required U8Array96 xprvBytes}) => RustLib.instance.api + .crateApiKeyDerivationXPrvBytesNew(xprvBytes: xprvBytes); + + /// Sign the given data with the given extended private key. + /// + /// # Arguments + /// + /// - `data`: The data to sign. + /// + /// # Returns + /// Returns a 64 length bytes `SignatureBytes` representing the signature. + /// + /// # Errors + /// + /// Returns an error if the extended private key is invalid. + Future signData({required List data}); + + /// Verify the signature on the given data using extended private key. + /// + /// # Arguments + /// + /// - `data`: The data to sign. + /// - `signature`: The signature to check. + /// + /// # Returns + /// Returns a boolean value indicating if the signature match the sign data + /// True if the signature is valid and match the sign data, false otherwise. + /// + /// # Errors + /// + /// Returns an error if the extended private key or signature is invalid. + Future verifySignature( + {required List data, required SignatureBytes signature}); + + /// Get extended public key from the given extended private key. + /// + /// # Returns + /// + /// Returns a 64 length bytes `XPubBytes` representing the extended public key. + /// + /// # Errors + /// + /// Returns an error if the extended private key is invalid. + Future xpublicKey(); +} -/// Check the signature on the given data using extended private key. -/// -/// # Arguments -/// -/// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. -/// - `data`: The data to sign. -/// - `signature`: The signature to check. -/// -/// # Returns -/// Returns a boolean value indicating if the signature match the sign data -/// True if the signature is valid and match the sign data, false otherwise. -/// -/// # Errors -/// -/// Returns an error if the extended private key or signature is invalid. -Future checkSignatureXprv( - {required U8Array96 xprvBytes, - required List data, - required U8Array64 signature}) => - RustLib.instance.api.crateApiKeyDerivationCheckSignatureXprv( - xprvBytes: xprvBytes, data: data, signature: signature); - -/// Check the signature on the given data using extended public key. -/// -/// # Arguments -/// -/// - `xpub_bytes`: An extended public key bytes of type `XPubBytes`. -/// - `data`: The data to sign. -/// - `signature`: The signature to check. -/// -/// # Returns -/// Returns a boolean value indicating if the signature match the sign data -/// True if the signature is valid and match the sign data, false otherwise. -/// -/// # Errors -/// -/// Returns an error if the extended public key or signature is invalid. -Future checkSignatureXpub( - {required U8Array64 xpubBytes, - required List data, - required U8Array64 signature}) => - RustLib.instance.api.crateApiKeyDerivationCheckSignatureXpub( - xpubBytes: xpubBytes, data: data, signature: signature); +// Rust type: RustOpaqueMoi> +abstract class XPubBytes implements RustOpaqueInterface { + /// Extract the chain code from the extended public key. + /// The chain code is the last 32 bytes of the extended public key. + /// + /// # Returns + /// + /// Returns a 32 length bytes representing the chain code. + U8Array32 get chainCode; + + /// Get the inner bytes. + U8Array64 get inner; + + /// Extract the public key from the extended public key. + /// The public key is the first 32 bytes of the extended public key. + /// + /// # Returns + /// + /// Returns a 32 length bytes representing the public key. + U8Array32 get publicKey; + + /// Create a new `XPubBytes` from the given bytes. + factory XPubBytes({required U8Array64 xpubBytes}) => RustLib.instance.api + .crateApiKeyDerivationXPubBytesNew(xpubBytes: xpubBytes); + + /// Verify the signature on the given data using extended public key. + /// + /// # Arguments + /// + /// - `data`: The data to sign. + /// - `signature`: The signature to check. + /// + /// # Returns + /// Returns a boolean value indicating if the signature match the sign data + /// True if the signature is valid and match the sign data, false otherwise. + /// + /// # Errors + /// + /// Returns an error if the extended public key or signature is invalid. + Future verifySignature( + {required List data, required SignatureBytes signature}); +} + +class U8Array32 extends NonGrowableListView { + static const arraySize = 32; + + @internal + Uint8List get inner => _inner; + final Uint8List _inner; + + U8Array32(this._inner) + : assert(_inner.length == arraySize), + super(_inner); + + U8Array32.init() : this(Uint8List(arraySize)); +} class U8Array64 extends NonGrowableListView { static const arraySize = 64; diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart index e476cbfd4b..b36bfb113c 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart @@ -66,7 +66,7 @@ class RustLib extends BaseEntrypoint { String get codegenVersion => '2.5.1'; @override - int get rustContentHash => -541330839; + int get rustContentHash => -609775494; static const kDefaultExternalLibraryLoaderConfig = ExternalLibraryLoaderConfig( @@ -77,27 +77,80 @@ class RustLib extends BaseEntrypoint { } abstract class RustLibApi extends BaseApi { - Future crateApiKeyDerivationCheckSignatureXprv( - {required U8Array96 xprvBytes, - required List data, - required U8Array64 signature}); + U8Array64 crateApiKeyDerivationSignatureBytesGetInner( + {required SignatureBytes that}); + + SignatureBytes crateApiKeyDerivationSignatureBytesNew( + {required U8Array64 sigBytes}); + + Future crateApiKeyDerivationXPrvBytesDeriveXprv( + {required XPrvBytes that, required String path}); + + void crateApiKeyDerivationXPrvBytesDrop({required XPrvBytes that}); + + U8Array32 crateApiKeyDerivationXPrvBytesGetChainCode( + {required XPrvBytes that}); + + U8Array64 crateApiKeyDerivationXPrvBytesGetExtendedSecretKey( + {required XPrvBytes that}); + + U8Array96 crateApiKeyDerivationXPrvBytesGetInner({required XPrvBytes that}); - Future crateApiKeyDerivationCheckSignatureXpub( - {required U8Array64 xpubBytes, + XPrvBytes crateApiKeyDerivationXPrvBytesNew({required U8Array96 xprvBytes}); + + Future crateApiKeyDerivationXPrvBytesSignData( + {required XPrvBytes that, required List data}); + + Future crateApiKeyDerivationXPrvBytesVerifySignature( + {required XPrvBytes that, required List data, - required U8Array64 signature}); + required SignatureBytes signature}); + + Future crateApiKeyDerivationXPrvBytesXpublicKey( + {required XPrvBytes that}); + + U8Array32 crateApiKeyDerivationXPubBytesGetChainCode( + {required XPubBytes that}); - Future crateApiKeyDerivationDeriveXprv( - {required U8Array96 xprvBytes, required String path}); + U8Array64 crateApiKeyDerivationXPubBytesGetInner({required XPubBytes that}); - Future crateApiKeyDerivationMnemonicToXprv( + U8Array32 crateApiKeyDerivationXPubBytesGetPublicKey( + {required XPubBytes that}); + + XPubBytes crateApiKeyDerivationXPubBytesNew({required U8Array64 xpubBytes}); + + Future crateApiKeyDerivationXPubBytesVerifySignature( + {required XPubBytes that, + required List data, + required SignatureBytes signature}); + + Future crateApiKeyDerivationMnemonicToXprv( {required String mnemonic, String? passphrase}); - Future crateApiKeyDerivationSignData( - {required U8Array96 xprvBytes, required List data}); + RustArcIncrementStrongCountFnType + get rust_arc_increment_strong_count_SignatureBytes; + + RustArcDecrementStrongCountFnType + get rust_arc_decrement_strong_count_SignatureBytes; + + CrossPlatformFinalizerArg + get rust_arc_decrement_strong_count_SignatureBytesPtr; + + RustArcIncrementStrongCountFnType + get rust_arc_increment_strong_count_XPrvBytes; + + RustArcDecrementStrongCountFnType + get rust_arc_decrement_strong_count_XPrvBytes; + + CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPrvBytesPtr; + + RustArcIncrementStrongCountFnType + get rust_arc_increment_strong_count_XPubBytes; - Future crateApiKeyDerivationXpublicKey( - {required U8Array96 xprvBytes}); + RustArcDecrementStrongCountFnType + get rust_arc_decrement_strong_count_XPubBytes; + + CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPubBytesPtr; } class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { @@ -109,178 +162,575 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { }); @override - Future crateApiKeyDerivationCheckSignatureXprv( - {required U8Array96 xprvBytes, - required List data, - required U8Array64 signature}) { + U8Array64 crateApiKeyDerivationSignatureBytesGetInner( + {required SignatureBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 1)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_64, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationSignatureBytesGetInnerConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationSignatureBytesGetInnerConstMeta => + const TaskConstMeta( + debugName: "SignatureBytes_get_inner", + argNames: ["that"], + ); + + @override + SignatureBytes crateApiKeyDerivationSignatureBytesNew( + {required U8Array64 sigBytes}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_u_8_array_64(sigBytes, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 2)!; + }, + codec: SseCodec( + decodeSuccessData: + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationSignatureBytesNewConstMeta, + argValues: [sigBytes], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationSignatureBytesNewConstMeta => + const TaskConstMeta( + debugName: "SignatureBytes_new", + argNames: ["sigBytes"], + ); + + @override + Future crateApiKeyDerivationXPrvBytesDeriveXprv( + {required XPrvBytes that, required String path}) { return handler.executeNormal(NormalTask( callFfi: (port_) { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_u_8_array_96(xprvBytes, serializer); - sse_encode_list_prim_u_8_loose(data, serializer); - sse_encode_u_8_array_64(signature, serializer); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); + sse_encode_String(path, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 1, port: port_); + funcId: 3, port: port_); }, codec: SseCodec( - decodeSuccessData: sse_decode_bool, + decodeSuccessData: + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes, decodeErrorData: sse_decode_AnyhowException, ), - constMeta: kCrateApiKeyDerivationCheckSignatureXprvConstMeta, - argValues: [xprvBytes, data, signature], + constMeta: kCrateApiKeyDerivationXPrvBytesDeriveXprvConstMeta, + argValues: [that, path], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationCheckSignatureXprvConstMeta => + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesDeriveXprvConstMeta => const TaskConstMeta( - debugName: "check_signature_xprv", - argNames: ["xprvBytes", "data", "signature"], + debugName: "XPrvBytes_derive_xprv", + argNames: ["that", "path"], ); @override - Future crateApiKeyDerivationCheckSignatureXpub( - {required U8Array64 xpubBytes, - required List data, - required U8Array64 signature}) { + void crateApiKeyDerivationXPrvBytesDrop({required XPrvBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 4)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_unit, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPrvBytesDropConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesDropConstMeta => + const TaskConstMeta( + debugName: "XPrvBytes_drop", + argNames: ["that"], + ); + + @override + U8Array32 crateApiKeyDerivationXPrvBytesGetChainCode( + {required XPrvBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 5)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_32, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPrvBytesGetChainCodeConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesGetChainCodeConstMeta => + const TaskConstMeta( + debugName: "XPrvBytes_get_chain_code", + argNames: ["that"], + ); + + @override + U8Array64 crateApiKeyDerivationXPrvBytesGetExtendedSecretKey( + {required XPrvBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 6)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_64, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPrvBytesGetExtendedSecretKeyConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta + get kCrateApiKeyDerivationXPrvBytesGetExtendedSecretKeyConstMeta => + const TaskConstMeta( + debugName: "XPrvBytes_get_extended_secret_key", + argNames: ["that"], + ); + + @override + U8Array96 crateApiKeyDerivationXPrvBytesGetInner({required XPrvBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 7)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_96, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPrvBytesGetInnerConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesGetInnerConstMeta => + const TaskConstMeta( + debugName: "XPrvBytes_get_inner", + argNames: ["that"], + ); + + @override + XPrvBytes crateApiKeyDerivationXPrvBytesNew({required U8Array96 xprvBytes}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_u_8_array_96(xprvBytes, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 8)!; + }, + codec: SseCodec( + decodeSuccessData: + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPrvBytesNewConstMeta, + argValues: [xprvBytes], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesNewConstMeta => + const TaskConstMeta( + debugName: "XPrvBytes_new", + argNames: ["xprvBytes"], + ); + + @override + Future crateApiKeyDerivationXPrvBytesSignData( + {required XPrvBytes that, required List data}) { return handler.executeNormal(NormalTask( callFfi: (port_) { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_u_8_array_64(xpubBytes, serializer); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); sse_encode_list_prim_u_8_loose(data, serializer); - sse_encode_u_8_array_64(signature, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 2, port: port_); + funcId: 9, port: port_); }, codec: SseCodec( - decodeSuccessData: sse_decode_bool, + decodeSuccessData: + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes, decodeErrorData: sse_decode_AnyhowException, ), - constMeta: kCrateApiKeyDerivationCheckSignatureXpubConstMeta, - argValues: [xpubBytes, data, signature], + constMeta: kCrateApiKeyDerivationXPrvBytesSignDataConstMeta, + argValues: [that, data], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationCheckSignatureXpubConstMeta => + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesSignDataConstMeta => const TaskConstMeta( - debugName: "check_signature_xpub", - argNames: ["xpubBytes", "data", "signature"], + debugName: "XPrvBytes_sign_data", + argNames: ["that", "data"], ); @override - Future crateApiKeyDerivationDeriveXprv( - {required U8Array96 xprvBytes, required String path}) { + Future crateApiKeyDerivationXPrvBytesVerifySignature( + {required XPrvBytes that, + required List data, + required SignatureBytes signature}) { return handler.executeNormal(NormalTask( callFfi: (port_) { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_u_8_array_96(xprvBytes, serializer); - sse_encode_String(path, serializer); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); + sse_encode_list_prim_u_8_loose(data, serializer); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + signature, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 3, port: port_); + funcId: 10, port: port_); }, codec: SseCodec( - decodeSuccessData: sse_decode_u_8_array_96, + decodeSuccessData: sse_decode_bool, decodeErrorData: sse_decode_AnyhowException, ), - constMeta: kCrateApiKeyDerivationDeriveXprvConstMeta, - argValues: [xprvBytes, path], + constMeta: kCrateApiKeyDerivationXPrvBytesVerifySignatureConstMeta, + argValues: [that, data, signature], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationDeriveXprvConstMeta => + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesVerifySignatureConstMeta => const TaskConstMeta( - debugName: "derive_xprv", - argNames: ["xprvBytes", "path"], + debugName: "XPrvBytes_verify_signature", + argNames: ["that", "data", "signature"], ); @override - Future crateApiKeyDerivationMnemonicToXprv( - {required String mnemonic, String? passphrase}) { + Future crateApiKeyDerivationXPrvBytesXpublicKey( + {required XPrvBytes that}) { return handler.executeNormal(NormalTask( callFfi: (port_) { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_String(mnemonic, serializer); - sse_encode_opt_String(passphrase, serializer); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 4, port: port_); + funcId: 11, port: port_); }, codec: SseCodec( - decodeSuccessData: sse_decode_u_8_array_96, + decodeSuccessData: + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes, decodeErrorData: sse_decode_AnyhowException, ), - constMeta: kCrateApiKeyDerivationMnemonicToXprvConstMeta, - argValues: [mnemonic, passphrase], + constMeta: kCrateApiKeyDerivationXPrvBytesXpublicKeyConstMeta, + argValues: [that], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationMnemonicToXprvConstMeta => + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesXpublicKeyConstMeta => const TaskConstMeta( - debugName: "mnemonic_to_xprv", - argNames: ["mnemonic", "passphrase"], + debugName: "XPrvBytes_xpublic_key", + argNames: ["that"], ); @override - Future crateApiKeyDerivationSignData( - {required U8Array96 xprvBytes, required List data}) { + U8Array32 crateApiKeyDerivationXPubBytesGetChainCode( + {required XPubBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 12)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_32, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPubBytesGetChainCodeConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPubBytesGetChainCodeConstMeta => + const TaskConstMeta( + debugName: "XPubBytes_get_chain_code", + argNames: ["that"], + ); + + @override + U8Array64 crateApiKeyDerivationXPubBytesGetInner({required XPubBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 13)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_64, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPubBytesGetInnerConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPubBytesGetInnerConstMeta => + const TaskConstMeta( + debugName: "XPubBytes_get_inner", + argNames: ["that"], + ); + + @override + U8Array32 crateApiKeyDerivationXPubBytesGetPublicKey( + {required XPubBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 14)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_32, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPubBytesGetPublicKeyConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPubBytesGetPublicKeyConstMeta => + const TaskConstMeta( + debugName: "XPubBytes_get_public_key", + argNames: ["that"], + ); + + @override + XPubBytes crateApiKeyDerivationXPubBytesNew({required U8Array64 xpubBytes}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_u_8_array_64(xpubBytes, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 15)!; + }, + codec: SseCodec( + decodeSuccessData: + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPubBytesNewConstMeta, + argValues: [xpubBytes], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPubBytesNewConstMeta => + const TaskConstMeta( + debugName: "XPubBytes_new", + argNames: ["xpubBytes"], + ); + + @override + Future crateApiKeyDerivationXPubBytesVerifySignature( + {required XPubBytes that, + required List data, + required SignatureBytes signature}) { return handler.executeNormal(NormalTask( callFfi: (port_) { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_u_8_array_96(xprvBytes, serializer); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + that, serializer); sse_encode_list_prim_u_8_loose(data, serializer); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + signature, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 5, port: port_); + funcId: 16, port: port_); }, codec: SseCodec( - decodeSuccessData: sse_decode_u_8_array_64, + decodeSuccessData: sse_decode_bool, decodeErrorData: sse_decode_AnyhowException, ), - constMeta: kCrateApiKeyDerivationSignDataConstMeta, - argValues: [xprvBytes, data], + constMeta: kCrateApiKeyDerivationXPubBytesVerifySignatureConstMeta, + argValues: [that, data, signature], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationSignDataConstMeta => + TaskConstMeta get kCrateApiKeyDerivationXPubBytesVerifySignatureConstMeta => const TaskConstMeta( - debugName: "sign_data", - argNames: ["xprvBytes", "data"], + debugName: "XPubBytes_verify_signature", + argNames: ["that", "data", "signature"], ); @override - Future crateApiKeyDerivationXpublicKey( - {required U8Array96 xprvBytes}) { + Future crateApiKeyDerivationMnemonicToXprv( + {required String mnemonic, String? passphrase}) { return handler.executeNormal(NormalTask( callFfi: (port_) { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_u_8_array_96(xprvBytes, serializer); + sse_encode_String(mnemonic, serializer); + sse_encode_opt_String(passphrase, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 6, port: port_); + funcId: 17, port: port_); }, codec: SseCodec( - decodeSuccessData: sse_decode_u_8_array_64, + decodeSuccessData: + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes, decodeErrorData: sse_decode_AnyhowException, ), - constMeta: kCrateApiKeyDerivationXpublicKeyConstMeta, - argValues: [xprvBytes], + constMeta: kCrateApiKeyDerivationMnemonicToXprvConstMeta, + argValues: [mnemonic, passphrase], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationXpublicKeyConstMeta => + TaskConstMeta get kCrateApiKeyDerivationMnemonicToXprvConstMeta => const TaskConstMeta( - debugName: "xpublic_key", - argNames: ["xprvBytes"], + debugName: "mnemonic_to_xprv", + argNames: ["mnemonic", "passphrase"], ); + RustArcIncrementStrongCountFnType + get rust_arc_increment_strong_count_SignatureBytes => wire + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes; + + RustArcDecrementStrongCountFnType + get rust_arc_decrement_strong_count_SignatureBytes => wire + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes; + + RustArcIncrementStrongCountFnType + get rust_arc_increment_strong_count_XPrvBytes => wire + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes; + + RustArcDecrementStrongCountFnType + get rust_arc_decrement_strong_count_XPrvBytes => wire + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes; + + RustArcIncrementStrongCountFnType + get rust_arc_increment_strong_count_XPubBytes => wire + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes; + + RustArcDecrementStrongCountFnType + get rust_arc_decrement_strong_count_XPubBytes => wire + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes; + @protected AnyhowException dco_decode_AnyhowException(dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs return AnyhowException(raw as String); } + @protected + SignatureBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return SignatureBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + XPrvBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return XPrvBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + XPubBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return XPubBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + XPrvBytes + dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return XPrvBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + SignatureBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return SignatureBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + XPrvBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return XPrvBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + XPubBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return XPubBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + SignatureBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return SignatureBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + XPrvBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return XPrvBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + XPubBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return XPubBytesImpl.frbInternalDcoDecode(raw as List); + } + @protected String dco_decode_String(dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs @@ -317,6 +767,12 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { return raw as int; } + @protected + U8Array32 dco_decode_u_8_array_32(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return U8Array32(dco_decode_list_prim_u_8_strict(raw)); + } + @protected U8Array64 dco_decode_u_8_array_64(dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs @@ -329,6 +785,18 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { return U8Array96(dco_decode_list_prim_u_8_strict(raw)); } + @protected + void dco_decode_unit(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return; + } + + @protected + BigInt dco_decode_usize(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return dcoDecodeU64(raw); + } + @protected AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs @@ -336,6 +804,96 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { return AnyhowException(inner); } + @protected + SignatureBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return SignatureBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + XPrvBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return XPrvBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + XPubBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return XPubBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + XPrvBytes + sse_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return XPrvBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + SignatureBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return SignatureBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + XPrvBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return XPrvBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + XPubBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return XPubBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + SignatureBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return SignatureBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + XPrvBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return XPrvBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + XPubBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return XPubBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + @protected String sse_decode_String(SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs @@ -380,6 +938,13 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { return deserializer.buffer.getUint8(); } + @protected + U8Array32 sse_decode_u_8_array_32(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + var inner = sse_decode_list_prim_u_8_strict(deserializer); + return U8Array32(inner); + } + @protected U8Array64 sse_decode_u_8_array_64(SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs @@ -394,6 +959,17 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { return U8Array96(inner); } + @protected + void sse_decode_unit(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + } + + @protected + BigInt sse_decode_usize(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return deserializer.buffer.getBigUint64(); + } + @protected int sse_decode_i_32(SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs @@ -407,6 +983,99 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_String(self.message, serializer); } + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as SignatureBytesImpl).frbInternalSseEncode(move: true), + serializer); + } + + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as XPrvBytesImpl).frbInternalSseEncode(move: true), serializer); + } + + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as XPubBytesImpl).frbInternalSseEncode(move: true), serializer); + } + + @protected + void + sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as XPrvBytesImpl).frbInternalSseEncode(move: false), serializer); + } + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as SignatureBytesImpl).frbInternalSseEncode(move: false), + serializer); + } + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as XPrvBytesImpl).frbInternalSseEncode(move: false), serializer); + } + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as XPubBytesImpl).frbInternalSseEncode(move: false), serializer); + } + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as SignatureBytesImpl).frbInternalSseEncode(move: null), + serializer); + } + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as XPrvBytesImpl).frbInternalSseEncode(move: null), serializer); + } + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as XPubBytesImpl).frbInternalSseEncode(move: null), serializer); + } + @protected void sse_encode_String(String self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs @@ -452,6 +1121,12 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { serializer.buffer.putUint8(self); } + @protected + void sse_encode_u_8_array_32(U8Array32 self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_list_prim_u_8_strict(self.inner, serializer); + } + @protected void sse_encode_u_8_array_64(U8Array64 self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs @@ -464,9 +1139,234 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_list_prim_u_8_strict(self.inner, serializer); } + @protected + void sse_encode_unit(void self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + } + + @protected + void sse_encode_usize(BigInt self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + serializer.buffer.putBigUint64(self); + } + @protected void sse_encode_i_32(int self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs serializer.buffer.putInt32(self); } } + +@sealed +class SignatureBytesImpl extends RustOpaque implements SignatureBytes { + // Not to be used by end users + SignatureBytesImpl.frbInternalDcoDecode(List wire) + : super.frbInternalDcoDecode(wire, _kStaticData); + + // Not to be used by end users + SignatureBytesImpl.frbInternalSseDecode(BigInt ptr, int externalSizeOnNative) + : super.frbInternalSseDecode(ptr, externalSizeOnNative, _kStaticData); + + static final _kStaticData = RustArcStaticData( + rustArcIncrementStrongCount: + RustLib.instance.api.rust_arc_increment_strong_count_SignatureBytes, + rustArcDecrementStrongCount: + RustLib.instance.api.rust_arc_decrement_strong_count_SignatureBytes, + rustArcDecrementStrongCountPtr: + RustLib.instance.api.rust_arc_decrement_strong_count_SignatureBytesPtr, + ); + + /// Get the inner bytes. + U8Array64 get inner => + RustLib.instance.api.crateApiKeyDerivationSignatureBytesGetInner( + that: this, + ); +} + +@sealed +class XPrvBytesImpl extends RustOpaque implements XPrvBytes { + // Not to be used by end users + XPrvBytesImpl.frbInternalDcoDecode(List wire) + : super.frbInternalDcoDecode(wire, _kStaticData); + + // Not to be used by end users + XPrvBytesImpl.frbInternalSseDecode(BigInt ptr, int externalSizeOnNative) + : super.frbInternalSseDecode(ptr, externalSizeOnNative, _kStaticData); + + static final _kStaticData = RustArcStaticData( + rustArcIncrementStrongCount: + RustLib.instance.api.rust_arc_increment_strong_count_XPrvBytes, + rustArcDecrementStrongCount: + RustLib.instance.api.rust_arc_decrement_strong_count_XPrvBytes, + rustArcDecrementStrongCountPtr: + RustLib.instance.api.rust_arc_decrement_strong_count_XPrvBytesPtr, + ); + + /// Derive a new extended private key from the given extended private key. + /// - V2 derivation scheme is used as it is mention in [SLIP-0023](https://github.com/satoshilabs/slips/blob/master/slip-0023.md). + /// - More information about child key derivation can be found in [BIP32-Ed25519](https://input-output-hk.github.io/adrestia/static/Ed25519_BIP.pdf). + /// + /// # Arguments + /// + /// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. + /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. + /// + /// # Returns + /// + /// Returns a bytes of extended private key as a `Result`. + /// + /// # Errors + /// + /// Returns an error if the derivation path is invalid. + Future deriveXprv({required String path}) => RustLib.instance.api + .crateApiKeyDerivationXPrvBytesDeriveXprv(that: this, path: path); + + /// Drop the extended private key. + void drop() => RustLib.instance.api.crateApiKeyDerivationXPrvBytesDrop( + that: this, + ); + + /// Extract the chain code from the extended private key. + /// The chain code is the last 32 bytes of the extended private key. + /// + /// # Returns + /// + /// Returns a 32 length bytes representing the chain code. + U8Array32 get chainCode => + RustLib.instance.api.crateApiKeyDerivationXPrvBytesGetChainCode( + that: this, + ); + + /// Extract the extended secret key from the extended private key. + /// The extended secret key is the first 64 bytes of the extended private key. + /// + /// # Returns + /// + /// Returns a 64 length bytes representing the extended secret key. + U8Array64 get extendedSecretKey => + RustLib.instance.api.crateApiKeyDerivationXPrvBytesGetExtendedSecretKey( + that: this, + ); + + /// Get the inner bytes. + U8Array96 get inner => + RustLib.instance.api.crateApiKeyDerivationXPrvBytesGetInner( + that: this, + ); + + /// Sign the given data with the given extended private key. + /// + /// # Arguments + /// + /// - `data`: The data to sign. + /// + /// # Returns + /// Returns a 64 length bytes `SignatureBytes` representing the signature. + /// + /// # Errors + /// + /// Returns an error if the extended private key is invalid. + Future signData({required List data}) => + RustLib.instance.api + .crateApiKeyDerivationXPrvBytesSignData(that: this, data: data); + + /// Verify the signature on the given data using extended private key. + /// + /// # Arguments + /// + /// - `data`: The data to sign. + /// - `signature`: The signature to check. + /// + /// # Returns + /// Returns a boolean value indicating if the signature match the sign data + /// True if the signature is valid and match the sign data, false otherwise. + /// + /// # Errors + /// + /// Returns an error if the extended private key or signature is invalid. + Future verifySignature( + {required List data, required SignatureBytes signature}) => + RustLib.instance.api.crateApiKeyDerivationXPrvBytesVerifySignature( + that: this, data: data, signature: signature); + + /// Get extended public key from the given extended private key. + /// + /// # Returns + /// + /// Returns a 64 length bytes `XPubBytes` representing the extended public key. + /// + /// # Errors + /// + /// Returns an error if the extended private key is invalid. + Future xpublicKey() => + RustLib.instance.api.crateApiKeyDerivationXPrvBytesXpublicKey( + that: this, + ); +} + +@sealed +class XPubBytesImpl extends RustOpaque implements XPubBytes { + // Not to be used by end users + XPubBytesImpl.frbInternalDcoDecode(List wire) + : super.frbInternalDcoDecode(wire, _kStaticData); + + // Not to be used by end users + XPubBytesImpl.frbInternalSseDecode(BigInt ptr, int externalSizeOnNative) + : super.frbInternalSseDecode(ptr, externalSizeOnNative, _kStaticData); + + static final _kStaticData = RustArcStaticData( + rustArcIncrementStrongCount: + RustLib.instance.api.rust_arc_increment_strong_count_XPubBytes, + rustArcDecrementStrongCount: + RustLib.instance.api.rust_arc_decrement_strong_count_XPubBytes, + rustArcDecrementStrongCountPtr: + RustLib.instance.api.rust_arc_decrement_strong_count_XPubBytesPtr, + ); + + /// Extract the chain code from the extended public key. + /// The chain code is the last 32 bytes of the extended public key. + /// + /// # Returns + /// + /// Returns a 32 length bytes representing the chain code. + U8Array32 get chainCode => + RustLib.instance.api.crateApiKeyDerivationXPubBytesGetChainCode( + that: this, + ); + + /// Get the inner bytes. + U8Array64 get inner => + RustLib.instance.api.crateApiKeyDerivationXPubBytesGetInner( + that: this, + ); + + /// Extract the public key from the extended public key. + /// The public key is the first 32 bytes of the extended public key. + /// + /// # Returns + /// + /// Returns a 32 length bytes representing the public key. + U8Array32 get publicKey => + RustLib.instance.api.crateApiKeyDerivationXPubBytesGetPublicKey( + that: this, + ); + + /// Verify the signature on the given data using extended public key. + /// + /// # Arguments + /// + /// - `data`: The data to sign. + /// - `signature`: The signature to check. + /// + /// # Returns + /// Returns a boolean value indicating if the signature match the sign data + /// True if the signature is valid and match the sign data, false otherwise. + /// + /// # Errors + /// + /// Returns an error if the extended public key or signature is invalid. + Future verifySignature( + {required List data, required SignatureBytes signature}) => + RustLib.instance.api.crateApiKeyDerivationXPubBytesVerifySignature( + that: this, data: data, signature: signature); +} diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart index 4cedb9fab2..5d47e4e4ac 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart @@ -18,9 +18,69 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { required super.portManager, }); + CrossPlatformFinalizerArg + get rust_arc_decrement_strong_count_SignatureBytesPtr => wire + ._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr; + + CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPrvBytesPtr => + wire._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr; + + CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPubBytesPtr => + wire._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr; + @protected AnyhowException dco_decode_AnyhowException(dynamic raw); + @protected + SignatureBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + XPubBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + SignatureBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + XPubBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw); + + @protected + SignatureBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + XPubBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw); + @protected String dco_decode_String(dynamic raw); @@ -39,15 +99,74 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected int dco_decode_u_8(dynamic raw); + @protected + U8Array32 dco_decode_u_8_array_32(dynamic raw); + @protected U8Array64 dco_decode_u_8_array_64(dynamic raw); @protected U8Array96 dco_decode_u_8_array_96(dynamic raw); + @protected + void dco_decode_unit(dynamic raw); + + @protected + BigInt dco_decode_usize(dynamic raw); + @protected AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer); + @protected + SignatureBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + XPubBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + SignatureBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + XPubBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer); + + @protected + SignatureBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + XPubBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer); + @protected String sse_decode_String(SseDeserializer deserializer); @@ -66,12 +185,21 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected int sse_decode_u_8(SseDeserializer deserializer); + @protected + U8Array32 sse_decode_u_8_array_32(SseDeserializer deserializer); + @protected U8Array64 sse_decode_u_8_array_64(SseDeserializer deserializer); @protected U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer); + @protected + void sse_decode_unit(SseDeserializer deserializer); + + @protected + BigInt sse_decode_usize(SseDeserializer deserializer); + @protected int sse_decode_i_32(SseDeserializer deserializer); @@ -79,6 +207,56 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { void sse_encode_AnyhowException( AnyhowException self, SseSerializer serializer); + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer); + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer); + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer); + @protected void sse_encode_String(String self, SseSerializer serializer); @@ -98,12 +276,21 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected void sse_encode_u_8(int self, SseSerializer serializer); + @protected + void sse_encode_u_8_array_32(U8Array32 self, SseSerializer serializer); + @protected void sse_encode_u_8_array_64(U8Array64 self, SseSerializer serializer); @protected void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer); + @protected + void sse_encode_unit(void self, SseSerializer serializer); + + @protected + void sse_encode_usize(BigInt self, SseSerializer serializer); + @protected void sse_encode_i_32(int self, SseSerializer serializer); } @@ -121,4 +308,100 @@ class RustLibWire implements BaseWire { /// The symbols are looked up in [dynamicLibrary]. RustLibWire(ffi.DynamicLibrary dynamicLibrary) : _lookup = dynamicLibrary.lookup; + + void + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ffi.Pointer ptr, + ) { + return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr, + ); + } + + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr = + _lookup)>>( + 'frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes'); + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes = + _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr + .asFunction)>(); + + void + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ffi.Pointer ptr, + ) { + return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr, + ); + } + + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr = + _lookup)>>( + 'frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes'); + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes = + _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr + .asFunction)>(); + + void + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ffi.Pointer ptr, + ) { + return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr, + ); + } + + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr = + _lookup)>>( + 'frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes'); + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes = + _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr + .asFunction)>(); + + void + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ffi.Pointer ptr, + ) { + return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr, + ); + } + + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr = + _lookup)>>( + 'frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes'); + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes = + _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr + .asFunction)>(); + + void + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ffi.Pointer ptr, + ) { + return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr, + ); + } + + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr = + _lookup)>>( + 'frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes'); + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes = + _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr + .asFunction)>(); + + void + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ffi.Pointer ptr, + ) { + return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr, + ); + } + + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr = + _lookup)>>( + 'frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes'); + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes = + _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr + .asFunction)>(); } diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart index 5e5f84e08a..2b10a7fbbc 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart @@ -20,9 +20,69 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { required super.portManager, }); + CrossPlatformFinalizerArg + get rust_arc_decrement_strong_count_SignatureBytesPtr => wire + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes; + + CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPrvBytesPtr => + wire.rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes; + + CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPubBytesPtr => + wire.rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes; + @protected AnyhowException dco_decode_AnyhowException(dynamic raw); + @protected + SignatureBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + XPubBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + SignatureBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + XPubBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw); + + @protected + SignatureBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + XPubBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw); + @protected String dco_decode_String(dynamic raw); @@ -41,15 +101,74 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected int dco_decode_u_8(dynamic raw); + @protected + U8Array32 dco_decode_u_8_array_32(dynamic raw); + @protected U8Array64 dco_decode_u_8_array_64(dynamic raw); @protected U8Array96 dco_decode_u_8_array_96(dynamic raw); + @protected + void dco_decode_unit(dynamic raw); + + @protected + BigInt dco_decode_usize(dynamic raw); + @protected AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer); + @protected + SignatureBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + XPubBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + SignatureBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + XPubBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer); + + @protected + SignatureBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + XPubBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer); + @protected String sse_decode_String(SseDeserializer deserializer); @@ -68,12 +187,21 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected int sse_decode_u_8(SseDeserializer deserializer); + @protected + U8Array32 sse_decode_u_8_array_32(SseDeserializer deserializer); + @protected U8Array64 sse_decode_u_8_array_64(SseDeserializer deserializer); @protected U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer); + @protected + void sse_decode_unit(SseDeserializer deserializer); + + @protected + BigInt sse_decode_usize(SseDeserializer deserializer); + @protected int sse_decode_i_32(SseDeserializer deserializer); @@ -81,6 +209,56 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { void sse_encode_AnyhowException( AnyhowException self, SseSerializer serializer); + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer); + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer); + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer); + @protected void sse_encode_String(String self, SseSerializer serializer); @@ -100,12 +278,21 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected void sse_encode_u_8(int self, SseSerializer serializer); + @protected + void sse_encode_u_8_array_32(U8Array32 self, SseSerializer serializer); + @protected void sse_encode_u_8_array_64(U8Array64 self, SseSerializer serializer); @protected void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer); + @protected + void sse_encode_unit(void self, SseSerializer serializer); + + @protected + void sse_encode_usize(BigInt self, SseSerializer serializer); + @protected void sse_encode_i_32(int self, SseSerializer serializer); } @@ -114,6 +301,42 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { class RustLibWire implements BaseWire { RustLibWire.fromExternalLibrary(ExternalLibrary lib); + + void rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + int ptr) => + wasmModule + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr); + + void rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + int ptr) => + wasmModule + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr); + + void rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + int ptr) => + wasmModule + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr); + + void rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + int ptr) => + wasmModule + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr); + + void rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + int ptr) => + wasmModule + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr); + + void rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + int ptr) => + wasmModule + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr); } @JS('wasm_bindgen') @@ -121,4 +344,28 @@ external RustLibWasmModule get wasmModule; @JS() @anonymous -extension type RustLibWasmModule._(JSObject _) implements JSObject {} +extension type RustLibWasmModule._(JSObject _) implements JSObject { + external void + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + int ptr); + + external void + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + int ptr); + + external void + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + int ptr); + + external void + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + int ptr); + + external void + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + int ptr); + + external void + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + int ptr); +} diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs index c0630a1774..ccc368d0aa 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs @@ -25,6 +25,7 @@ // Section: imports +use crate::api::key_derivation::*; use flutter_rust_bridge::for_generated::byteorder::{NativeEndian, ReadBytesExt, WriteBytesExt}; use flutter_rust_bridge::for_generated::{transform_result_dco, Lifetimeable, Lockable}; use flutter_rust_bridge::{Handler, IntoIntoDart}; @@ -37,7 +38,7 @@ flutter_rust_bridge::frb_generated_boilerplate!( default_rust_auto_opaque = RustAutoOpaqueMoi, ); pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.5.1"; -pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = -541330839; +pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = -609775494; // Section: executor @@ -45,14 +46,92 @@ flutter_rust_bridge::frb_generated_default_handler!(); // Section: wire_funcs -fn wire__crate__api__key_derivation__check_signature_xprv_impl( +fn wire__crate__api__key_derivation__SignatureBytes_get_inner_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "SignatureBytes_get_inner", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::SignatureBytes::get_inner(&*api_that_guard), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__SignatureBytes_new_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "SignatureBytes_new", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_sig_bytes = <[u8; 64]>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::SignatureBytes::new(api_sig_bytes), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPrvBytes_derive_xprv_impl( port_: flutter_rust_bridge::for_generated::MessagePort, ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, data_len_: i32, ) { FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "check_signature_xprv", + debug_name: "XPrvBytes_derive_xprv", port: Some(port_), mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, }, @@ -66,17 +145,34 @@ fn wire__crate__api__key_derivation__check_signature_xprv_impl( }; let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_xprv_bytes = <[u8; 96]>::sse_decode(&mut deserializer); - let api_data = >::sse_decode(&mut deserializer); - let api_signature = <[u8; 64]>::sse_decode(&mut deserializer); + let api_that = , + >>::sse_decode(&mut deserializer); + let api_path = ::sse_decode(&mut deserializer); deserializer.end(); move |context| async move { transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( (move || async move { - let output_ok = crate::api::key_derivation::check_signature_xprv( - api_xprv_bytes, - api_data, - api_signature, + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order( + vec![flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + )], + ); + for i in decode_indices_ { + match i { + 0 => { + api_that_guard = + Some(api_that.lockable_decode_async_ref().await) + }, + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = crate::api::key_derivation::XPrvBytes::derive_xprv( + &*api_that_guard, + api_path, ) .await?; Ok(output_ok) @@ -87,14 +183,235 @@ fn wire__crate__api__key_derivation__check_signature_xprv_impl( }, ) } -fn wire__crate__api__key_derivation__check_signature_xpub_impl( +fn wire__crate__api__key_derivation__XPrvBytes_drop_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPrvBytes_drop", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, true, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref_mut()), + _ => unreachable!(), + } + } + let mut api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok({ + crate::api::key_derivation::XPrvBytes::drop(&mut *api_that_guard); + })?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPrvBytes_get_chain_code_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPrvBytes_get_chain_code", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::XPrvBytes::get_chain_code(&*api_that_guard), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPrvBytes_get_extended_secret_key_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPrvBytes_get_extended_secret_key", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::XPrvBytes::get_extended_secret_key( + &*api_that_guard, + ), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPrvBytes_get_inner_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPrvBytes_get_inner", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::XPrvBytes::get_inner(&*api_that_guard), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPrvBytes_new_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPrvBytes_new", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_xprv_bytes = <[u8; 96]>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let output_ok = Result::<_, ()>::Ok(crate::api::key_derivation::XPrvBytes::new( + api_xprv_bytes, + ))?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPrvBytes_sign_data_impl( port_: flutter_rust_bridge::for_generated::MessagePort, ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, data_len_: i32, ) { FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "check_signature_xpub", + debug_name: "XPrvBytes_sign_data", port: Some(port_), mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, }, @@ -108,17 +425,34 @@ fn wire__crate__api__key_derivation__check_signature_xpub_impl( }; let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_xpub_bytes = <[u8; 64]>::sse_decode(&mut deserializer); + let api_that = , + >>::sse_decode(&mut deserializer); let api_data = >::sse_decode(&mut deserializer); - let api_signature = <[u8; 64]>::sse_decode(&mut deserializer); deserializer.end(); move |context| async move { transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( (move || async move { - let output_ok = crate::api::key_derivation::check_signature_xpub( - api_xpub_bytes, + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order( + vec![flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + )], + ); + for i in decode_indices_ { + match i { + 0 => { + api_that_guard = + Some(api_that.lockable_decode_async_ref().await) + }, + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = crate::api::key_derivation::XPrvBytes::sign_data( + &*api_that_guard, api_data, - api_signature, ) .await?; Ok(output_ok) @@ -129,14 +463,14 @@ fn wire__crate__api__key_derivation__check_signature_xpub_impl( }, ) } -fn wire__crate__api__key_derivation__derive_xprv_impl( +fn wire__crate__api__key_derivation__XPrvBytes_verify_signature_impl( port_: flutter_rust_bridge::for_generated::MessagePort, ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, data_len_: i32, ) { FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "derive_xprv", + debug_name: "XPrvBytes_verify_signature", port: Some(port_), mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, }, @@ -150,15 +484,53 @@ fn wire__crate__api__key_derivation__derive_xprv_impl( }; let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_xprv_bytes = <[u8; 96]>::sse_decode(&mut deserializer); - let api_path = ::sse_decode(&mut deserializer); + let api_that = , + >>::sse_decode(&mut deserializer); + let api_data = >::sse_decode(&mut deserializer); + let api_signature = , + >>::sse_decode(&mut deserializer); deserializer.end(); move |context| async move { transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( (move || async move { - let output_ok = - crate::api::key_derivation::derive_xprv(api_xprv_bytes, api_path) - .await?; + let mut api_that_guard = None; + let mut api_signature_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order( + vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_signature, + 1, + false, + ), + ], + ); + for i in decode_indices_ { + match i { + 0 => { + api_that_guard = + Some(api_that.lockable_decode_async_ref().await) + }, + 1 => { + api_signature_guard = + Some(api_signature.lockable_decode_async_ref().await) + }, + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let api_signature_guard = api_signature_guard.unwrap(); + let output_ok = crate::api::key_derivation::XPrvBytes::verify_signature( + &*api_that_guard, + api_data, + &*api_signature_guard, + ) + .await?; Ok(output_ok) })() .await, @@ -167,14 +539,14 @@ fn wire__crate__api__key_derivation__derive_xprv_impl( }, ) } -fn wire__crate__api__key_derivation__mnemonic_to_xprv_impl( +fn wire__crate__api__key_derivation__XPrvBytes_xpublic_key_impl( port_: flutter_rust_bridge::for_generated::MessagePort, ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, data_len_: i32, ) { FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "mnemonic_to_xprv", + debug_name: "XPrvBytes_xpublic_key", port: Some(port_), mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, }, @@ -188,17 +560,33 @@ fn wire__crate__api__key_derivation__mnemonic_to_xprv_impl( }; let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_mnemonic = ::sse_decode(&mut deserializer); - let api_passphrase = >::sse_decode(&mut deserializer); + let api_that = , + >>::sse_decode(&mut deserializer); deserializer.end(); move |context| async move { transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( (move || async move { - let output_ok = crate::api::key_derivation::mnemonic_to_xprv( - api_mnemonic, - api_passphrase, - ) - .await?; + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order( + vec![flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + )], + ); + for i in decode_indices_ { + match i { + 0 => { + api_that_guard = + Some(api_that.lockable_decode_async_ref().await) + }, + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = + crate::api::key_derivation::XPrvBytes::xpublic_key(&*api_that_guard) + .await?; Ok(output_ok) })() .await, @@ -207,14 +595,186 @@ fn wire__crate__api__key_derivation__mnemonic_to_xprv_impl( }, ) } -fn wire__crate__api__key_derivation__sign_data_impl( +fn wire__crate__api__key_derivation__XPubBytes_get_chain_code_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPubBytes_get_chain_code", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::XPubBytes::get_chain_code(&*api_that_guard), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPubBytes_get_inner_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPubBytes_get_inner", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::XPubBytes::get_inner(&*api_that_guard), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPubBytes_get_public_key_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPubBytes_get_public_key", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::XPubBytes::get_public_key(&*api_that_guard), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPubBytes_new_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPubBytes_new", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_xpub_bytes = <[u8; 64]>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let output_ok = Result::<_, ()>::Ok(crate::api::key_derivation::XPubBytes::new( + api_xpub_bytes, + ))?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPubBytes_verify_signature_impl( port_: flutter_rust_bridge::for_generated::MessagePort, ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, data_len_: i32, ) { FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "sign_data", + debug_name: "XPubBytes_verify_signature", port: Some(port_), mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, }, @@ -228,14 +788,53 @@ fn wire__crate__api__key_derivation__sign_data_impl( }; let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_xprv_bytes = <[u8; 96]>::sse_decode(&mut deserializer); + let api_that = , + >>::sse_decode(&mut deserializer); let api_data = >::sse_decode(&mut deserializer); + let api_signature = , + >>::sse_decode(&mut deserializer); deserializer.end(); move |context| async move { transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( (move || async move { - let output_ok = - crate::api::key_derivation::sign_data(api_xprv_bytes, api_data).await?; + let mut api_that_guard = None; + let mut api_signature_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order( + vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_signature, + 1, + false, + ), + ], + ); + for i in decode_indices_ { + match i { + 0 => { + api_that_guard = + Some(api_that.lockable_decode_async_ref().await) + }, + 1 => { + api_signature_guard = + Some(api_signature.lockable_decode_async_ref().await) + }, + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let api_signature_guard = api_signature_guard.unwrap(); + let output_ok = crate::api::key_derivation::XPubBytes::verify_signature( + &*api_that_guard, + api_data, + &*api_signature_guard, + ) + .await?; Ok(output_ok) })() .await, @@ -244,14 +843,14 @@ fn wire__crate__api__key_derivation__sign_data_impl( }, ) } -fn wire__crate__api__key_derivation__xpublic_key_impl( +fn wire__crate__api__key_derivation__mnemonic_to_xprv_impl( port_: flutter_rust_bridge::for_generated::MessagePort, ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, data_len_: i32, ) { FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "xpublic_key", + debug_name: "mnemonic_to_xprv", port: Some(port_), mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, }, @@ -265,13 +864,17 @@ fn wire__crate__api__key_derivation__xpublic_key_impl( }; let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_xprv_bytes = <[u8; 96]>::sse_decode(&mut deserializer); + let api_mnemonic = ::sse_decode(&mut deserializer); + let api_passphrase = >::sse_decode(&mut deserializer); deserializer.end(); move |context| async move { transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( (move || async move { - let output_ok = - crate::api::key_derivation::xpublic_key(api_xprv_bytes).await?; + let output_ok = crate::api::key_derivation::mnemonic_to_xprv( + api_mnemonic, + api_passphrase, + ) + .await?; Ok(output_ok) })() .await, @@ -281,6 +884,18 @@ fn wire__crate__api__key_derivation__xpublic_key_impl( ) } +// Section: related_funcs + +flutter_rust_bridge::frb_generated_moi_arc_impl_value!( + flutter_rust_bridge::for_generated::RustAutoOpaqueInner +); +flutter_rust_bridge::frb_generated_moi_arc_impl_value!( + flutter_rust_bridge::for_generated::RustAutoOpaqueInner +); +flutter_rust_bridge::frb_generated_moi_arc_impl_value!( + flutter_rust_bridge::for_generated::RustAutoOpaqueInner +); + // Section: dart2rust impl SseDecode for flutter_rust_bridge::for_generated::anyhow::Error { @@ -291,6 +906,66 @@ impl SseDecode for flutter_rust_bridge::for_generated::anyhow::Error { } } +impl SseDecode for SignatureBytes { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = , + >>::sse_decode(deserializer); + return flutter_rust_bridge::for_generated::rust_auto_opaque_decode_owned(inner); + } +} + +impl SseDecode for XPrvBytes { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = , + >>::sse_decode(deserializer); + return flutter_rust_bridge::for_generated::rust_auto_opaque_decode_owned(inner); + } +} + +impl SseDecode for XPubBytes { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = , + >>::sse_decode(deserializer); + return flutter_rust_bridge::for_generated::rust_auto_opaque_decode_owned(inner); + } +} + +impl SseDecode + for RustOpaqueMoi> +{ + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = ::sse_decode(deserializer); + return decode_rust_opaque_moi(inner); + } +} + +impl SseDecode + for RustOpaqueMoi> +{ + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = ::sse_decode(deserializer); + return decode_rust_opaque_moi(inner); + } +} + +impl SseDecode + for RustOpaqueMoi> +{ + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = ::sse_decode(deserializer); + return decode_rust_opaque_moi(inner); + } +} + impl SseDecode for String { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { @@ -336,6 +1011,14 @@ impl SseDecode for u8 { } } +impl SseDecode for [u8; 32] { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = >::sse_decode(deserializer); + return flutter_rust_bridge::for_generated::from_vec_to_array(inner); + } +} + impl SseDecode for [u8; 64] { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { @@ -352,6 +1035,18 @@ impl SseDecode for [u8; 96] { } } +impl SseDecode for () { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {} +} + +impl SseDecode for usize { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + deserializer.cursor.read_u64::().unwrap() as _ + } +} + impl SseDecode for i32 { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { @@ -366,27 +1061,42 @@ fn pde_ffi_dispatcher_primary_impl( ) { // Codec=Pde (Serialization + dispatch), see doc to use other codecs match func_id { - 1 => wire__crate__api__key_derivation__check_signature_xprv_impl( + 3 => wire__crate__api__key_derivation__XPrvBytes_derive_xprv_impl( + port, + ptr, + rust_vec_len, + data_len, + ), + 9 => wire__crate__api__key_derivation__XPrvBytes_sign_data_impl( port, ptr, rust_vec_len, data_len, ), - 2 => wire__crate__api__key_derivation__check_signature_xpub_impl( + 10 => wire__crate__api__key_derivation__XPrvBytes_verify_signature_impl( port, ptr, rust_vec_len, data_len, ), - 3 => wire__crate__api__key_derivation__derive_xprv_impl(port, ptr, rust_vec_len, data_len), - 4 => wire__crate__api__key_derivation__mnemonic_to_xprv_impl( + 11 => wire__crate__api__key_derivation__XPrvBytes_xpublic_key_impl( + port, + ptr, + rust_vec_len, + data_len, + ), + 16 => wire__crate__api__key_derivation__XPubBytes_verify_signature_impl( + port, + ptr, + rust_vec_len, + data_len, + ), + 17 => wire__crate__api__key_derivation__mnemonic_to_xprv_impl( port, ptr, rust_vec_len, data_len, ), - 5 => wire__crate__api__key_derivation__sign_data_impl(port, ptr, rust_vec_len, data_len), - 6 => wire__crate__api__key_derivation__xpublic_key_impl(port, ptr, rust_vec_len, data_len), _ => unreachable!(), } } @@ -397,12 +1107,92 @@ fn pde_ffi_dispatcher_sync_impl( ) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { // Codec=Pde (Serialization + dispatch), see doc to use other codecs match func_id { + 1 => wire__crate__api__key_derivation__SignatureBytes_get_inner_impl( + ptr, + rust_vec_len, + data_len, + ), + 2 => wire__crate__api__key_derivation__SignatureBytes_new_impl(ptr, rust_vec_len, data_len), + 4 => wire__crate__api__key_derivation__XPrvBytes_drop_impl(ptr, rust_vec_len, data_len), + 5 => wire__crate__api__key_derivation__XPrvBytes_get_chain_code_impl( + ptr, + rust_vec_len, + data_len, + ), + 6 => wire__crate__api__key_derivation__XPrvBytes_get_extended_secret_key_impl( + ptr, + rust_vec_len, + data_len, + ), + 7 => { + wire__crate__api__key_derivation__XPrvBytes_get_inner_impl(ptr, rust_vec_len, data_len) + }, + 8 => wire__crate__api__key_derivation__XPrvBytes_new_impl(ptr, rust_vec_len, data_len), + 12 => wire__crate__api__key_derivation__XPubBytes_get_chain_code_impl( + ptr, + rust_vec_len, + data_len, + ), + 13 => { + wire__crate__api__key_derivation__XPubBytes_get_inner_impl(ptr, rust_vec_len, data_len) + }, + 14 => wire__crate__api__key_derivation__XPubBytes_get_public_key_impl( + ptr, + rust_vec_len, + data_len, + ), + 15 => wire__crate__api__key_derivation__XPubBytes_new_impl(ptr, rust_vec_len, data_len), _ => unreachable!(), } } // Section: rust2dart +// Codec=Dco (DartCObject based), see doc to use other codecs +impl flutter_rust_bridge::IntoDart for FrbWrapper { + fn into_dart(self) -> flutter_rust_bridge::for_generated::DartAbi { + flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self.0) + .into_dart() + } +} +impl flutter_rust_bridge::for_generated::IntoDartExceptPrimitive for FrbWrapper {} + +impl flutter_rust_bridge::IntoIntoDart> for SignatureBytes { + fn into_into_dart(self) -> FrbWrapper { + self.into() + } +} + +// Codec=Dco (DartCObject based), see doc to use other codecs +impl flutter_rust_bridge::IntoDart for FrbWrapper { + fn into_dart(self) -> flutter_rust_bridge::for_generated::DartAbi { + flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self.0) + .into_dart() + } +} +impl flutter_rust_bridge::for_generated::IntoDartExceptPrimitive for FrbWrapper {} + +impl flutter_rust_bridge::IntoIntoDart> for XPrvBytes { + fn into_into_dart(self) -> FrbWrapper { + self.into() + } +} + +// Codec=Dco (DartCObject based), see doc to use other codecs +impl flutter_rust_bridge::IntoDart for FrbWrapper { + fn into_dart(self) -> flutter_rust_bridge::for_generated::DartAbi { + flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self.0) + .into_dart() + } +} +impl flutter_rust_bridge::for_generated::IntoDartExceptPrimitive for FrbWrapper {} + +impl flutter_rust_bridge::IntoIntoDart> for XPubBytes { + fn into_into_dart(self) -> FrbWrapper { + self.into() + } +} + impl SseEncode for flutter_rust_bridge::for_generated::anyhow::Error { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { @@ -410,6 +1200,60 @@ impl SseEncode for flutter_rust_bridge::for_generated::anyhow::Error { } } +impl SseEncode for SignatureBytes { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + >>::sse_encode(flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self), serializer); + } +} + +impl SseEncode for XPrvBytes { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + >>::sse_encode(flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self), serializer); + } +} + +impl SseEncode for XPubBytes { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + >>::sse_encode(flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self), serializer); + } +} + +impl SseEncode + for RustOpaqueMoi> +{ + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + let (ptr, size) = self.sse_encode_raw(); + ::sse_encode(ptr, serializer); + ::sse_encode(size, serializer); + } +} + +impl SseEncode + for RustOpaqueMoi> +{ + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + let (ptr, size) = self.sse_encode_raw(); + ::sse_encode(ptr, serializer); + ::sse_encode(size, serializer); + } +} + +impl SseEncode + for RustOpaqueMoi> +{ + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + let (ptr, size) = self.sse_encode_raw(); + ::sse_encode(ptr, serializer); + ::sse_encode(size, serializer); + } +} + impl SseEncode for String { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { @@ -451,6 +1295,19 @@ impl SseEncode for u8 { } } +impl SseEncode for [u8; 32] { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + >::sse_encode( + { + let boxed: Box<[_]> = Box::new(self); + boxed.into_vec() + }, + serializer, + ); + } +} + impl SseEncode for [u8; 64] { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { @@ -477,6 +1334,21 @@ impl SseEncode for [u8; 96] { } } +impl SseEncode for () { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) {} +} + +impl SseEncode for usize { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + serializer + .cursor + .write_u64::(self as _) + .unwrap(); + } +} + impl SseEncode for i32 { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { @@ -492,6 +1364,7 @@ mod io { // Section: imports use super::*; + use crate::api::key_derivation::*; use flutter_rust_bridge::for_generated::byteorder::{ NativeEndian, ReadBytesExt, WriteBytesExt, }; @@ -501,6 +1374,48 @@ mod io { // Section: boilerplate flutter_rust_bridge::frb_generated_boilerplate_io!(); + + #[no_mangle] + pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::increment_strong_count(ptr as _); + } + + #[no_mangle] + pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::decrement_strong_count(ptr as _); + } + + #[no_mangle] + pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::increment_strong_count(ptr as _); + } + + #[no_mangle] + pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::decrement_strong_count(ptr as _); + } + + #[no_mangle] + pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::increment_strong_count(ptr as _); + } + + #[no_mangle] + pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::decrement_strong_count(ptr as _); + } } #[cfg(not(target_family = "wasm"))] pub use io::*; @@ -514,6 +1429,7 @@ mod web { // Section: imports use super::*; + use crate::api::key_derivation::*; use flutter_rust_bridge::for_generated::byteorder::{ NativeEndian, ReadBytesExt, WriteBytesExt, }; @@ -525,6 +1441,48 @@ mod web { // Section: boilerplate flutter_rust_bridge::frb_generated_boilerplate_web!(); + + #[wasm_bindgen] + pub fn rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::increment_strong_count(ptr as _); + } + + #[wasm_bindgen] + pub fn rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::decrement_strong_count(ptr as _); + } + + #[wasm_bindgen] + pub fn rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::increment_strong_count(ptr as _); + } + + #[wasm_bindgen] + pub fn rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::decrement_strong_count(ptr as _); + } + + #[wasm_bindgen] + pub fn rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::increment_strong_count(ptr as _); + } + + #[wasm_bindgen] + pub fn rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::decrement_strong_count(ptr as _); + } } #[cfg(target_family = "wasm")] pub use web::*; From 5eabfc56cb54403806f4e1cdb394f67342e461fa Mon Sep 17 00:00:00 2001 From: bkioshn Date: Fri, 1 Nov 2024 14:56:20 +0700 Subject: [PATCH 47/89] fix: ignore auto gen file Signed-off-by: bkioshn --- .../catalyst_key_derivation/.gitignore | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/catalyst_voices_packages/catalyst_key_derivation/.gitignore b/catalyst_voices_packages/catalyst_key_derivation/.gitignore index 0a4490147e..0f7796f4a1 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/.gitignore +++ b/catalyst_voices_packages/catalyst_key_derivation/.gitignore @@ -27,4 +27,10 @@ migrate_working_dir/ **/doc/api/ .dart_tool/ build/ -/web/pkg \ No newline at end of file +/web/pkg + +# Ignore all auto generated file +lib/src/rust/** +lib/src/rust/src/frb_generated.rs +# Allow catalyst_key_derivation.dart +!lib/src/rust/catalyst_key_derivation.dart \ No newline at end of file From 2d4c08279e23e5faeb7dc85315ad43aa3b3955e6 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Fri, 1 Nov 2024 15:50:16 +0700 Subject: [PATCH 48/89] fix: remove auto gen file Signed-off-by: bkioshn --- .../lib/src/rust/api/key_derivation.dart | 217 --- .../lib/src/rust/frb_generated.dart | 1372 --------------- .../lib/src/rust/frb_generated.io.dart | 407 ----- .../lib/src/rust/frb_generated.web.dart | 371 ---- .../rust/src/frb_generated.rs | 1488 ----------------- 5 files changed, 3855 deletions(-) delete mode 100644 catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart delete mode 100644 catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart delete mode 100644 catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart delete mode 100644 catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart delete mode 100644 catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart deleted file mode 100644 index c255eda3f7..0000000000 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart +++ /dev/null @@ -1,217 +0,0 @@ -// This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.5.1. - -// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import - -import '../frb_generated.dart'; -import 'package:collection/collection.dart'; -import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; - -// These functions are ignored because they are not marked as `pub`: `derive_xprv_helper`, `mnemonic_to_xprv_helper`, `sign_data_helper`, `verify_signature_xprv_helper`, `verify_signature_xpub_helper`, `xpublic_key_helper` -// These function are ignored because they are on traits that is not defined in current crate (put an empty `#[frb]` on it to unignore): `assert_receiver_is_total_eq`, `assert_receiver_is_total_eq`, `assert_receiver_is_total_eq`, `clone`, `clone`, `clone`, `eq`, `eq`, `eq`, `fmt`, `fmt`, `fmt`, `from`, `from` - -/// Generate a new extended private key (`XPrv`) from a mnemonic and passphrase. -/// Note that this function only works with BIP-0039 mnemonics. -/// For more information: Cardano Icarus master node derivation -/// -/// -/// # Arguments -/// -/// - `mnemonic`: A string representing the mnemonic. -/// - `passphrase`: An optional string representing the passphrase (aka. password). -/// -/// # Returns -/// -/// Returns a bytes of extended private key as a `Result`. -/// -/// # Errors -/// -/// Returns an error if the mnemonic is invalid. -Future mnemonicToXprv( - {required String mnemonic, String? passphrase}) => - RustLib.instance.api.crateApiKeyDerivationMnemonicToXprv( - mnemonic: mnemonic, passphrase: passphrase); - -// Rust type: RustOpaqueMoi> -abstract class SignatureBytes implements RustOpaqueInterface { - /// Get the inner bytes. - U8Array64 get inner; - - /// Create a new `SignatureBytes` from the given bytes. - factory SignatureBytes({required U8Array64 sigBytes}) => RustLib.instance.api - .crateApiKeyDerivationSignatureBytesNew(sigBytes: sigBytes); -} - -// Rust type: RustOpaqueMoi> -abstract class XPrvBytes implements RustOpaqueInterface { - /// Derive a new extended private key from the given extended private key. - /// - V2 derivation scheme is used as it is mention in [SLIP-0023](https://github.com/satoshilabs/slips/blob/master/slip-0023.md). - /// - More information about child key derivation can be found in [BIP32-Ed25519](https://input-output-hk.github.io/adrestia/static/Ed25519_BIP.pdf). - /// - /// # Arguments - /// - /// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. - /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. - /// - /// # Returns - /// - /// Returns a bytes of extended private key as a `Result`. - /// - /// # Errors - /// - /// Returns an error if the derivation path is invalid. - Future deriveXprv({required String path}); - - /// Drop the extended private key. - void drop(); - - /// Extract the chain code from the extended private key. - /// The chain code is the last 32 bytes of the extended private key. - /// - /// # Returns - /// - /// Returns a 32 length bytes representing the chain code. - U8Array32 get chainCode; - - /// Extract the extended secret key from the extended private key. - /// The extended secret key is the first 64 bytes of the extended private key. - /// - /// # Returns - /// - /// Returns a 64 length bytes representing the extended secret key. - U8Array64 get extendedSecretKey; - - /// Get the inner bytes. - U8Array96 get inner; - - /// Create a new `XPrvBytes` from the given bytes. - factory XPrvBytes({required U8Array96 xprvBytes}) => RustLib.instance.api - .crateApiKeyDerivationXPrvBytesNew(xprvBytes: xprvBytes); - - /// Sign the given data with the given extended private key. - /// - /// # Arguments - /// - /// - `data`: The data to sign. - /// - /// # Returns - /// Returns a 64 length bytes `SignatureBytes` representing the signature. - /// - /// # Errors - /// - /// Returns an error if the extended private key is invalid. - Future signData({required List data}); - - /// Verify the signature on the given data using extended private key. - /// - /// # Arguments - /// - /// - `data`: The data to sign. - /// - `signature`: The signature to check. - /// - /// # Returns - /// Returns a boolean value indicating if the signature match the sign data - /// True if the signature is valid and match the sign data, false otherwise. - /// - /// # Errors - /// - /// Returns an error if the extended private key or signature is invalid. - Future verifySignature( - {required List data, required SignatureBytes signature}); - - /// Get extended public key from the given extended private key. - /// - /// # Returns - /// - /// Returns a 64 length bytes `XPubBytes` representing the extended public key. - /// - /// # Errors - /// - /// Returns an error if the extended private key is invalid. - Future xpublicKey(); -} - -// Rust type: RustOpaqueMoi> -abstract class XPubBytes implements RustOpaqueInterface { - /// Extract the chain code from the extended public key. - /// The chain code is the last 32 bytes of the extended public key. - /// - /// # Returns - /// - /// Returns a 32 length bytes representing the chain code. - U8Array32 get chainCode; - - /// Get the inner bytes. - U8Array64 get inner; - - /// Extract the public key from the extended public key. - /// The public key is the first 32 bytes of the extended public key. - /// - /// # Returns - /// - /// Returns a 32 length bytes representing the public key. - U8Array32 get publicKey; - - /// Create a new `XPubBytes` from the given bytes. - factory XPubBytes({required U8Array64 xpubBytes}) => RustLib.instance.api - .crateApiKeyDerivationXPubBytesNew(xpubBytes: xpubBytes); - - /// Verify the signature on the given data using extended public key. - /// - /// # Arguments - /// - /// - `data`: The data to sign. - /// - `signature`: The signature to check. - /// - /// # Returns - /// Returns a boolean value indicating if the signature match the sign data - /// True if the signature is valid and match the sign data, false otherwise. - /// - /// # Errors - /// - /// Returns an error if the extended public key or signature is invalid. - Future verifySignature( - {required List data, required SignatureBytes signature}); -} - -class U8Array32 extends NonGrowableListView { - static const arraySize = 32; - - @internal - Uint8List get inner => _inner; - final Uint8List _inner; - - U8Array32(this._inner) - : assert(_inner.length == arraySize), - super(_inner); - - U8Array32.init() : this(Uint8List(arraySize)); -} - -class U8Array64 extends NonGrowableListView { - static const arraySize = 64; - - @internal - Uint8List get inner => _inner; - final Uint8List _inner; - - U8Array64(this._inner) - : assert(_inner.length == arraySize), - super(_inner); - - U8Array64.init() : this(Uint8List(arraySize)); -} - -class U8Array96 extends NonGrowableListView { - static const arraySize = 96; - - @internal - Uint8List get inner => _inner; - final Uint8List _inner; - - U8Array96(this._inner) - : assert(_inner.length == arraySize), - super(_inner); - - U8Array96.init() : this(Uint8List(arraySize)); -} diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart deleted file mode 100644 index b36bfb113c..0000000000 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart +++ /dev/null @@ -1,1372 +0,0 @@ -// This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.5.1. - -// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field - -import 'api/key_derivation.dart'; -import 'dart:async'; -import 'dart:convert'; -import 'frb_generated.dart'; -import 'frb_generated.io.dart' - if (dart.library.js_interop) 'frb_generated.web.dart'; -import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; - -/// Main entrypoint of the Rust API -class RustLib extends BaseEntrypoint { - @internal - static final instance = RustLib._(); - - RustLib._(); - - /// Initialize flutter_rust_bridge - static Future init({ - RustLibApi? api, - BaseHandler? handler, - ExternalLibrary? externalLibrary, - }) async { - await instance.initImpl( - api: api, - handler: handler, - externalLibrary: externalLibrary, - ); - } - - /// Initialize flutter_rust_bridge in mock mode. - /// No libraries for FFI are loaded. - static void initMock({ - required RustLibApi api, - }) { - instance.initMockImpl( - api: api, - ); - } - - /// Dispose flutter_rust_bridge - /// - /// The call to this function is optional, since flutter_rust_bridge (and everything else) - /// is automatically disposed when the app stops. - static void dispose() => instance.disposeImpl(); - - @override - ApiImplConstructor get apiImplConstructor => - RustLibApiImpl.new; - - @override - WireConstructor get wireConstructor => - RustLibWire.fromExternalLibrary; - - @override - Future executeRustInitializers() async {} - - @override - ExternalLibraryLoaderConfig get defaultExternalLibraryLoaderConfig => - kDefaultExternalLibraryLoaderConfig; - - @override - String get codegenVersion => '2.5.1'; - - @override - int get rustContentHash => -609775494; - - static const kDefaultExternalLibraryLoaderConfig = - ExternalLibraryLoaderConfig( - stem: 'catalyst_key_derivation', - ioDirectory: 'rust/target/release/', - webPrefix: 'pkg/', - ); -} - -abstract class RustLibApi extends BaseApi { - U8Array64 crateApiKeyDerivationSignatureBytesGetInner( - {required SignatureBytes that}); - - SignatureBytes crateApiKeyDerivationSignatureBytesNew( - {required U8Array64 sigBytes}); - - Future crateApiKeyDerivationXPrvBytesDeriveXprv( - {required XPrvBytes that, required String path}); - - void crateApiKeyDerivationXPrvBytesDrop({required XPrvBytes that}); - - U8Array32 crateApiKeyDerivationXPrvBytesGetChainCode( - {required XPrvBytes that}); - - U8Array64 crateApiKeyDerivationXPrvBytesGetExtendedSecretKey( - {required XPrvBytes that}); - - U8Array96 crateApiKeyDerivationXPrvBytesGetInner({required XPrvBytes that}); - - XPrvBytes crateApiKeyDerivationXPrvBytesNew({required U8Array96 xprvBytes}); - - Future crateApiKeyDerivationXPrvBytesSignData( - {required XPrvBytes that, required List data}); - - Future crateApiKeyDerivationXPrvBytesVerifySignature( - {required XPrvBytes that, - required List data, - required SignatureBytes signature}); - - Future crateApiKeyDerivationXPrvBytesXpublicKey( - {required XPrvBytes that}); - - U8Array32 crateApiKeyDerivationXPubBytesGetChainCode( - {required XPubBytes that}); - - U8Array64 crateApiKeyDerivationXPubBytesGetInner({required XPubBytes that}); - - U8Array32 crateApiKeyDerivationXPubBytesGetPublicKey( - {required XPubBytes that}); - - XPubBytes crateApiKeyDerivationXPubBytesNew({required U8Array64 xpubBytes}); - - Future crateApiKeyDerivationXPubBytesVerifySignature( - {required XPubBytes that, - required List data, - required SignatureBytes signature}); - - Future crateApiKeyDerivationMnemonicToXprv( - {required String mnemonic, String? passphrase}); - - RustArcIncrementStrongCountFnType - get rust_arc_increment_strong_count_SignatureBytes; - - RustArcDecrementStrongCountFnType - get rust_arc_decrement_strong_count_SignatureBytes; - - CrossPlatformFinalizerArg - get rust_arc_decrement_strong_count_SignatureBytesPtr; - - RustArcIncrementStrongCountFnType - get rust_arc_increment_strong_count_XPrvBytes; - - RustArcDecrementStrongCountFnType - get rust_arc_decrement_strong_count_XPrvBytes; - - CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPrvBytesPtr; - - RustArcIncrementStrongCountFnType - get rust_arc_increment_strong_count_XPubBytes; - - RustArcDecrementStrongCountFnType - get rust_arc_decrement_strong_count_XPubBytes; - - CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPubBytesPtr; -} - -class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { - RustLibApiImpl({ - required super.handler, - required super.wire, - required super.generalizedFrbRustBinding, - required super.portManager, - }); - - @override - U8Array64 crateApiKeyDerivationSignatureBytesGetInner( - {required SignatureBytes that}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 1)!; - }, - codec: SseCodec( - decodeSuccessData: sse_decode_u_8_array_64, - decodeErrorData: null, - ), - constMeta: kCrateApiKeyDerivationSignatureBytesGetInnerConstMeta, - argValues: [that], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationSignatureBytesGetInnerConstMeta => - const TaskConstMeta( - debugName: "SignatureBytes_get_inner", - argNames: ["that"], - ); - - @override - SignatureBytes crateApiKeyDerivationSignatureBytesNew( - {required U8Array64 sigBytes}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_u_8_array_64(sigBytes, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 2)!; - }, - codec: SseCodec( - decodeSuccessData: - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes, - decodeErrorData: null, - ), - constMeta: kCrateApiKeyDerivationSignatureBytesNewConstMeta, - argValues: [sigBytes], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationSignatureBytesNewConstMeta => - const TaskConstMeta( - debugName: "SignatureBytes_new", - argNames: ["sigBytes"], - ); - - @override - Future crateApiKeyDerivationXPrvBytesDeriveXprv( - {required XPrvBytes that, required String path}) { - return handler.executeNormal(NormalTask( - callFfi: (port_) { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - that, serializer); - sse_encode_String(path, serializer); - pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 3, port: port_); - }, - codec: SseCodec( - decodeSuccessData: - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes, - decodeErrorData: sse_decode_AnyhowException, - ), - constMeta: kCrateApiKeyDerivationXPrvBytesDeriveXprvConstMeta, - argValues: [that, path], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesDeriveXprvConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_derive_xprv", - argNames: ["that", "path"], - ); - - @override - void crateApiKeyDerivationXPrvBytesDrop({required XPrvBytes that}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 4)!; - }, - codec: SseCodec( - decodeSuccessData: sse_decode_unit, - decodeErrorData: null, - ), - constMeta: kCrateApiKeyDerivationXPrvBytesDropConstMeta, - argValues: [that], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesDropConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_drop", - argNames: ["that"], - ); - - @override - U8Array32 crateApiKeyDerivationXPrvBytesGetChainCode( - {required XPrvBytes that}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 5)!; - }, - codec: SseCodec( - decodeSuccessData: sse_decode_u_8_array_32, - decodeErrorData: null, - ), - constMeta: kCrateApiKeyDerivationXPrvBytesGetChainCodeConstMeta, - argValues: [that], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesGetChainCodeConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_get_chain_code", - argNames: ["that"], - ); - - @override - U8Array64 crateApiKeyDerivationXPrvBytesGetExtendedSecretKey( - {required XPrvBytes that}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 6)!; - }, - codec: SseCodec( - decodeSuccessData: sse_decode_u_8_array_64, - decodeErrorData: null, - ), - constMeta: kCrateApiKeyDerivationXPrvBytesGetExtendedSecretKeyConstMeta, - argValues: [that], - apiImpl: this, - )); - } - - TaskConstMeta - get kCrateApiKeyDerivationXPrvBytesGetExtendedSecretKeyConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_get_extended_secret_key", - argNames: ["that"], - ); - - @override - U8Array96 crateApiKeyDerivationXPrvBytesGetInner({required XPrvBytes that}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 7)!; - }, - codec: SseCodec( - decodeSuccessData: sse_decode_u_8_array_96, - decodeErrorData: null, - ), - constMeta: kCrateApiKeyDerivationXPrvBytesGetInnerConstMeta, - argValues: [that], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesGetInnerConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_get_inner", - argNames: ["that"], - ); - - @override - XPrvBytes crateApiKeyDerivationXPrvBytesNew({required U8Array96 xprvBytes}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_u_8_array_96(xprvBytes, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 8)!; - }, - codec: SseCodec( - decodeSuccessData: - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes, - decodeErrorData: null, - ), - constMeta: kCrateApiKeyDerivationXPrvBytesNewConstMeta, - argValues: [xprvBytes], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesNewConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_new", - argNames: ["xprvBytes"], - ); - - @override - Future crateApiKeyDerivationXPrvBytesSignData( - {required XPrvBytes that, required List data}) { - return handler.executeNormal(NormalTask( - callFfi: (port_) { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - that, serializer); - sse_encode_list_prim_u_8_loose(data, serializer); - pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 9, port: port_); - }, - codec: SseCodec( - decodeSuccessData: - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes, - decodeErrorData: sse_decode_AnyhowException, - ), - constMeta: kCrateApiKeyDerivationXPrvBytesSignDataConstMeta, - argValues: [that, data], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesSignDataConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_sign_data", - argNames: ["that", "data"], - ); - - @override - Future crateApiKeyDerivationXPrvBytesVerifySignature( - {required XPrvBytes that, - required List data, - required SignatureBytes signature}) { - return handler.executeNormal(NormalTask( - callFfi: (port_) { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - that, serializer); - sse_encode_list_prim_u_8_loose(data, serializer); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - signature, serializer); - pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 10, port: port_); - }, - codec: SseCodec( - decodeSuccessData: sse_decode_bool, - decodeErrorData: sse_decode_AnyhowException, - ), - constMeta: kCrateApiKeyDerivationXPrvBytesVerifySignatureConstMeta, - argValues: [that, data, signature], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesVerifySignatureConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_verify_signature", - argNames: ["that", "data", "signature"], - ); - - @override - Future crateApiKeyDerivationXPrvBytesXpublicKey( - {required XPrvBytes that}) { - return handler.executeNormal(NormalTask( - callFfi: (port_) { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - that, serializer); - pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 11, port: port_); - }, - codec: SseCodec( - decodeSuccessData: - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes, - decodeErrorData: sse_decode_AnyhowException, - ), - constMeta: kCrateApiKeyDerivationXPrvBytesXpublicKeyConstMeta, - argValues: [that], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesXpublicKeyConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_xpublic_key", - argNames: ["that"], - ); - - @override - U8Array32 crateApiKeyDerivationXPubBytesGetChainCode( - {required XPubBytes that}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 12)!; - }, - codec: SseCodec( - decodeSuccessData: sse_decode_u_8_array_32, - decodeErrorData: null, - ), - constMeta: kCrateApiKeyDerivationXPubBytesGetChainCodeConstMeta, - argValues: [that], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationXPubBytesGetChainCodeConstMeta => - const TaskConstMeta( - debugName: "XPubBytes_get_chain_code", - argNames: ["that"], - ); - - @override - U8Array64 crateApiKeyDerivationXPubBytesGetInner({required XPubBytes that}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 13)!; - }, - codec: SseCodec( - decodeSuccessData: sse_decode_u_8_array_64, - decodeErrorData: null, - ), - constMeta: kCrateApiKeyDerivationXPubBytesGetInnerConstMeta, - argValues: [that], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationXPubBytesGetInnerConstMeta => - const TaskConstMeta( - debugName: "XPubBytes_get_inner", - argNames: ["that"], - ); - - @override - U8Array32 crateApiKeyDerivationXPubBytesGetPublicKey( - {required XPubBytes that}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 14)!; - }, - codec: SseCodec( - decodeSuccessData: sse_decode_u_8_array_32, - decodeErrorData: null, - ), - constMeta: kCrateApiKeyDerivationXPubBytesGetPublicKeyConstMeta, - argValues: [that], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationXPubBytesGetPublicKeyConstMeta => - const TaskConstMeta( - debugName: "XPubBytes_get_public_key", - argNames: ["that"], - ); - - @override - XPubBytes crateApiKeyDerivationXPubBytesNew({required U8Array64 xpubBytes}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_u_8_array_64(xpubBytes, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 15)!; - }, - codec: SseCodec( - decodeSuccessData: - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes, - decodeErrorData: null, - ), - constMeta: kCrateApiKeyDerivationXPubBytesNewConstMeta, - argValues: [xpubBytes], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationXPubBytesNewConstMeta => - const TaskConstMeta( - debugName: "XPubBytes_new", - argNames: ["xpubBytes"], - ); - - @override - Future crateApiKeyDerivationXPubBytesVerifySignature( - {required XPubBytes that, - required List data, - required SignatureBytes signature}) { - return handler.executeNormal(NormalTask( - callFfi: (port_) { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - that, serializer); - sse_encode_list_prim_u_8_loose(data, serializer); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - signature, serializer); - pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 16, port: port_); - }, - codec: SseCodec( - decodeSuccessData: sse_decode_bool, - decodeErrorData: sse_decode_AnyhowException, - ), - constMeta: kCrateApiKeyDerivationXPubBytesVerifySignatureConstMeta, - argValues: [that, data, signature], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationXPubBytesVerifySignatureConstMeta => - const TaskConstMeta( - debugName: "XPubBytes_verify_signature", - argNames: ["that", "data", "signature"], - ); - - @override - Future crateApiKeyDerivationMnemonicToXprv( - {required String mnemonic, String? passphrase}) { - return handler.executeNormal(NormalTask( - callFfi: (port_) { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_String(mnemonic, serializer); - sse_encode_opt_String(passphrase, serializer); - pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 17, port: port_); - }, - codec: SseCodec( - decodeSuccessData: - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes, - decodeErrorData: sse_decode_AnyhowException, - ), - constMeta: kCrateApiKeyDerivationMnemonicToXprvConstMeta, - argValues: [mnemonic, passphrase], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiKeyDerivationMnemonicToXprvConstMeta => - const TaskConstMeta( - debugName: "mnemonic_to_xprv", - argNames: ["mnemonic", "passphrase"], - ); - - RustArcIncrementStrongCountFnType - get rust_arc_increment_strong_count_SignatureBytes => wire - .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes; - - RustArcDecrementStrongCountFnType - get rust_arc_decrement_strong_count_SignatureBytes => wire - .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes; - - RustArcIncrementStrongCountFnType - get rust_arc_increment_strong_count_XPrvBytes => wire - .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes; - - RustArcDecrementStrongCountFnType - get rust_arc_decrement_strong_count_XPrvBytes => wire - .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes; - - RustArcIncrementStrongCountFnType - get rust_arc_increment_strong_count_XPubBytes => wire - .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes; - - RustArcDecrementStrongCountFnType - get rust_arc_decrement_strong_count_XPubBytes => wire - .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes; - - @protected - AnyhowException dco_decode_AnyhowException(dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return AnyhowException(raw as String); - } - - @protected - SignatureBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return SignatureBytesImpl.frbInternalDcoDecode(raw as List); - } - - @protected - XPrvBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return XPrvBytesImpl.frbInternalDcoDecode(raw as List); - } - - @protected - XPubBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return XPubBytesImpl.frbInternalDcoDecode(raw as List); - } - - @protected - XPrvBytes - dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return XPrvBytesImpl.frbInternalDcoDecode(raw as List); - } - - @protected - SignatureBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return SignatureBytesImpl.frbInternalDcoDecode(raw as List); - } - - @protected - XPrvBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return XPrvBytesImpl.frbInternalDcoDecode(raw as List); - } - - @protected - XPubBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return XPubBytesImpl.frbInternalDcoDecode(raw as List); - } - - @protected - SignatureBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return SignatureBytesImpl.frbInternalDcoDecode(raw as List); - } - - @protected - XPrvBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return XPrvBytesImpl.frbInternalDcoDecode(raw as List); - } - - @protected - XPubBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return XPubBytesImpl.frbInternalDcoDecode(raw as List); - } - - @protected - String dco_decode_String(dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return raw as String; - } - - @protected - bool dco_decode_bool(dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return raw as bool; - } - - @protected - List dco_decode_list_prim_u_8_loose(dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return raw as List; - } - - @protected - Uint8List dco_decode_list_prim_u_8_strict(dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return raw as Uint8List; - } - - @protected - String? dco_decode_opt_String(dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return raw == null ? null : dco_decode_String(raw); - } - - @protected - int dco_decode_u_8(dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return raw as int; - } - - @protected - U8Array32 dco_decode_u_8_array_32(dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return U8Array32(dco_decode_list_prim_u_8_strict(raw)); - } - - @protected - U8Array64 dco_decode_u_8_array_64(dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return U8Array64(dco_decode_list_prim_u_8_strict(raw)); - } - - @protected - U8Array96 dco_decode_u_8_array_96(dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return U8Array96(dco_decode_list_prim_u_8_strict(raw)); - } - - @protected - void dco_decode_unit(dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return; - } - - @protected - BigInt dco_decode_usize(dynamic raw) { - // Codec=Dco (DartCObject based), see doc to use other codecs - return dcoDecodeU64(raw); - } - - @protected - AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - var inner = sse_decode_String(deserializer); - return AnyhowException(inner); - } - - @protected - SignatureBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - return SignatureBytesImpl.frbInternalSseDecode( - sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); - } - - @protected - XPrvBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - return XPrvBytesImpl.frbInternalSseDecode( - sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); - } - - @protected - XPubBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - return XPubBytesImpl.frbInternalSseDecode( - sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); - } - - @protected - XPrvBytes - sse_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - return XPrvBytesImpl.frbInternalSseDecode( - sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); - } - - @protected - SignatureBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - return SignatureBytesImpl.frbInternalSseDecode( - sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); - } - - @protected - XPrvBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - return XPrvBytesImpl.frbInternalSseDecode( - sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); - } - - @protected - XPubBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - return XPubBytesImpl.frbInternalSseDecode( - sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); - } - - @protected - SignatureBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - return SignatureBytesImpl.frbInternalSseDecode( - sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); - } - - @protected - XPrvBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - return XPrvBytesImpl.frbInternalSseDecode( - sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); - } - - @protected - XPubBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - return XPubBytesImpl.frbInternalSseDecode( - sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); - } - - @protected - String sse_decode_String(SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - var inner = sse_decode_list_prim_u_8_strict(deserializer); - return utf8.decoder.convert(inner); - } - - @protected - bool sse_decode_bool(SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - return deserializer.buffer.getUint8() != 0; - } - - @protected - List sse_decode_list_prim_u_8_loose(SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - var len_ = sse_decode_i_32(deserializer); - return deserializer.buffer.getUint8List(len_); - } - - @protected - Uint8List sse_decode_list_prim_u_8_strict(SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - var len_ = sse_decode_i_32(deserializer); - return deserializer.buffer.getUint8List(len_); - } - - @protected - String? sse_decode_opt_String(SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - - if (sse_decode_bool(deserializer)) { - return (sse_decode_String(deserializer)); - } else { - return null; - } - } - - @protected - int sse_decode_u_8(SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - return deserializer.buffer.getUint8(); - } - - @protected - U8Array32 sse_decode_u_8_array_32(SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - var inner = sse_decode_list_prim_u_8_strict(deserializer); - return U8Array32(inner); - } - - @protected - U8Array64 sse_decode_u_8_array_64(SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - var inner = sse_decode_list_prim_u_8_strict(deserializer); - return U8Array64(inner); - } - - @protected - U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - var inner = sse_decode_list_prim_u_8_strict(deserializer); - return U8Array96(inner); - } - - @protected - void sse_decode_unit(SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - } - - @protected - BigInt sse_decode_usize(SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - return deserializer.buffer.getBigUint64(); - } - - @protected - int sse_decode_i_32(SseDeserializer deserializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - return deserializer.buffer.getInt32(); - } - - @protected - void sse_encode_AnyhowException( - AnyhowException self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_String(self.message, serializer); - } - - @protected - void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_usize( - (self as SignatureBytesImpl).frbInternalSseEncode(move: true), - serializer); - } - - @protected - void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_usize( - (self as XPrvBytesImpl).frbInternalSseEncode(move: true), serializer); - } - - @protected - void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_usize( - (self as XPubBytesImpl).frbInternalSseEncode(move: true), serializer); - } - - @protected - void - sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_usize( - (self as XPrvBytesImpl).frbInternalSseEncode(move: false), serializer); - } - - @protected - void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_usize( - (self as SignatureBytesImpl).frbInternalSseEncode(move: false), - serializer); - } - - @protected - void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_usize( - (self as XPrvBytesImpl).frbInternalSseEncode(move: false), serializer); - } - - @protected - void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_usize( - (self as XPubBytesImpl).frbInternalSseEncode(move: false), serializer); - } - - @protected - void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_usize( - (self as SignatureBytesImpl).frbInternalSseEncode(move: null), - serializer); - } - - @protected - void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_usize( - (self as XPrvBytesImpl).frbInternalSseEncode(move: null), serializer); - } - - @protected - void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_usize( - (self as XPubBytesImpl).frbInternalSseEncode(move: null), serializer); - } - - @protected - void sse_encode_String(String self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_list_prim_u_8_strict(utf8.encoder.convert(self), serializer); - } - - @protected - void sse_encode_bool(bool self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - serializer.buffer.putUint8(self ? 1 : 0); - } - - @protected - void sse_encode_list_prim_u_8_loose( - List self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_i_32(self.length, serializer); - serializer.buffer - .putUint8List(self is Uint8List ? self : Uint8List.fromList(self)); - } - - @protected - void sse_encode_list_prim_u_8_strict( - Uint8List self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_i_32(self.length, serializer); - serializer.buffer.putUint8List(self); - } - - @protected - void sse_encode_opt_String(String? self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - - sse_encode_bool(self != null, serializer); - if (self != null) { - sse_encode_String(self, serializer); - } - } - - @protected - void sse_encode_u_8(int self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - serializer.buffer.putUint8(self); - } - - @protected - void sse_encode_u_8_array_32(U8Array32 self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_list_prim_u_8_strict(self.inner, serializer); - } - - @protected - void sse_encode_u_8_array_64(U8Array64 self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_list_prim_u_8_strict(self.inner, serializer); - } - - @protected - void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - sse_encode_list_prim_u_8_strict(self.inner, serializer); - } - - @protected - void sse_encode_unit(void self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - } - - @protected - void sse_encode_usize(BigInt self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - serializer.buffer.putBigUint64(self); - } - - @protected - void sse_encode_i_32(int self, SseSerializer serializer) { - // Codec=Sse (Serialization based), see doc to use other codecs - serializer.buffer.putInt32(self); - } -} - -@sealed -class SignatureBytesImpl extends RustOpaque implements SignatureBytes { - // Not to be used by end users - SignatureBytesImpl.frbInternalDcoDecode(List wire) - : super.frbInternalDcoDecode(wire, _kStaticData); - - // Not to be used by end users - SignatureBytesImpl.frbInternalSseDecode(BigInt ptr, int externalSizeOnNative) - : super.frbInternalSseDecode(ptr, externalSizeOnNative, _kStaticData); - - static final _kStaticData = RustArcStaticData( - rustArcIncrementStrongCount: - RustLib.instance.api.rust_arc_increment_strong_count_SignatureBytes, - rustArcDecrementStrongCount: - RustLib.instance.api.rust_arc_decrement_strong_count_SignatureBytes, - rustArcDecrementStrongCountPtr: - RustLib.instance.api.rust_arc_decrement_strong_count_SignatureBytesPtr, - ); - - /// Get the inner bytes. - U8Array64 get inner => - RustLib.instance.api.crateApiKeyDerivationSignatureBytesGetInner( - that: this, - ); -} - -@sealed -class XPrvBytesImpl extends RustOpaque implements XPrvBytes { - // Not to be used by end users - XPrvBytesImpl.frbInternalDcoDecode(List wire) - : super.frbInternalDcoDecode(wire, _kStaticData); - - // Not to be used by end users - XPrvBytesImpl.frbInternalSseDecode(BigInt ptr, int externalSizeOnNative) - : super.frbInternalSseDecode(ptr, externalSizeOnNative, _kStaticData); - - static final _kStaticData = RustArcStaticData( - rustArcIncrementStrongCount: - RustLib.instance.api.rust_arc_increment_strong_count_XPrvBytes, - rustArcDecrementStrongCount: - RustLib.instance.api.rust_arc_decrement_strong_count_XPrvBytes, - rustArcDecrementStrongCountPtr: - RustLib.instance.api.rust_arc_decrement_strong_count_XPrvBytesPtr, - ); - - /// Derive a new extended private key from the given extended private key. - /// - V2 derivation scheme is used as it is mention in [SLIP-0023](https://github.com/satoshilabs/slips/blob/master/slip-0023.md). - /// - More information about child key derivation can be found in [BIP32-Ed25519](https://input-output-hk.github.io/adrestia/static/Ed25519_BIP.pdf). - /// - /// # Arguments - /// - /// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. - /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. - /// - /// # Returns - /// - /// Returns a bytes of extended private key as a `Result`. - /// - /// # Errors - /// - /// Returns an error if the derivation path is invalid. - Future deriveXprv({required String path}) => RustLib.instance.api - .crateApiKeyDerivationXPrvBytesDeriveXprv(that: this, path: path); - - /// Drop the extended private key. - void drop() => RustLib.instance.api.crateApiKeyDerivationXPrvBytesDrop( - that: this, - ); - - /// Extract the chain code from the extended private key. - /// The chain code is the last 32 bytes of the extended private key. - /// - /// # Returns - /// - /// Returns a 32 length bytes representing the chain code. - U8Array32 get chainCode => - RustLib.instance.api.crateApiKeyDerivationXPrvBytesGetChainCode( - that: this, - ); - - /// Extract the extended secret key from the extended private key. - /// The extended secret key is the first 64 bytes of the extended private key. - /// - /// # Returns - /// - /// Returns a 64 length bytes representing the extended secret key. - U8Array64 get extendedSecretKey => - RustLib.instance.api.crateApiKeyDerivationXPrvBytesGetExtendedSecretKey( - that: this, - ); - - /// Get the inner bytes. - U8Array96 get inner => - RustLib.instance.api.crateApiKeyDerivationXPrvBytesGetInner( - that: this, - ); - - /// Sign the given data with the given extended private key. - /// - /// # Arguments - /// - /// - `data`: The data to sign. - /// - /// # Returns - /// Returns a 64 length bytes `SignatureBytes` representing the signature. - /// - /// # Errors - /// - /// Returns an error if the extended private key is invalid. - Future signData({required List data}) => - RustLib.instance.api - .crateApiKeyDerivationXPrvBytesSignData(that: this, data: data); - - /// Verify the signature on the given data using extended private key. - /// - /// # Arguments - /// - /// - `data`: The data to sign. - /// - `signature`: The signature to check. - /// - /// # Returns - /// Returns a boolean value indicating if the signature match the sign data - /// True if the signature is valid and match the sign data, false otherwise. - /// - /// # Errors - /// - /// Returns an error if the extended private key or signature is invalid. - Future verifySignature( - {required List data, required SignatureBytes signature}) => - RustLib.instance.api.crateApiKeyDerivationXPrvBytesVerifySignature( - that: this, data: data, signature: signature); - - /// Get extended public key from the given extended private key. - /// - /// # Returns - /// - /// Returns a 64 length bytes `XPubBytes` representing the extended public key. - /// - /// # Errors - /// - /// Returns an error if the extended private key is invalid. - Future xpublicKey() => - RustLib.instance.api.crateApiKeyDerivationXPrvBytesXpublicKey( - that: this, - ); -} - -@sealed -class XPubBytesImpl extends RustOpaque implements XPubBytes { - // Not to be used by end users - XPubBytesImpl.frbInternalDcoDecode(List wire) - : super.frbInternalDcoDecode(wire, _kStaticData); - - // Not to be used by end users - XPubBytesImpl.frbInternalSseDecode(BigInt ptr, int externalSizeOnNative) - : super.frbInternalSseDecode(ptr, externalSizeOnNative, _kStaticData); - - static final _kStaticData = RustArcStaticData( - rustArcIncrementStrongCount: - RustLib.instance.api.rust_arc_increment_strong_count_XPubBytes, - rustArcDecrementStrongCount: - RustLib.instance.api.rust_arc_decrement_strong_count_XPubBytes, - rustArcDecrementStrongCountPtr: - RustLib.instance.api.rust_arc_decrement_strong_count_XPubBytesPtr, - ); - - /// Extract the chain code from the extended public key. - /// The chain code is the last 32 bytes of the extended public key. - /// - /// # Returns - /// - /// Returns a 32 length bytes representing the chain code. - U8Array32 get chainCode => - RustLib.instance.api.crateApiKeyDerivationXPubBytesGetChainCode( - that: this, - ); - - /// Get the inner bytes. - U8Array64 get inner => - RustLib.instance.api.crateApiKeyDerivationXPubBytesGetInner( - that: this, - ); - - /// Extract the public key from the extended public key. - /// The public key is the first 32 bytes of the extended public key. - /// - /// # Returns - /// - /// Returns a 32 length bytes representing the public key. - U8Array32 get publicKey => - RustLib.instance.api.crateApiKeyDerivationXPubBytesGetPublicKey( - that: this, - ); - - /// Verify the signature on the given data using extended public key. - /// - /// # Arguments - /// - /// - `data`: The data to sign. - /// - `signature`: The signature to check. - /// - /// # Returns - /// Returns a boolean value indicating if the signature match the sign data - /// True if the signature is valid and match the sign data, false otherwise. - /// - /// # Errors - /// - /// Returns an error if the extended public key or signature is invalid. - Future verifySignature( - {required List data, required SignatureBytes signature}) => - RustLib.instance.api.crateApiKeyDerivationXPubBytesVerifySignature( - that: this, data: data, signature: signature); -} diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart deleted file mode 100644 index 5d47e4e4ac..0000000000 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart +++ /dev/null @@ -1,407 +0,0 @@ -// This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.5.1. - -// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field - -import 'api/key_derivation.dart'; -import 'dart:async'; -import 'dart:convert'; -import 'dart:ffi' as ffi; -import 'frb_generated.dart'; -import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated_io.dart'; - -abstract class RustLibApiImplPlatform extends BaseApiImpl { - RustLibApiImplPlatform({ - required super.handler, - required super.wire, - required super.generalizedFrbRustBinding, - required super.portManager, - }); - - CrossPlatformFinalizerArg - get rust_arc_decrement_strong_count_SignatureBytesPtr => wire - ._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr; - - CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPrvBytesPtr => - wire._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr; - - CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPubBytesPtr => - wire._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr; - - @protected - AnyhowException dco_decode_AnyhowException(dynamic raw); - - @protected - SignatureBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - dynamic raw); - - @protected - XPrvBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - dynamic raw); - - @protected - XPubBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - dynamic raw); - - @protected - XPrvBytes - dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - dynamic raw); - - @protected - SignatureBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - dynamic raw); - - @protected - XPrvBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - dynamic raw); - - @protected - XPubBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - dynamic raw); - - @protected - SignatureBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - dynamic raw); - - @protected - XPrvBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - dynamic raw); - - @protected - XPubBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - dynamic raw); - - @protected - String dco_decode_String(dynamic raw); - - @protected - bool dco_decode_bool(dynamic raw); - - @protected - List dco_decode_list_prim_u_8_loose(dynamic raw); - - @protected - Uint8List dco_decode_list_prim_u_8_strict(dynamic raw); - - @protected - String? dco_decode_opt_String(dynamic raw); - - @protected - int dco_decode_u_8(dynamic raw); - - @protected - U8Array32 dco_decode_u_8_array_32(dynamic raw); - - @protected - U8Array64 dco_decode_u_8_array_64(dynamic raw); - - @protected - U8Array96 dco_decode_u_8_array_96(dynamic raw); - - @protected - void dco_decode_unit(dynamic raw); - - @protected - BigInt dco_decode_usize(dynamic raw); - - @protected - AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer); - - @protected - SignatureBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SseDeserializer deserializer); - - @protected - XPrvBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - SseDeserializer deserializer); - - @protected - XPubBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - SseDeserializer deserializer); - - @protected - XPrvBytes - sse_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - SseDeserializer deserializer); - - @protected - SignatureBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SseDeserializer deserializer); - - @protected - XPrvBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - SseDeserializer deserializer); - - @protected - XPubBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - SseDeserializer deserializer); - - @protected - SignatureBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SseDeserializer deserializer); - - @protected - XPrvBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - SseDeserializer deserializer); - - @protected - XPubBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - SseDeserializer deserializer); - - @protected - String sse_decode_String(SseDeserializer deserializer); - - @protected - bool sse_decode_bool(SseDeserializer deserializer); - - @protected - List sse_decode_list_prim_u_8_loose(SseDeserializer deserializer); - - @protected - Uint8List sse_decode_list_prim_u_8_strict(SseDeserializer deserializer); - - @protected - String? sse_decode_opt_String(SseDeserializer deserializer); - - @protected - int sse_decode_u_8(SseDeserializer deserializer); - - @protected - U8Array32 sse_decode_u_8_array_32(SseDeserializer deserializer); - - @protected - U8Array64 sse_decode_u_8_array_64(SseDeserializer deserializer); - - @protected - U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer); - - @protected - void sse_decode_unit(SseDeserializer deserializer); - - @protected - BigInt sse_decode_usize(SseDeserializer deserializer); - - @protected - int sse_decode_i_32(SseDeserializer deserializer); - - @protected - void sse_encode_AnyhowException( - AnyhowException self, SseSerializer serializer); - - @protected - void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer); - - @protected - void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); - - @protected - void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer); - - @protected - void - sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); - - @protected - void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer); - - @protected - void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); - - @protected - void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer); - - @protected - void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer); - - @protected - void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); - - @protected - void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer); - - @protected - void sse_encode_String(String self, SseSerializer serializer); - - @protected - void sse_encode_bool(bool self, SseSerializer serializer); - - @protected - void sse_encode_list_prim_u_8_loose(List self, SseSerializer serializer); - - @protected - void sse_encode_list_prim_u_8_strict( - Uint8List self, SseSerializer serializer); - - @protected - void sse_encode_opt_String(String? self, SseSerializer serializer); - - @protected - void sse_encode_u_8(int self, SseSerializer serializer); - - @protected - void sse_encode_u_8_array_32(U8Array32 self, SseSerializer serializer); - - @protected - void sse_encode_u_8_array_64(U8Array64 self, SseSerializer serializer); - - @protected - void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer); - - @protected - void sse_encode_unit(void self, SseSerializer serializer); - - @protected - void sse_encode_usize(BigInt self, SseSerializer serializer); - - @protected - void sse_encode_i_32(int self, SseSerializer serializer); -} - -// Section: wire_class - -class RustLibWire implements BaseWire { - factory RustLibWire.fromExternalLibrary(ExternalLibrary lib) => - RustLibWire(lib.ffiDynamicLibrary); - - /// Holds the symbol lookup function. - final ffi.Pointer Function(String symbolName) - _lookup; - - /// The symbols are looked up in [dynamicLibrary]. - RustLibWire(ffi.DynamicLibrary dynamicLibrary) - : _lookup = dynamicLibrary.lookup; - - void - rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - ffi.Pointer ptr, - ) { - return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - ptr, - ); - } - - late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr = - _lookup)>>( - 'frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes'); - late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes = - _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr - .asFunction)>(); - - void - rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - ffi.Pointer ptr, - ) { - return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - ptr, - ); - } - - late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr = - _lookup)>>( - 'frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes'); - late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes = - _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr - .asFunction)>(); - - void - rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - ffi.Pointer ptr, - ) { - return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - ptr, - ); - } - - late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr = - _lookup)>>( - 'frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes'); - late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes = - _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr - .asFunction)>(); - - void - rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - ffi.Pointer ptr, - ) { - return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - ptr, - ); - } - - late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr = - _lookup)>>( - 'frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes'); - late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes = - _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr - .asFunction)>(); - - void - rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - ffi.Pointer ptr, - ) { - return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - ptr, - ); - } - - late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr = - _lookup)>>( - 'frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes'); - late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes = - _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr - .asFunction)>(); - - void - rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - ffi.Pointer ptr, - ) { - return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - ptr, - ); - } - - late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr = - _lookup)>>( - 'frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes'); - late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes = - _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr - .asFunction)>(); -} diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart deleted file mode 100644 index 2b10a7fbbc..0000000000 --- a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart +++ /dev/null @@ -1,371 +0,0 @@ -// This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.5.1. - -// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field - -// Static analysis wrongly picks the IO variant, thus ignore this -// ignore_for_file: argument_type_not_assignable - -import 'api/key_derivation.dart'; -import 'dart:async'; -import 'dart:convert'; -import 'frb_generated.dart'; -import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated_web.dart'; - -abstract class RustLibApiImplPlatform extends BaseApiImpl { - RustLibApiImplPlatform({ - required super.handler, - required super.wire, - required super.generalizedFrbRustBinding, - required super.portManager, - }); - - CrossPlatformFinalizerArg - get rust_arc_decrement_strong_count_SignatureBytesPtr => wire - .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes; - - CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPrvBytesPtr => - wire.rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes; - - CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPubBytesPtr => - wire.rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes; - - @protected - AnyhowException dco_decode_AnyhowException(dynamic raw); - - @protected - SignatureBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - dynamic raw); - - @protected - XPrvBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - dynamic raw); - - @protected - XPubBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - dynamic raw); - - @protected - XPrvBytes - dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - dynamic raw); - - @protected - SignatureBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - dynamic raw); - - @protected - XPrvBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - dynamic raw); - - @protected - XPubBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - dynamic raw); - - @protected - SignatureBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - dynamic raw); - - @protected - XPrvBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - dynamic raw); - - @protected - XPubBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - dynamic raw); - - @protected - String dco_decode_String(dynamic raw); - - @protected - bool dco_decode_bool(dynamic raw); - - @protected - List dco_decode_list_prim_u_8_loose(dynamic raw); - - @protected - Uint8List dco_decode_list_prim_u_8_strict(dynamic raw); - - @protected - String? dco_decode_opt_String(dynamic raw); - - @protected - int dco_decode_u_8(dynamic raw); - - @protected - U8Array32 dco_decode_u_8_array_32(dynamic raw); - - @protected - U8Array64 dco_decode_u_8_array_64(dynamic raw); - - @protected - U8Array96 dco_decode_u_8_array_96(dynamic raw); - - @protected - void dco_decode_unit(dynamic raw); - - @protected - BigInt dco_decode_usize(dynamic raw); - - @protected - AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer); - - @protected - SignatureBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SseDeserializer deserializer); - - @protected - XPrvBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - SseDeserializer deserializer); - - @protected - XPubBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - SseDeserializer deserializer); - - @protected - XPrvBytes - sse_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - SseDeserializer deserializer); - - @protected - SignatureBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SseDeserializer deserializer); - - @protected - XPrvBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - SseDeserializer deserializer); - - @protected - XPubBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - SseDeserializer deserializer); - - @protected - SignatureBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SseDeserializer deserializer); - - @protected - XPrvBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - SseDeserializer deserializer); - - @protected - XPubBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - SseDeserializer deserializer); - - @protected - String sse_decode_String(SseDeserializer deserializer); - - @protected - bool sse_decode_bool(SseDeserializer deserializer); - - @protected - List sse_decode_list_prim_u_8_loose(SseDeserializer deserializer); - - @protected - Uint8List sse_decode_list_prim_u_8_strict(SseDeserializer deserializer); - - @protected - String? sse_decode_opt_String(SseDeserializer deserializer); - - @protected - int sse_decode_u_8(SseDeserializer deserializer); - - @protected - U8Array32 sse_decode_u_8_array_32(SseDeserializer deserializer); - - @protected - U8Array64 sse_decode_u_8_array_64(SseDeserializer deserializer); - - @protected - U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer); - - @protected - void sse_decode_unit(SseDeserializer deserializer); - - @protected - BigInt sse_decode_usize(SseDeserializer deserializer); - - @protected - int sse_decode_i_32(SseDeserializer deserializer); - - @protected - void sse_encode_AnyhowException( - AnyhowException self, SseSerializer serializer); - - @protected - void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer); - - @protected - void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); - - @protected - void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer); - - @protected - void - sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); - - @protected - void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer); - - @protected - void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); - - @protected - void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer); - - @protected - void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer); - - @protected - void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); - - @protected - void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer); - - @protected - void sse_encode_String(String self, SseSerializer serializer); - - @protected - void sse_encode_bool(bool self, SseSerializer serializer); - - @protected - void sse_encode_list_prim_u_8_loose(List self, SseSerializer serializer); - - @protected - void sse_encode_list_prim_u_8_strict( - Uint8List self, SseSerializer serializer); - - @protected - void sse_encode_opt_String(String? self, SseSerializer serializer); - - @protected - void sse_encode_u_8(int self, SseSerializer serializer); - - @protected - void sse_encode_u_8_array_32(U8Array32 self, SseSerializer serializer); - - @protected - void sse_encode_u_8_array_64(U8Array64 self, SseSerializer serializer); - - @protected - void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer); - - @protected - void sse_encode_unit(void self, SseSerializer serializer); - - @protected - void sse_encode_usize(BigInt self, SseSerializer serializer); - - @protected - void sse_encode_i_32(int self, SseSerializer serializer); -} - -// Section: wire_class - -class RustLibWire implements BaseWire { - RustLibWire.fromExternalLibrary(ExternalLibrary lib); - - void rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - int ptr) => - wasmModule - .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - ptr); - - void rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - int ptr) => - wasmModule - .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - ptr); - - void rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - int ptr) => - wasmModule - .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - ptr); - - void rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - int ptr) => - wasmModule - .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - ptr); - - void rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - int ptr) => - wasmModule - .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - ptr); - - void rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - int ptr) => - wasmModule - .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - ptr); -} - -@JS('wasm_bindgen') -external RustLibWasmModule get wasmModule; - -@JS() -@anonymous -extension type RustLibWasmModule._(JSObject _) implements JSObject { - external void - rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - int ptr); - - external void - rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - int ptr); - - external void - rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - int ptr); - - external void - rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - int ptr); - - external void - rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - int ptr); - - external void - rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - int ptr); -} diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs b/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs deleted file mode 100644 index ccc368d0aa..0000000000 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/src/frb_generated.rs +++ /dev/null @@ -1,1488 +0,0 @@ -// This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.5.1. - -#![allow( - non_camel_case_types, - unused, - non_snake_case, - clippy::needless_return, - clippy::redundant_closure_call, - clippy::redundant_closure, - clippy::useless_conversion, - clippy::unit_arg, - clippy::unused_unit, - clippy::double_parens, - clippy::let_and_return, - clippy::too_many_arguments, - clippy::match_single_binding, - clippy::clone_on_copy, - clippy::let_unit_value, - clippy::deref_addrof, - clippy::explicit_auto_deref, - clippy::borrow_deref_ref, - clippy::needless_borrow -)] - -// Section: imports - -use crate::api::key_derivation::*; -use flutter_rust_bridge::for_generated::byteorder::{NativeEndian, ReadBytesExt, WriteBytesExt}; -use flutter_rust_bridge::for_generated::{transform_result_dco, Lifetimeable, Lockable}; -use flutter_rust_bridge::{Handler, IntoIntoDart}; - -// Section: boilerplate - -flutter_rust_bridge::frb_generated_boilerplate!( - default_stream_sink_codec = SseCodec, - default_rust_opaque = RustOpaqueMoi, - default_rust_auto_opaque = RustAutoOpaqueMoi, -); -pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.5.1"; -pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = -609775494; - -// Section: executor - -flutter_rust_bridge::frb_generated_default_handler!(); - -// Section: wire_funcs - -fn wire__crate__api__key_derivation__SignatureBytes_get_inner_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "SignatureBytes_get_inner", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::SignatureBytes::get_inner(&*api_that_guard), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__SignatureBytes_new_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "SignatureBytes_new", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_sig_bytes = <[u8; 64]>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::SignatureBytes::new(api_sig_bytes), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_derive_xprv_impl( - port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_derive_xprv", - port: Some(port_), - mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - let api_path = ::sse_decode(&mut deserializer); - deserializer.end(); - move |context| async move { - transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( - (move || async move { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order( - vec![flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - )], - ); - for i in decode_indices_ { - match i { - 0 => { - api_that_guard = - Some(api_that.lockable_decode_async_ref().await) - }, - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = crate::api::key_derivation::XPrvBytes::derive_xprv( - &*api_that_guard, - api_path, - ) - .await?; - Ok(output_ok) - })() - .await, - ) - } - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_drop_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_drop", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, true, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref_mut()), - _ => unreachable!(), - } - } - let mut api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok({ - crate::api::key_derivation::XPrvBytes::drop(&mut *api_that_guard); - })?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_get_chain_code_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_get_chain_code", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::XPrvBytes::get_chain_code(&*api_that_guard), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_get_extended_secret_key_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_get_extended_secret_key", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::XPrvBytes::get_extended_secret_key( - &*api_that_guard, - ), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_get_inner_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_get_inner", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::XPrvBytes::get_inner(&*api_that_guard), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_new_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_new", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_xprv_bytes = <[u8; 96]>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let output_ok = Result::<_, ()>::Ok(crate::api::key_derivation::XPrvBytes::new( - api_xprv_bytes, - ))?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_sign_data_impl( - port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_sign_data", - port: Some(port_), - mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - let api_data = >::sse_decode(&mut deserializer); - deserializer.end(); - move |context| async move { - transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( - (move || async move { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order( - vec![flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - )], - ); - for i in decode_indices_ { - match i { - 0 => { - api_that_guard = - Some(api_that.lockable_decode_async_ref().await) - }, - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = crate::api::key_derivation::XPrvBytes::sign_data( - &*api_that_guard, - api_data, - ) - .await?; - Ok(output_ok) - })() - .await, - ) - } - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_verify_signature_impl( - port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_verify_signature", - port: Some(port_), - mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - let api_data = >::sse_decode(&mut deserializer); - let api_signature = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - move |context| async move { - transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( - (move || async move { - let mut api_that_guard = None; - let mut api_signature_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order( - vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_signature, - 1, - false, - ), - ], - ); - for i in decode_indices_ { - match i { - 0 => { - api_that_guard = - Some(api_that.lockable_decode_async_ref().await) - }, - 1 => { - api_signature_guard = - Some(api_signature.lockable_decode_async_ref().await) - }, - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let api_signature_guard = api_signature_guard.unwrap(); - let output_ok = crate::api::key_derivation::XPrvBytes::verify_signature( - &*api_that_guard, - api_data, - &*api_signature_guard, - ) - .await?; - Ok(output_ok) - })() - .await, - ) - } - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_xpublic_key_impl( - port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_xpublic_key", - port: Some(port_), - mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - move |context| async move { - transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( - (move || async move { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order( - vec![flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - )], - ); - for i in decode_indices_ { - match i { - 0 => { - api_that_guard = - Some(api_that.lockable_decode_async_ref().await) - }, - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = - crate::api::key_derivation::XPrvBytes::xpublic_key(&*api_that_guard) - .await?; - Ok(output_ok) - })() - .await, - ) - } - }, - ) -} -fn wire__crate__api__key_derivation__XPubBytes_get_chain_code_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPubBytes_get_chain_code", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::XPubBytes::get_chain_code(&*api_that_guard), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPubBytes_get_inner_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPubBytes_get_inner", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::XPubBytes::get_inner(&*api_that_guard), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPubBytes_get_public_key_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPubBytes_get_public_key", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::XPubBytes::get_public_key(&*api_that_guard), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPubBytes_new_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPubBytes_new", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_xpub_bytes = <[u8; 64]>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let output_ok = Result::<_, ()>::Ok(crate::api::key_derivation::XPubBytes::new( - api_xpub_bytes, - ))?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPubBytes_verify_signature_impl( - port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPubBytes_verify_signature", - port: Some(port_), - mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - let api_data = >::sse_decode(&mut deserializer); - let api_signature = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - move |context| async move { - transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( - (move || async move { - let mut api_that_guard = None; - let mut api_signature_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order( - vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_signature, - 1, - false, - ), - ], - ); - for i in decode_indices_ { - match i { - 0 => { - api_that_guard = - Some(api_that.lockable_decode_async_ref().await) - }, - 1 => { - api_signature_guard = - Some(api_signature.lockable_decode_async_ref().await) - }, - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let api_signature_guard = api_signature_guard.unwrap(); - let output_ok = crate::api::key_derivation::XPubBytes::verify_signature( - &*api_that_guard, - api_data, - &*api_signature_guard, - ) - .await?; - Ok(output_ok) - })() - .await, - ) - } - }, - ) -} -fn wire__crate__api__key_derivation__mnemonic_to_xprv_impl( - port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "mnemonic_to_xprv", - port: Some(port_), - mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_mnemonic = ::sse_decode(&mut deserializer); - let api_passphrase = >::sse_decode(&mut deserializer); - deserializer.end(); - move |context| async move { - transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( - (move || async move { - let output_ok = crate::api::key_derivation::mnemonic_to_xprv( - api_mnemonic, - api_passphrase, - ) - .await?; - Ok(output_ok) - })() - .await, - ) - } - }, - ) -} - -// Section: related_funcs - -flutter_rust_bridge::frb_generated_moi_arc_impl_value!( - flutter_rust_bridge::for_generated::RustAutoOpaqueInner -); -flutter_rust_bridge::frb_generated_moi_arc_impl_value!( - flutter_rust_bridge::for_generated::RustAutoOpaqueInner -); -flutter_rust_bridge::frb_generated_moi_arc_impl_value!( - flutter_rust_bridge::for_generated::RustAutoOpaqueInner -); - -// Section: dart2rust - -impl SseDecode for flutter_rust_bridge::for_generated::anyhow::Error { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = ::sse_decode(deserializer); - return flutter_rust_bridge::for_generated::anyhow::anyhow!("{}", inner); - } -} - -impl SseDecode for SignatureBytes { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = , - >>::sse_decode(deserializer); - return flutter_rust_bridge::for_generated::rust_auto_opaque_decode_owned(inner); - } -} - -impl SseDecode for XPrvBytes { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = , - >>::sse_decode(deserializer); - return flutter_rust_bridge::for_generated::rust_auto_opaque_decode_owned(inner); - } -} - -impl SseDecode for XPubBytes { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = , - >>::sse_decode(deserializer); - return flutter_rust_bridge::for_generated::rust_auto_opaque_decode_owned(inner); - } -} - -impl SseDecode - for RustOpaqueMoi> -{ - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = ::sse_decode(deserializer); - return decode_rust_opaque_moi(inner); - } -} - -impl SseDecode - for RustOpaqueMoi> -{ - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = ::sse_decode(deserializer); - return decode_rust_opaque_moi(inner); - } -} - -impl SseDecode - for RustOpaqueMoi> -{ - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = ::sse_decode(deserializer); - return decode_rust_opaque_moi(inner); - } -} - -impl SseDecode for String { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = >::sse_decode(deserializer); - return String::from_utf8(inner).unwrap(); - } -} - -impl SseDecode for bool { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - deserializer.cursor.read_u8().unwrap() != 0 - } -} - -impl SseDecode for Vec { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut len_ = ::sse_decode(deserializer); - let mut ans_ = vec![]; - for idx_ in 0..len_ { - ans_.push(::sse_decode(deserializer)); - } - return ans_; - } -} - -impl SseDecode for Option { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - if (::sse_decode(deserializer)) { - return Some(::sse_decode(deserializer)); - } else { - return None; - } - } -} - -impl SseDecode for u8 { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - deserializer.cursor.read_u8().unwrap() - } -} - -impl SseDecode for [u8; 32] { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = >::sse_decode(deserializer); - return flutter_rust_bridge::for_generated::from_vec_to_array(inner); - } -} - -impl SseDecode for [u8; 64] { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = >::sse_decode(deserializer); - return flutter_rust_bridge::for_generated::from_vec_to_array(inner); - } -} - -impl SseDecode for [u8; 96] { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = >::sse_decode(deserializer); - return flutter_rust_bridge::for_generated::from_vec_to_array(inner); - } -} - -impl SseDecode for () { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {} -} - -impl SseDecode for usize { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - deserializer.cursor.read_u64::().unwrap() as _ - } -} - -impl SseDecode for i32 { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - deserializer.cursor.read_i32::().unwrap() - } -} - -fn pde_ffi_dispatcher_primary_impl( - func_id: i32, port: flutter_rust_bridge::for_generated::MessagePort, - ptr: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len: i32, - data_len: i32, -) { - // Codec=Pde (Serialization + dispatch), see doc to use other codecs - match func_id { - 3 => wire__crate__api__key_derivation__XPrvBytes_derive_xprv_impl( - port, - ptr, - rust_vec_len, - data_len, - ), - 9 => wire__crate__api__key_derivation__XPrvBytes_sign_data_impl( - port, - ptr, - rust_vec_len, - data_len, - ), - 10 => wire__crate__api__key_derivation__XPrvBytes_verify_signature_impl( - port, - ptr, - rust_vec_len, - data_len, - ), - 11 => wire__crate__api__key_derivation__XPrvBytes_xpublic_key_impl( - port, - ptr, - rust_vec_len, - data_len, - ), - 16 => wire__crate__api__key_derivation__XPubBytes_verify_signature_impl( - port, - ptr, - rust_vec_len, - data_len, - ), - 17 => wire__crate__api__key_derivation__mnemonic_to_xprv_impl( - port, - ptr, - rust_vec_len, - data_len, - ), - _ => unreachable!(), - } -} - -fn pde_ffi_dispatcher_sync_impl( - func_id: i32, ptr: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len: i32, data_len: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - // Codec=Pde (Serialization + dispatch), see doc to use other codecs - match func_id { - 1 => wire__crate__api__key_derivation__SignatureBytes_get_inner_impl( - ptr, - rust_vec_len, - data_len, - ), - 2 => wire__crate__api__key_derivation__SignatureBytes_new_impl(ptr, rust_vec_len, data_len), - 4 => wire__crate__api__key_derivation__XPrvBytes_drop_impl(ptr, rust_vec_len, data_len), - 5 => wire__crate__api__key_derivation__XPrvBytes_get_chain_code_impl( - ptr, - rust_vec_len, - data_len, - ), - 6 => wire__crate__api__key_derivation__XPrvBytes_get_extended_secret_key_impl( - ptr, - rust_vec_len, - data_len, - ), - 7 => { - wire__crate__api__key_derivation__XPrvBytes_get_inner_impl(ptr, rust_vec_len, data_len) - }, - 8 => wire__crate__api__key_derivation__XPrvBytes_new_impl(ptr, rust_vec_len, data_len), - 12 => wire__crate__api__key_derivation__XPubBytes_get_chain_code_impl( - ptr, - rust_vec_len, - data_len, - ), - 13 => { - wire__crate__api__key_derivation__XPubBytes_get_inner_impl(ptr, rust_vec_len, data_len) - }, - 14 => wire__crate__api__key_derivation__XPubBytes_get_public_key_impl( - ptr, - rust_vec_len, - data_len, - ), - 15 => wire__crate__api__key_derivation__XPubBytes_new_impl(ptr, rust_vec_len, data_len), - _ => unreachable!(), - } -} - -// Section: rust2dart - -// Codec=Dco (DartCObject based), see doc to use other codecs -impl flutter_rust_bridge::IntoDart for FrbWrapper { - fn into_dart(self) -> flutter_rust_bridge::for_generated::DartAbi { - flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self.0) - .into_dart() - } -} -impl flutter_rust_bridge::for_generated::IntoDartExceptPrimitive for FrbWrapper {} - -impl flutter_rust_bridge::IntoIntoDart> for SignatureBytes { - fn into_into_dart(self) -> FrbWrapper { - self.into() - } -} - -// Codec=Dco (DartCObject based), see doc to use other codecs -impl flutter_rust_bridge::IntoDart for FrbWrapper { - fn into_dart(self) -> flutter_rust_bridge::for_generated::DartAbi { - flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self.0) - .into_dart() - } -} -impl flutter_rust_bridge::for_generated::IntoDartExceptPrimitive for FrbWrapper {} - -impl flutter_rust_bridge::IntoIntoDart> for XPrvBytes { - fn into_into_dart(self) -> FrbWrapper { - self.into() - } -} - -// Codec=Dco (DartCObject based), see doc to use other codecs -impl flutter_rust_bridge::IntoDart for FrbWrapper { - fn into_dart(self) -> flutter_rust_bridge::for_generated::DartAbi { - flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self.0) - .into_dart() - } -} -impl flutter_rust_bridge::for_generated::IntoDartExceptPrimitive for FrbWrapper {} - -impl flutter_rust_bridge::IntoIntoDart> for XPubBytes { - fn into_into_dart(self) -> FrbWrapper { - self.into() - } -} - -impl SseEncode for flutter_rust_bridge::for_generated::anyhow::Error { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - ::sse_encode(format!("{:?}", self), serializer); - } -} - -impl SseEncode for SignatureBytes { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - >>::sse_encode(flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self), serializer); - } -} - -impl SseEncode for XPrvBytes { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - >>::sse_encode(flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self), serializer); - } -} - -impl SseEncode for XPubBytes { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - >>::sse_encode(flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self), serializer); - } -} - -impl SseEncode - for RustOpaqueMoi> -{ - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - let (ptr, size) = self.sse_encode_raw(); - ::sse_encode(ptr, serializer); - ::sse_encode(size, serializer); - } -} - -impl SseEncode - for RustOpaqueMoi> -{ - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - let (ptr, size) = self.sse_encode_raw(); - ::sse_encode(ptr, serializer); - ::sse_encode(size, serializer); - } -} - -impl SseEncode - for RustOpaqueMoi> -{ - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - let (ptr, size) = self.sse_encode_raw(); - ::sse_encode(ptr, serializer); - ::sse_encode(size, serializer); - } -} - -impl SseEncode for String { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - >::sse_encode(self.into_bytes(), serializer); - } -} - -impl SseEncode for bool { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - serializer.cursor.write_u8(self as _).unwrap(); - } -} - -impl SseEncode for Vec { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - ::sse_encode(self.len() as _, serializer); - for item in self { - ::sse_encode(item, serializer); - } - } -} - -impl SseEncode for Option { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - ::sse_encode(self.is_some(), serializer); - if let Some(value) = self { - ::sse_encode(value, serializer); - } - } -} - -impl SseEncode for u8 { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - serializer.cursor.write_u8(self).unwrap(); - } -} - -impl SseEncode for [u8; 32] { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - >::sse_encode( - { - let boxed: Box<[_]> = Box::new(self); - boxed.into_vec() - }, - serializer, - ); - } -} - -impl SseEncode for [u8; 64] { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - >::sse_encode( - { - let boxed: Box<[_]> = Box::new(self); - boxed.into_vec() - }, - serializer, - ); - } -} - -impl SseEncode for [u8; 96] { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - >::sse_encode( - { - let boxed: Box<[_]> = Box::new(self); - boxed.into_vec() - }, - serializer, - ); - } -} - -impl SseEncode for () { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) {} -} - -impl SseEncode for usize { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - serializer - .cursor - .write_u64::(self as _) - .unwrap(); - } -} - -impl SseEncode for i32 { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - serializer.cursor.write_i32::(self).unwrap(); - } -} - -#[cfg(not(target_family = "wasm"))] -mod io { - // This file is automatically generated, so please do not edit it. - // @generated by `flutter_rust_bridge`@ 2.5.1. - - // Section: imports - - use super::*; - use crate::api::key_derivation::*; - use flutter_rust_bridge::for_generated::byteorder::{ - NativeEndian, ReadBytesExt, WriteBytesExt, - }; - use flutter_rust_bridge::for_generated::{transform_result_dco, Lifetimeable, Lockable}; - use flutter_rust_bridge::{Handler, IntoIntoDart}; - - // Section: boilerplate - - flutter_rust_bridge::frb_generated_boilerplate_io!(); - - #[no_mangle] - pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::increment_strong_count(ptr as _); - } - - #[no_mangle] - pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::decrement_strong_count(ptr as _); - } - - #[no_mangle] - pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::increment_strong_count(ptr as _); - } - - #[no_mangle] - pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::decrement_strong_count(ptr as _); - } - - #[no_mangle] - pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::increment_strong_count(ptr as _); - } - - #[no_mangle] - pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::decrement_strong_count(ptr as _); - } -} -#[cfg(not(target_family = "wasm"))] -pub use io::*; - -/// cbindgen:ignore -#[cfg(target_family = "wasm")] -mod web { - // This file is automatically generated, so please do not edit it. - // @generated by `flutter_rust_bridge`@ 2.5.1. - - // Section: imports - - use super::*; - use crate::api::key_derivation::*; - use flutter_rust_bridge::for_generated::byteorder::{ - NativeEndian, ReadBytesExt, WriteBytesExt, - }; - use flutter_rust_bridge::for_generated::wasm_bindgen; - use flutter_rust_bridge::for_generated::wasm_bindgen::prelude::*; - use flutter_rust_bridge::for_generated::{transform_result_dco, Lifetimeable, Lockable}; - use flutter_rust_bridge::{Handler, IntoIntoDart}; - - // Section: boilerplate - - flutter_rust_bridge::frb_generated_boilerplate_web!(); - - #[wasm_bindgen] - pub fn rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::increment_strong_count(ptr as _); - } - - #[wasm_bindgen] - pub fn rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::decrement_strong_count(ptr as _); - } - - #[wasm_bindgen] - pub fn rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::increment_strong_count(ptr as _); - } - - #[wasm_bindgen] - pub fn rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::decrement_strong_count(ptr as _); - } - - #[wasm_bindgen] - pub fn rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::increment_strong_count(ptr as _); - } - - #[wasm_bindgen] - pub fn rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::decrement_strong_count(ptr as _); - } -} -#[cfg(target_family = "wasm")] -pub use web::*; From 947d63ca6f4d4f361e6c122e418ded6e4801d068 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Fri, 1 Nov 2024 15:50:29 +0700 Subject: [PATCH 49/89] fix: add justfile, fix readme, and remove run.sh Signed-off-by: bkioshn --- .../catalyst_key_derivation/Justfile | 21 ++++++++++++++ .../catalyst_key_derivation/README.md | 28 +++++++++++-------- .../catalyst_key_derivation/run.sh | 8 ------ 3 files changed, 38 insertions(+), 19 deletions(-) create mode 100644 catalyst_voices_packages/catalyst_key_derivation/Justfile delete mode 100755 catalyst_voices_packages/catalyst_key_derivation/run.sh diff --git a/catalyst_voices_packages/catalyst_key_derivation/Justfile b/catalyst_voices_packages/catalyst_key_derivation/Justfile new file mode 100644 index 0000000000..85013c8ac6 --- /dev/null +++ b/catalyst_voices_packages/catalyst_key_derivation/Justfile @@ -0,0 +1,21 @@ +# use with https://github.com/casey/just +# +# Catalyst Key Derivation developers' convenience functions. + +# Install `flutter_rust_bridge` +# Use incase `flutter_rust_bridge` is not installed yet. +install-flutter-rust-bridge: + cargo install flutter_rust_bridge_codegen + +# Generated necessary files for running Flutter web locally. +code-gen-web: + # Generate auto generated files + flutter_rust_bridge_codegen generate + flutter_rust_bridge_codegen build-web + # Copy a necessary files for running web + cp -rf ./web/pkg ./example/web/ + +# Run local Flutter web. +run-web: code-gen-web + cd example + flutter run --web-header=Cross-Origin-Opener-Policy=same-origin --web-header=Cross-Origin-Embedder-Policy=require-corp -d chrome diff --git a/catalyst_voices_packages/catalyst_key_derivation/README.md b/catalyst_voices_packages/catalyst_key_derivation/README.md index 0d27bf10d4..4276ab8ac9 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/README.md +++ b/catalyst_voices_packages/catalyst_key_derivation/README.md @@ -1,17 +1,24 @@ # Content -* [Content](#content) - * [Features](#features) - * [Requirements](#requirements) - * [Install](#install) - * [How to run](#how-to-run) - * [Example](#example) - * [Support](#support) - * [License](#license) +- [Content](#content) + - [Features](#features) + - [References](#references) + - [Requirements](#requirements) + - [Install](#install) + - [How to run](#how-to-run) + - [Example](#example) + - [Support](#support) + - [License](#license) ## Features -This package exposes a CIP-1852 Cardano HD Key Derivation. +This package expose BIP32-Ed25519 and CIP-1852 Cardano HD Key Derivation. + +## References +[BIP32-Ed25519](https://input-output-hk.github.io/adrestia/static/Ed25519_BIP.pdf) +[SLIP-0023](https://github.com/satoshilabs/slips/blob/master/slip-0023.md) +[CIP-1852](https://cips.cardano.org/cip/CIP-1852) +[BIP-0032](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki) ## Requirements @@ -27,8 +34,7 @@ dependencies: ## How to run -1. cd catalyst_key_derivation -2. ./run.sh +1. just run-web ## Example diff --git a/catalyst_voices_packages/catalyst_key_derivation/run.sh b/catalyst_voices_packages/catalyst_key_derivation/run.sh deleted file mode 100755 index dec8541cab..0000000000 --- a/catalyst_voices_packages/catalyst_key_derivation/run.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -# Builds and rust the example for the catalyst_key_derivation. - -flutter_rust_bridge_codegen generate -flutter_rust_bridge_codegen build-web -cp -rf ./web/pkg ./example/web/ -cd example -flutter run --web-header=Cross-Origin-Opener-Policy=same-origin --web-header=Cross-Origin-Embedder-Policy=require-corp -d chrome \ No newline at end of file From d5f7706a50806c14cc4682fb4730675dd4415f0d Mon Sep 17 00:00:00 2001 From: bkioshn Date: Fri, 1 Nov 2024 15:54:38 +0700 Subject: [PATCH 50/89] fix: markdown Signed-off-by: bkioshn --- .../catalyst_key_derivation/README.md | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/catalyst_voices_packages/catalyst_key_derivation/README.md b/catalyst_voices_packages/catalyst_key_derivation/README.md index 4276ab8ac9..b6bd69fdac 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/README.md +++ b/catalyst_voices_packages/catalyst_key_derivation/README.md @@ -1,24 +1,25 @@ # Content -- [Content](#content) - - [Features](#features) - - [References](#references) - - [Requirements](#requirements) - - [Install](#install) - - [How to run](#how-to-run) - - [Example](#example) - - [Support](#support) - - [License](#license) +* [Content](#content) + * [Features](#features) + * [References](#references) + * [Requirements](#requirements) + * [Install](#install) + * [How to run](#how-to-run) + * [Example](#example) + * [Support](#support) + * [License](#license) ## Features This package expose BIP32-Ed25519 and CIP-1852 Cardano HD Key Derivation. ## References -[BIP32-Ed25519](https://input-output-hk.github.io/adrestia/static/Ed25519_BIP.pdf) -[SLIP-0023](https://github.com/satoshilabs/slips/blob/master/slip-0023.md) -[CIP-1852](https://cips.cardano.org/cip/CIP-1852) -[BIP-0032](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki) + +* [BIP32-Ed25519](https://input-output-hk.github.io/adrestia/static/Ed25519_BIP.pdf) +* [SLIP-0023](https://github.com/satoshilabs/slips/blob/master/slip-0023.md) +* [CIP-1852](https://cips.cardano.org/cip/CIP-1852) +* [BIP-0032](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki) ## Requirements From 15770e2b4e92dcbfde8792a2550b41d666f7b811 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Fri, 1 Nov 2024 16:01:56 +0700 Subject: [PATCH 51/89] fix: update git ignore Signed-off-by: bkioshn --- .../catalyst_key_derivation/.gitignore | 7 +- .../lib/src/rust/api/key_derivation.dart | 217 +++ .../lib/src/rust/frb_generated.dart | 1372 +++++++++++++++++ .../lib/src/rust/frb_generated.io.dart | 407 +++++ .../lib/src/rust/frb_generated.web.dart | 371 +++++ 5 files changed, 2369 insertions(+), 5 deletions(-) create mode 100644 catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart create mode 100644 catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart create mode 100644 catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart create mode 100644 catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart diff --git a/catalyst_voices_packages/catalyst_key_derivation/.gitignore b/catalyst_voices_packages/catalyst_key_derivation/.gitignore index 0f7796f4a1..105973cfae 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/.gitignore +++ b/catalyst_voices_packages/catalyst_key_derivation/.gitignore @@ -29,8 +29,5 @@ migrate_working_dir/ build/ /web/pkg -# Ignore all auto generated file -lib/src/rust/** -lib/src/rust/src/frb_generated.rs -# Allow catalyst_key_derivation.dart -!lib/src/rust/catalyst_key_derivation.dart \ No newline at end of file +# Ignore all auto generated file for rust +rust/src/frb_generated.rs \ No newline at end of file diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart new file mode 100644 index 0000000000..c255eda3f7 --- /dev/null +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart @@ -0,0 +1,217 @@ +// This file is automatically generated, so please do not edit it. +// @generated by `flutter_rust_bridge`@ 2.5.1. + +// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import + +import '../frb_generated.dart'; +import 'package:collection/collection.dart'; +import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; + +// These functions are ignored because they are not marked as `pub`: `derive_xprv_helper`, `mnemonic_to_xprv_helper`, `sign_data_helper`, `verify_signature_xprv_helper`, `verify_signature_xpub_helper`, `xpublic_key_helper` +// These function are ignored because they are on traits that is not defined in current crate (put an empty `#[frb]` on it to unignore): `assert_receiver_is_total_eq`, `assert_receiver_is_total_eq`, `assert_receiver_is_total_eq`, `clone`, `clone`, `clone`, `eq`, `eq`, `eq`, `fmt`, `fmt`, `fmt`, `from`, `from` + +/// Generate a new extended private key (`XPrv`) from a mnemonic and passphrase. +/// Note that this function only works with BIP-0039 mnemonics. +/// For more information: Cardano Icarus master node derivation +/// +/// +/// # Arguments +/// +/// - `mnemonic`: A string representing the mnemonic. +/// - `passphrase`: An optional string representing the passphrase (aka. password). +/// +/// # Returns +/// +/// Returns a bytes of extended private key as a `Result`. +/// +/// # Errors +/// +/// Returns an error if the mnemonic is invalid. +Future mnemonicToXprv( + {required String mnemonic, String? passphrase}) => + RustLib.instance.api.crateApiKeyDerivationMnemonicToXprv( + mnemonic: mnemonic, passphrase: passphrase); + +// Rust type: RustOpaqueMoi> +abstract class SignatureBytes implements RustOpaqueInterface { + /// Get the inner bytes. + U8Array64 get inner; + + /// Create a new `SignatureBytes` from the given bytes. + factory SignatureBytes({required U8Array64 sigBytes}) => RustLib.instance.api + .crateApiKeyDerivationSignatureBytesNew(sigBytes: sigBytes); +} + +// Rust type: RustOpaqueMoi> +abstract class XPrvBytes implements RustOpaqueInterface { + /// Derive a new extended private key from the given extended private key. + /// - V2 derivation scheme is used as it is mention in [SLIP-0023](https://github.com/satoshilabs/slips/blob/master/slip-0023.md). + /// - More information about child key derivation can be found in [BIP32-Ed25519](https://input-output-hk.github.io/adrestia/static/Ed25519_BIP.pdf). + /// + /// # Arguments + /// + /// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. + /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. + /// + /// # Returns + /// + /// Returns a bytes of extended private key as a `Result`. + /// + /// # Errors + /// + /// Returns an error if the derivation path is invalid. + Future deriveXprv({required String path}); + + /// Drop the extended private key. + void drop(); + + /// Extract the chain code from the extended private key. + /// The chain code is the last 32 bytes of the extended private key. + /// + /// # Returns + /// + /// Returns a 32 length bytes representing the chain code. + U8Array32 get chainCode; + + /// Extract the extended secret key from the extended private key. + /// The extended secret key is the first 64 bytes of the extended private key. + /// + /// # Returns + /// + /// Returns a 64 length bytes representing the extended secret key. + U8Array64 get extendedSecretKey; + + /// Get the inner bytes. + U8Array96 get inner; + + /// Create a new `XPrvBytes` from the given bytes. + factory XPrvBytes({required U8Array96 xprvBytes}) => RustLib.instance.api + .crateApiKeyDerivationXPrvBytesNew(xprvBytes: xprvBytes); + + /// Sign the given data with the given extended private key. + /// + /// # Arguments + /// + /// - `data`: The data to sign. + /// + /// # Returns + /// Returns a 64 length bytes `SignatureBytes` representing the signature. + /// + /// # Errors + /// + /// Returns an error if the extended private key is invalid. + Future signData({required List data}); + + /// Verify the signature on the given data using extended private key. + /// + /// # Arguments + /// + /// - `data`: The data to sign. + /// - `signature`: The signature to check. + /// + /// # Returns + /// Returns a boolean value indicating if the signature match the sign data + /// True if the signature is valid and match the sign data, false otherwise. + /// + /// # Errors + /// + /// Returns an error if the extended private key or signature is invalid. + Future verifySignature( + {required List data, required SignatureBytes signature}); + + /// Get extended public key from the given extended private key. + /// + /// # Returns + /// + /// Returns a 64 length bytes `XPubBytes` representing the extended public key. + /// + /// # Errors + /// + /// Returns an error if the extended private key is invalid. + Future xpublicKey(); +} + +// Rust type: RustOpaqueMoi> +abstract class XPubBytes implements RustOpaqueInterface { + /// Extract the chain code from the extended public key. + /// The chain code is the last 32 bytes of the extended public key. + /// + /// # Returns + /// + /// Returns a 32 length bytes representing the chain code. + U8Array32 get chainCode; + + /// Get the inner bytes. + U8Array64 get inner; + + /// Extract the public key from the extended public key. + /// The public key is the first 32 bytes of the extended public key. + /// + /// # Returns + /// + /// Returns a 32 length bytes representing the public key. + U8Array32 get publicKey; + + /// Create a new `XPubBytes` from the given bytes. + factory XPubBytes({required U8Array64 xpubBytes}) => RustLib.instance.api + .crateApiKeyDerivationXPubBytesNew(xpubBytes: xpubBytes); + + /// Verify the signature on the given data using extended public key. + /// + /// # Arguments + /// + /// - `data`: The data to sign. + /// - `signature`: The signature to check. + /// + /// # Returns + /// Returns a boolean value indicating if the signature match the sign data + /// True if the signature is valid and match the sign data, false otherwise. + /// + /// # Errors + /// + /// Returns an error if the extended public key or signature is invalid. + Future verifySignature( + {required List data, required SignatureBytes signature}); +} + +class U8Array32 extends NonGrowableListView { + static const arraySize = 32; + + @internal + Uint8List get inner => _inner; + final Uint8List _inner; + + U8Array32(this._inner) + : assert(_inner.length == arraySize), + super(_inner); + + U8Array32.init() : this(Uint8List(arraySize)); +} + +class U8Array64 extends NonGrowableListView { + static const arraySize = 64; + + @internal + Uint8List get inner => _inner; + final Uint8List _inner; + + U8Array64(this._inner) + : assert(_inner.length == arraySize), + super(_inner); + + U8Array64.init() : this(Uint8List(arraySize)); +} + +class U8Array96 extends NonGrowableListView { + static const arraySize = 96; + + @internal + Uint8List get inner => _inner; + final Uint8List _inner; + + U8Array96(this._inner) + : assert(_inner.length == arraySize), + super(_inner); + + U8Array96.init() : this(Uint8List(arraySize)); +} diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart new file mode 100644 index 0000000000..b36bfb113c --- /dev/null +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.dart @@ -0,0 +1,1372 @@ +// This file is automatically generated, so please do not edit it. +// @generated by `flutter_rust_bridge`@ 2.5.1. + +// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field + +import 'api/key_derivation.dart'; +import 'dart:async'; +import 'dart:convert'; +import 'frb_generated.dart'; +import 'frb_generated.io.dart' + if (dart.library.js_interop) 'frb_generated.web.dart'; +import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; + +/// Main entrypoint of the Rust API +class RustLib extends BaseEntrypoint { + @internal + static final instance = RustLib._(); + + RustLib._(); + + /// Initialize flutter_rust_bridge + static Future init({ + RustLibApi? api, + BaseHandler? handler, + ExternalLibrary? externalLibrary, + }) async { + await instance.initImpl( + api: api, + handler: handler, + externalLibrary: externalLibrary, + ); + } + + /// Initialize flutter_rust_bridge in mock mode. + /// No libraries for FFI are loaded. + static void initMock({ + required RustLibApi api, + }) { + instance.initMockImpl( + api: api, + ); + } + + /// Dispose flutter_rust_bridge + /// + /// The call to this function is optional, since flutter_rust_bridge (and everything else) + /// is automatically disposed when the app stops. + static void dispose() => instance.disposeImpl(); + + @override + ApiImplConstructor get apiImplConstructor => + RustLibApiImpl.new; + + @override + WireConstructor get wireConstructor => + RustLibWire.fromExternalLibrary; + + @override + Future executeRustInitializers() async {} + + @override + ExternalLibraryLoaderConfig get defaultExternalLibraryLoaderConfig => + kDefaultExternalLibraryLoaderConfig; + + @override + String get codegenVersion => '2.5.1'; + + @override + int get rustContentHash => -609775494; + + static const kDefaultExternalLibraryLoaderConfig = + ExternalLibraryLoaderConfig( + stem: 'catalyst_key_derivation', + ioDirectory: 'rust/target/release/', + webPrefix: 'pkg/', + ); +} + +abstract class RustLibApi extends BaseApi { + U8Array64 crateApiKeyDerivationSignatureBytesGetInner( + {required SignatureBytes that}); + + SignatureBytes crateApiKeyDerivationSignatureBytesNew( + {required U8Array64 sigBytes}); + + Future crateApiKeyDerivationXPrvBytesDeriveXprv( + {required XPrvBytes that, required String path}); + + void crateApiKeyDerivationXPrvBytesDrop({required XPrvBytes that}); + + U8Array32 crateApiKeyDerivationXPrvBytesGetChainCode( + {required XPrvBytes that}); + + U8Array64 crateApiKeyDerivationXPrvBytesGetExtendedSecretKey( + {required XPrvBytes that}); + + U8Array96 crateApiKeyDerivationXPrvBytesGetInner({required XPrvBytes that}); + + XPrvBytes crateApiKeyDerivationXPrvBytesNew({required U8Array96 xprvBytes}); + + Future crateApiKeyDerivationXPrvBytesSignData( + {required XPrvBytes that, required List data}); + + Future crateApiKeyDerivationXPrvBytesVerifySignature( + {required XPrvBytes that, + required List data, + required SignatureBytes signature}); + + Future crateApiKeyDerivationXPrvBytesXpublicKey( + {required XPrvBytes that}); + + U8Array32 crateApiKeyDerivationXPubBytesGetChainCode( + {required XPubBytes that}); + + U8Array64 crateApiKeyDerivationXPubBytesGetInner({required XPubBytes that}); + + U8Array32 crateApiKeyDerivationXPubBytesGetPublicKey( + {required XPubBytes that}); + + XPubBytes crateApiKeyDerivationXPubBytesNew({required U8Array64 xpubBytes}); + + Future crateApiKeyDerivationXPubBytesVerifySignature( + {required XPubBytes that, + required List data, + required SignatureBytes signature}); + + Future crateApiKeyDerivationMnemonicToXprv( + {required String mnemonic, String? passphrase}); + + RustArcIncrementStrongCountFnType + get rust_arc_increment_strong_count_SignatureBytes; + + RustArcDecrementStrongCountFnType + get rust_arc_decrement_strong_count_SignatureBytes; + + CrossPlatformFinalizerArg + get rust_arc_decrement_strong_count_SignatureBytesPtr; + + RustArcIncrementStrongCountFnType + get rust_arc_increment_strong_count_XPrvBytes; + + RustArcDecrementStrongCountFnType + get rust_arc_decrement_strong_count_XPrvBytes; + + CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPrvBytesPtr; + + RustArcIncrementStrongCountFnType + get rust_arc_increment_strong_count_XPubBytes; + + RustArcDecrementStrongCountFnType + get rust_arc_decrement_strong_count_XPubBytes; + + CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPubBytesPtr; +} + +class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { + RustLibApiImpl({ + required super.handler, + required super.wire, + required super.generalizedFrbRustBinding, + required super.portManager, + }); + + @override + U8Array64 crateApiKeyDerivationSignatureBytesGetInner( + {required SignatureBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 1)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_64, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationSignatureBytesGetInnerConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationSignatureBytesGetInnerConstMeta => + const TaskConstMeta( + debugName: "SignatureBytes_get_inner", + argNames: ["that"], + ); + + @override + SignatureBytes crateApiKeyDerivationSignatureBytesNew( + {required U8Array64 sigBytes}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_u_8_array_64(sigBytes, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 2)!; + }, + codec: SseCodec( + decodeSuccessData: + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationSignatureBytesNewConstMeta, + argValues: [sigBytes], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationSignatureBytesNewConstMeta => + const TaskConstMeta( + debugName: "SignatureBytes_new", + argNames: ["sigBytes"], + ); + + @override + Future crateApiKeyDerivationXPrvBytesDeriveXprv( + {required XPrvBytes that, required String path}) { + return handler.executeNormal(NormalTask( + callFfi: (port_) { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); + sse_encode_String(path, serializer); + pdeCallFfi(generalizedFrbRustBinding, serializer, + funcId: 3, port: port_); + }, + codec: SseCodec( + decodeSuccessData: + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes, + decodeErrorData: sse_decode_AnyhowException, + ), + constMeta: kCrateApiKeyDerivationXPrvBytesDeriveXprvConstMeta, + argValues: [that, path], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesDeriveXprvConstMeta => + const TaskConstMeta( + debugName: "XPrvBytes_derive_xprv", + argNames: ["that", "path"], + ); + + @override + void crateApiKeyDerivationXPrvBytesDrop({required XPrvBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 4)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_unit, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPrvBytesDropConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesDropConstMeta => + const TaskConstMeta( + debugName: "XPrvBytes_drop", + argNames: ["that"], + ); + + @override + U8Array32 crateApiKeyDerivationXPrvBytesGetChainCode( + {required XPrvBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 5)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_32, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPrvBytesGetChainCodeConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesGetChainCodeConstMeta => + const TaskConstMeta( + debugName: "XPrvBytes_get_chain_code", + argNames: ["that"], + ); + + @override + U8Array64 crateApiKeyDerivationXPrvBytesGetExtendedSecretKey( + {required XPrvBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 6)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_64, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPrvBytesGetExtendedSecretKeyConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta + get kCrateApiKeyDerivationXPrvBytesGetExtendedSecretKeyConstMeta => + const TaskConstMeta( + debugName: "XPrvBytes_get_extended_secret_key", + argNames: ["that"], + ); + + @override + U8Array96 crateApiKeyDerivationXPrvBytesGetInner({required XPrvBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 7)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_96, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPrvBytesGetInnerConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesGetInnerConstMeta => + const TaskConstMeta( + debugName: "XPrvBytes_get_inner", + argNames: ["that"], + ); + + @override + XPrvBytes crateApiKeyDerivationXPrvBytesNew({required U8Array96 xprvBytes}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_u_8_array_96(xprvBytes, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 8)!; + }, + codec: SseCodec( + decodeSuccessData: + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPrvBytesNewConstMeta, + argValues: [xprvBytes], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesNewConstMeta => + const TaskConstMeta( + debugName: "XPrvBytes_new", + argNames: ["xprvBytes"], + ); + + @override + Future crateApiKeyDerivationXPrvBytesSignData( + {required XPrvBytes that, required List data}) { + return handler.executeNormal(NormalTask( + callFfi: (port_) { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); + sse_encode_list_prim_u_8_loose(data, serializer); + pdeCallFfi(generalizedFrbRustBinding, serializer, + funcId: 9, port: port_); + }, + codec: SseCodec( + decodeSuccessData: + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes, + decodeErrorData: sse_decode_AnyhowException, + ), + constMeta: kCrateApiKeyDerivationXPrvBytesSignDataConstMeta, + argValues: [that, data], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesSignDataConstMeta => + const TaskConstMeta( + debugName: "XPrvBytes_sign_data", + argNames: ["that", "data"], + ); + + @override + Future crateApiKeyDerivationXPrvBytesVerifySignature( + {required XPrvBytes that, + required List data, + required SignatureBytes signature}) { + return handler.executeNormal(NormalTask( + callFfi: (port_) { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); + sse_encode_list_prim_u_8_loose(data, serializer); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + signature, serializer); + pdeCallFfi(generalizedFrbRustBinding, serializer, + funcId: 10, port: port_); + }, + codec: SseCodec( + decodeSuccessData: sse_decode_bool, + decodeErrorData: sse_decode_AnyhowException, + ), + constMeta: kCrateApiKeyDerivationXPrvBytesVerifySignatureConstMeta, + argValues: [that, data, signature], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesVerifySignatureConstMeta => + const TaskConstMeta( + debugName: "XPrvBytes_verify_signature", + argNames: ["that", "data", "signature"], + ); + + @override + Future crateApiKeyDerivationXPrvBytesXpublicKey( + {required XPrvBytes that}) { + return handler.executeNormal(NormalTask( + callFfi: (port_) { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + that, serializer); + pdeCallFfi(generalizedFrbRustBinding, serializer, + funcId: 11, port: port_); + }, + codec: SseCodec( + decodeSuccessData: + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes, + decodeErrorData: sse_decode_AnyhowException, + ), + constMeta: kCrateApiKeyDerivationXPrvBytesXpublicKeyConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPrvBytesXpublicKeyConstMeta => + const TaskConstMeta( + debugName: "XPrvBytes_xpublic_key", + argNames: ["that"], + ); + + @override + U8Array32 crateApiKeyDerivationXPubBytesGetChainCode( + {required XPubBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 12)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_32, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPubBytesGetChainCodeConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPubBytesGetChainCodeConstMeta => + const TaskConstMeta( + debugName: "XPubBytes_get_chain_code", + argNames: ["that"], + ); + + @override + U8Array64 crateApiKeyDerivationXPubBytesGetInner({required XPubBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 13)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_64, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPubBytesGetInnerConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPubBytesGetInnerConstMeta => + const TaskConstMeta( + debugName: "XPubBytes_get_inner", + argNames: ["that"], + ); + + @override + U8Array32 crateApiKeyDerivationXPubBytesGetPublicKey( + {required XPubBytes that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 14)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_u_8_array_32, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPubBytesGetPublicKeyConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPubBytesGetPublicKeyConstMeta => + const TaskConstMeta( + debugName: "XPubBytes_get_public_key", + argNames: ["that"], + ); + + @override + XPubBytes crateApiKeyDerivationXPubBytesNew({required U8Array64 xpubBytes}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_u_8_array_64(xpubBytes, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 15)!; + }, + codec: SseCodec( + decodeSuccessData: + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationXPubBytesNewConstMeta, + argValues: [xpubBytes], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPubBytesNewConstMeta => + const TaskConstMeta( + debugName: "XPubBytes_new", + argNames: ["xpubBytes"], + ); + + @override + Future crateApiKeyDerivationXPubBytesVerifySignature( + {required XPubBytes that, + required List data, + required SignatureBytes signature}) { + return handler.executeNormal(NormalTask( + callFfi: (port_) { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + that, serializer); + sse_encode_list_prim_u_8_loose(data, serializer); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + signature, serializer); + pdeCallFfi(generalizedFrbRustBinding, serializer, + funcId: 16, port: port_); + }, + codec: SseCodec( + decodeSuccessData: sse_decode_bool, + decodeErrorData: sse_decode_AnyhowException, + ), + constMeta: kCrateApiKeyDerivationXPubBytesVerifySignatureConstMeta, + argValues: [that, data, signature], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationXPubBytesVerifySignatureConstMeta => + const TaskConstMeta( + debugName: "XPubBytes_verify_signature", + argNames: ["that", "data", "signature"], + ); + + @override + Future crateApiKeyDerivationMnemonicToXprv( + {required String mnemonic, String? passphrase}) { + return handler.executeNormal(NormalTask( + callFfi: (port_) { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_String(mnemonic, serializer); + sse_encode_opt_String(passphrase, serializer); + pdeCallFfi(generalizedFrbRustBinding, serializer, + funcId: 17, port: port_); + }, + codec: SseCodec( + decodeSuccessData: + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes, + decodeErrorData: sse_decode_AnyhowException, + ), + constMeta: kCrateApiKeyDerivationMnemonicToXprvConstMeta, + argValues: [mnemonic, passphrase], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationMnemonicToXprvConstMeta => + const TaskConstMeta( + debugName: "mnemonic_to_xprv", + argNames: ["mnemonic", "passphrase"], + ); + + RustArcIncrementStrongCountFnType + get rust_arc_increment_strong_count_SignatureBytes => wire + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes; + + RustArcDecrementStrongCountFnType + get rust_arc_decrement_strong_count_SignatureBytes => wire + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes; + + RustArcIncrementStrongCountFnType + get rust_arc_increment_strong_count_XPrvBytes => wire + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes; + + RustArcDecrementStrongCountFnType + get rust_arc_decrement_strong_count_XPrvBytes => wire + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes; + + RustArcIncrementStrongCountFnType + get rust_arc_increment_strong_count_XPubBytes => wire + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes; + + RustArcDecrementStrongCountFnType + get rust_arc_decrement_strong_count_XPubBytes => wire + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes; + + @protected + AnyhowException dco_decode_AnyhowException(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return AnyhowException(raw as String); + } + + @protected + SignatureBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return SignatureBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + XPrvBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return XPrvBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + XPubBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return XPubBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + XPrvBytes + dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return XPrvBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + SignatureBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return SignatureBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + XPrvBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return XPrvBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + XPubBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return XPubBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + SignatureBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return SignatureBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + XPrvBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return XPrvBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + XPubBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return XPubBytesImpl.frbInternalDcoDecode(raw as List); + } + + @protected + String dco_decode_String(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return raw as String; + } + + @protected + bool dco_decode_bool(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return raw as bool; + } + + @protected + List dco_decode_list_prim_u_8_loose(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return raw as List; + } + + @protected + Uint8List dco_decode_list_prim_u_8_strict(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return raw as Uint8List; + } + + @protected + String? dco_decode_opt_String(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return raw == null ? null : dco_decode_String(raw); + } + + @protected + int dco_decode_u_8(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return raw as int; + } + + @protected + U8Array32 dco_decode_u_8_array_32(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return U8Array32(dco_decode_list_prim_u_8_strict(raw)); + } + + @protected + U8Array64 dco_decode_u_8_array_64(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return U8Array64(dco_decode_list_prim_u_8_strict(raw)); + } + + @protected + U8Array96 dco_decode_u_8_array_96(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return U8Array96(dco_decode_list_prim_u_8_strict(raw)); + } + + @protected + void dco_decode_unit(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return; + } + + @protected + BigInt dco_decode_usize(dynamic raw) { + // Codec=Dco (DartCObject based), see doc to use other codecs + return dcoDecodeU64(raw); + } + + @protected + AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + var inner = sse_decode_String(deserializer); + return AnyhowException(inner); + } + + @protected + SignatureBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return SignatureBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + XPrvBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return XPrvBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + XPubBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return XPubBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + XPrvBytes + sse_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return XPrvBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + SignatureBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return SignatureBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + XPrvBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return XPrvBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + XPubBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return XPubBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + SignatureBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return SignatureBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + XPrvBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return XPrvBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + XPubBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return XPubBytesImpl.frbInternalSseDecode( + sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); + } + + @protected + String sse_decode_String(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + var inner = sse_decode_list_prim_u_8_strict(deserializer); + return utf8.decoder.convert(inner); + } + + @protected + bool sse_decode_bool(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return deserializer.buffer.getUint8() != 0; + } + + @protected + List sse_decode_list_prim_u_8_loose(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + var len_ = sse_decode_i_32(deserializer); + return deserializer.buffer.getUint8List(len_); + } + + @protected + Uint8List sse_decode_list_prim_u_8_strict(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + var len_ = sse_decode_i_32(deserializer); + return deserializer.buffer.getUint8List(len_); + } + + @protected + String? sse_decode_opt_String(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + + if (sse_decode_bool(deserializer)) { + return (sse_decode_String(deserializer)); + } else { + return null; + } + } + + @protected + int sse_decode_u_8(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return deserializer.buffer.getUint8(); + } + + @protected + U8Array32 sse_decode_u_8_array_32(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + var inner = sse_decode_list_prim_u_8_strict(deserializer); + return U8Array32(inner); + } + + @protected + U8Array64 sse_decode_u_8_array_64(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + var inner = sse_decode_list_prim_u_8_strict(deserializer); + return U8Array64(inner); + } + + @protected + U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + var inner = sse_decode_list_prim_u_8_strict(deserializer); + return U8Array96(inner); + } + + @protected + void sse_decode_unit(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + } + + @protected + BigInt sse_decode_usize(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return deserializer.buffer.getBigUint64(); + } + + @protected + int sse_decode_i_32(SseDeserializer deserializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + return deserializer.buffer.getInt32(); + } + + @protected + void sse_encode_AnyhowException( + AnyhowException self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_String(self.message, serializer); + } + + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as SignatureBytesImpl).frbInternalSseEncode(move: true), + serializer); + } + + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as XPrvBytesImpl).frbInternalSseEncode(move: true), serializer); + } + + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as XPubBytesImpl).frbInternalSseEncode(move: true), serializer); + } + + @protected + void + sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as XPrvBytesImpl).frbInternalSseEncode(move: false), serializer); + } + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as SignatureBytesImpl).frbInternalSseEncode(move: false), + serializer); + } + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as XPrvBytesImpl).frbInternalSseEncode(move: false), serializer); + } + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as XPubBytesImpl).frbInternalSseEncode(move: false), serializer); + } + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as SignatureBytesImpl).frbInternalSseEncode(move: null), + serializer); + } + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as XPrvBytesImpl).frbInternalSseEncode(move: null), serializer); + } + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_usize( + (self as XPubBytesImpl).frbInternalSseEncode(move: null), serializer); + } + + @protected + void sse_encode_String(String self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_list_prim_u_8_strict(utf8.encoder.convert(self), serializer); + } + + @protected + void sse_encode_bool(bool self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + serializer.buffer.putUint8(self ? 1 : 0); + } + + @protected + void sse_encode_list_prim_u_8_loose( + List self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_i_32(self.length, serializer); + serializer.buffer + .putUint8List(self is Uint8List ? self : Uint8List.fromList(self)); + } + + @protected + void sse_encode_list_prim_u_8_strict( + Uint8List self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_i_32(self.length, serializer); + serializer.buffer.putUint8List(self); + } + + @protected + void sse_encode_opt_String(String? self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + + sse_encode_bool(self != null, serializer); + if (self != null) { + sse_encode_String(self, serializer); + } + } + + @protected + void sse_encode_u_8(int self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + serializer.buffer.putUint8(self); + } + + @protected + void sse_encode_u_8_array_32(U8Array32 self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_list_prim_u_8_strict(self.inner, serializer); + } + + @protected + void sse_encode_u_8_array_64(U8Array64 self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_list_prim_u_8_strict(self.inner, serializer); + } + + @protected + void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + sse_encode_list_prim_u_8_strict(self.inner, serializer); + } + + @protected + void sse_encode_unit(void self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + } + + @protected + void sse_encode_usize(BigInt self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + serializer.buffer.putBigUint64(self); + } + + @protected + void sse_encode_i_32(int self, SseSerializer serializer) { + // Codec=Sse (Serialization based), see doc to use other codecs + serializer.buffer.putInt32(self); + } +} + +@sealed +class SignatureBytesImpl extends RustOpaque implements SignatureBytes { + // Not to be used by end users + SignatureBytesImpl.frbInternalDcoDecode(List wire) + : super.frbInternalDcoDecode(wire, _kStaticData); + + // Not to be used by end users + SignatureBytesImpl.frbInternalSseDecode(BigInt ptr, int externalSizeOnNative) + : super.frbInternalSseDecode(ptr, externalSizeOnNative, _kStaticData); + + static final _kStaticData = RustArcStaticData( + rustArcIncrementStrongCount: + RustLib.instance.api.rust_arc_increment_strong_count_SignatureBytes, + rustArcDecrementStrongCount: + RustLib.instance.api.rust_arc_decrement_strong_count_SignatureBytes, + rustArcDecrementStrongCountPtr: + RustLib.instance.api.rust_arc_decrement_strong_count_SignatureBytesPtr, + ); + + /// Get the inner bytes. + U8Array64 get inner => + RustLib.instance.api.crateApiKeyDerivationSignatureBytesGetInner( + that: this, + ); +} + +@sealed +class XPrvBytesImpl extends RustOpaque implements XPrvBytes { + // Not to be used by end users + XPrvBytesImpl.frbInternalDcoDecode(List wire) + : super.frbInternalDcoDecode(wire, _kStaticData); + + // Not to be used by end users + XPrvBytesImpl.frbInternalSseDecode(BigInt ptr, int externalSizeOnNative) + : super.frbInternalSseDecode(ptr, externalSizeOnNative, _kStaticData); + + static final _kStaticData = RustArcStaticData( + rustArcIncrementStrongCount: + RustLib.instance.api.rust_arc_increment_strong_count_XPrvBytes, + rustArcDecrementStrongCount: + RustLib.instance.api.rust_arc_decrement_strong_count_XPrvBytes, + rustArcDecrementStrongCountPtr: + RustLib.instance.api.rust_arc_decrement_strong_count_XPrvBytesPtr, + ); + + /// Derive a new extended private key from the given extended private key. + /// - V2 derivation scheme is used as it is mention in [SLIP-0023](https://github.com/satoshilabs/slips/blob/master/slip-0023.md). + /// - More information about child key derivation can be found in [BIP32-Ed25519](https://input-output-hk.github.io/adrestia/static/Ed25519_BIP.pdf). + /// + /// # Arguments + /// + /// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. + /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. + /// + /// # Returns + /// + /// Returns a bytes of extended private key as a `Result`. + /// + /// # Errors + /// + /// Returns an error if the derivation path is invalid. + Future deriveXprv({required String path}) => RustLib.instance.api + .crateApiKeyDerivationXPrvBytesDeriveXprv(that: this, path: path); + + /// Drop the extended private key. + void drop() => RustLib.instance.api.crateApiKeyDerivationXPrvBytesDrop( + that: this, + ); + + /// Extract the chain code from the extended private key. + /// The chain code is the last 32 bytes of the extended private key. + /// + /// # Returns + /// + /// Returns a 32 length bytes representing the chain code. + U8Array32 get chainCode => + RustLib.instance.api.crateApiKeyDerivationXPrvBytesGetChainCode( + that: this, + ); + + /// Extract the extended secret key from the extended private key. + /// The extended secret key is the first 64 bytes of the extended private key. + /// + /// # Returns + /// + /// Returns a 64 length bytes representing the extended secret key. + U8Array64 get extendedSecretKey => + RustLib.instance.api.crateApiKeyDerivationXPrvBytesGetExtendedSecretKey( + that: this, + ); + + /// Get the inner bytes. + U8Array96 get inner => + RustLib.instance.api.crateApiKeyDerivationXPrvBytesGetInner( + that: this, + ); + + /// Sign the given data with the given extended private key. + /// + /// # Arguments + /// + /// - `data`: The data to sign. + /// + /// # Returns + /// Returns a 64 length bytes `SignatureBytes` representing the signature. + /// + /// # Errors + /// + /// Returns an error if the extended private key is invalid. + Future signData({required List data}) => + RustLib.instance.api + .crateApiKeyDerivationXPrvBytesSignData(that: this, data: data); + + /// Verify the signature on the given data using extended private key. + /// + /// # Arguments + /// + /// - `data`: The data to sign. + /// - `signature`: The signature to check. + /// + /// # Returns + /// Returns a boolean value indicating if the signature match the sign data + /// True if the signature is valid and match the sign data, false otherwise. + /// + /// # Errors + /// + /// Returns an error if the extended private key or signature is invalid. + Future verifySignature( + {required List data, required SignatureBytes signature}) => + RustLib.instance.api.crateApiKeyDerivationXPrvBytesVerifySignature( + that: this, data: data, signature: signature); + + /// Get extended public key from the given extended private key. + /// + /// # Returns + /// + /// Returns a 64 length bytes `XPubBytes` representing the extended public key. + /// + /// # Errors + /// + /// Returns an error if the extended private key is invalid. + Future xpublicKey() => + RustLib.instance.api.crateApiKeyDerivationXPrvBytesXpublicKey( + that: this, + ); +} + +@sealed +class XPubBytesImpl extends RustOpaque implements XPubBytes { + // Not to be used by end users + XPubBytesImpl.frbInternalDcoDecode(List wire) + : super.frbInternalDcoDecode(wire, _kStaticData); + + // Not to be used by end users + XPubBytesImpl.frbInternalSseDecode(BigInt ptr, int externalSizeOnNative) + : super.frbInternalSseDecode(ptr, externalSizeOnNative, _kStaticData); + + static final _kStaticData = RustArcStaticData( + rustArcIncrementStrongCount: + RustLib.instance.api.rust_arc_increment_strong_count_XPubBytes, + rustArcDecrementStrongCount: + RustLib.instance.api.rust_arc_decrement_strong_count_XPubBytes, + rustArcDecrementStrongCountPtr: + RustLib.instance.api.rust_arc_decrement_strong_count_XPubBytesPtr, + ); + + /// Extract the chain code from the extended public key. + /// The chain code is the last 32 bytes of the extended public key. + /// + /// # Returns + /// + /// Returns a 32 length bytes representing the chain code. + U8Array32 get chainCode => + RustLib.instance.api.crateApiKeyDerivationXPubBytesGetChainCode( + that: this, + ); + + /// Get the inner bytes. + U8Array64 get inner => + RustLib.instance.api.crateApiKeyDerivationXPubBytesGetInner( + that: this, + ); + + /// Extract the public key from the extended public key. + /// The public key is the first 32 bytes of the extended public key. + /// + /// # Returns + /// + /// Returns a 32 length bytes representing the public key. + U8Array32 get publicKey => + RustLib.instance.api.crateApiKeyDerivationXPubBytesGetPublicKey( + that: this, + ); + + /// Verify the signature on the given data using extended public key. + /// + /// # Arguments + /// + /// - `data`: The data to sign. + /// - `signature`: The signature to check. + /// + /// # Returns + /// Returns a boolean value indicating if the signature match the sign data + /// True if the signature is valid and match the sign data, false otherwise. + /// + /// # Errors + /// + /// Returns an error if the extended public key or signature is invalid. + Future verifySignature( + {required List data, required SignatureBytes signature}) => + RustLib.instance.api.crateApiKeyDerivationXPubBytesVerifySignature( + that: this, data: data, signature: signature); +} diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart new file mode 100644 index 0000000000..5d47e4e4ac --- /dev/null +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart @@ -0,0 +1,407 @@ +// This file is automatically generated, so please do not edit it. +// @generated by `flutter_rust_bridge`@ 2.5.1. + +// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field + +import 'api/key_derivation.dart'; +import 'dart:async'; +import 'dart:convert'; +import 'dart:ffi' as ffi; +import 'frb_generated.dart'; +import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated_io.dart'; + +abstract class RustLibApiImplPlatform extends BaseApiImpl { + RustLibApiImplPlatform({ + required super.handler, + required super.wire, + required super.generalizedFrbRustBinding, + required super.portManager, + }); + + CrossPlatformFinalizerArg + get rust_arc_decrement_strong_count_SignatureBytesPtr => wire + ._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr; + + CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPrvBytesPtr => + wire._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr; + + CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPubBytesPtr => + wire._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr; + + @protected + AnyhowException dco_decode_AnyhowException(dynamic raw); + + @protected + SignatureBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + XPubBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + SignatureBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + XPubBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw); + + @protected + SignatureBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + XPubBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw); + + @protected + String dco_decode_String(dynamic raw); + + @protected + bool dco_decode_bool(dynamic raw); + + @protected + List dco_decode_list_prim_u_8_loose(dynamic raw); + + @protected + Uint8List dco_decode_list_prim_u_8_strict(dynamic raw); + + @protected + String? dco_decode_opt_String(dynamic raw); + + @protected + int dco_decode_u_8(dynamic raw); + + @protected + U8Array32 dco_decode_u_8_array_32(dynamic raw); + + @protected + U8Array64 dco_decode_u_8_array_64(dynamic raw); + + @protected + U8Array96 dco_decode_u_8_array_96(dynamic raw); + + @protected + void dco_decode_unit(dynamic raw); + + @protected + BigInt dco_decode_usize(dynamic raw); + + @protected + AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer); + + @protected + SignatureBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + XPubBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + SignatureBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + XPubBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer); + + @protected + SignatureBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + XPubBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer); + + @protected + String sse_decode_String(SseDeserializer deserializer); + + @protected + bool sse_decode_bool(SseDeserializer deserializer); + + @protected + List sse_decode_list_prim_u_8_loose(SseDeserializer deserializer); + + @protected + Uint8List sse_decode_list_prim_u_8_strict(SseDeserializer deserializer); + + @protected + String? sse_decode_opt_String(SseDeserializer deserializer); + + @protected + int sse_decode_u_8(SseDeserializer deserializer); + + @protected + U8Array32 sse_decode_u_8_array_32(SseDeserializer deserializer); + + @protected + U8Array64 sse_decode_u_8_array_64(SseDeserializer deserializer); + + @protected + U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer); + + @protected + void sse_decode_unit(SseDeserializer deserializer); + + @protected + BigInt sse_decode_usize(SseDeserializer deserializer); + + @protected + int sse_decode_i_32(SseDeserializer deserializer); + + @protected + void sse_encode_AnyhowException( + AnyhowException self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer); + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer); + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer); + + @protected + void sse_encode_String(String self, SseSerializer serializer); + + @protected + void sse_encode_bool(bool self, SseSerializer serializer); + + @protected + void sse_encode_list_prim_u_8_loose(List self, SseSerializer serializer); + + @protected + void sse_encode_list_prim_u_8_strict( + Uint8List self, SseSerializer serializer); + + @protected + void sse_encode_opt_String(String? self, SseSerializer serializer); + + @protected + void sse_encode_u_8(int self, SseSerializer serializer); + + @protected + void sse_encode_u_8_array_32(U8Array32 self, SseSerializer serializer); + + @protected + void sse_encode_u_8_array_64(U8Array64 self, SseSerializer serializer); + + @protected + void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer); + + @protected + void sse_encode_unit(void self, SseSerializer serializer); + + @protected + void sse_encode_usize(BigInt self, SseSerializer serializer); + + @protected + void sse_encode_i_32(int self, SseSerializer serializer); +} + +// Section: wire_class + +class RustLibWire implements BaseWire { + factory RustLibWire.fromExternalLibrary(ExternalLibrary lib) => + RustLibWire(lib.ffiDynamicLibrary); + + /// Holds the symbol lookup function. + final ffi.Pointer Function(String symbolName) + _lookup; + + /// The symbols are looked up in [dynamicLibrary]. + RustLibWire(ffi.DynamicLibrary dynamicLibrary) + : _lookup = dynamicLibrary.lookup; + + void + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ffi.Pointer ptr, + ) { + return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr, + ); + } + + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr = + _lookup)>>( + 'frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes'); + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes = + _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr + .asFunction)>(); + + void + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ffi.Pointer ptr, + ) { + return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr, + ); + } + + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr = + _lookup)>>( + 'frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes'); + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes = + _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr + .asFunction)>(); + + void + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ffi.Pointer ptr, + ) { + return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr, + ); + } + + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr = + _lookup)>>( + 'frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes'); + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes = + _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr + .asFunction)>(); + + void + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ffi.Pointer ptr, + ) { + return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr, + ); + } + + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr = + _lookup)>>( + 'frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes'); + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes = + _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr + .asFunction)>(); + + void + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ffi.Pointer ptr, + ) { + return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr, + ); + } + + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr = + _lookup)>>( + 'frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes'); + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes = + _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr + .asFunction)>(); + + void + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ffi.Pointer ptr, + ) { + return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr, + ); + } + + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr = + _lookup)>>( + 'frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes'); + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes = + _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr + .asFunction)>(); +} diff --git a/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart new file mode 100644 index 0000000000..2b10a7fbbc --- /dev/null +++ b/catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart @@ -0,0 +1,371 @@ +// This file is automatically generated, so please do not edit it. +// @generated by `flutter_rust_bridge`@ 2.5.1. + +// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field + +// Static analysis wrongly picks the IO variant, thus ignore this +// ignore_for_file: argument_type_not_assignable + +import 'api/key_derivation.dart'; +import 'dart:async'; +import 'dart:convert'; +import 'frb_generated.dart'; +import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated_web.dart'; + +abstract class RustLibApiImplPlatform extends BaseApiImpl { + RustLibApiImplPlatform({ + required super.handler, + required super.wire, + required super.generalizedFrbRustBinding, + required super.portManager, + }); + + CrossPlatformFinalizerArg + get rust_arc_decrement_strong_count_SignatureBytesPtr => wire + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes; + + CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPrvBytesPtr => + wire.rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes; + + CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPubBytesPtr => + wire.rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes; + + @protected + AnyhowException dco_decode_AnyhowException(dynamic raw); + + @protected + SignatureBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + XPubBytes + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + SignatureBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + XPubBytes + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw); + + @protected + SignatureBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + dynamic raw); + + @protected + XPrvBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + dynamic raw); + + @protected + XPubBytes + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + dynamic raw); + + @protected + String dco_decode_String(dynamic raw); + + @protected + bool dco_decode_bool(dynamic raw); + + @protected + List dco_decode_list_prim_u_8_loose(dynamic raw); + + @protected + Uint8List dco_decode_list_prim_u_8_strict(dynamic raw); + + @protected + String? dco_decode_opt_String(dynamic raw); + + @protected + int dco_decode_u_8(dynamic raw); + + @protected + U8Array32 dco_decode_u_8_array_32(dynamic raw); + + @protected + U8Array64 dco_decode_u_8_array_64(dynamic raw); + + @protected + U8Array96 dco_decode_u_8_array_96(dynamic raw); + + @protected + void dco_decode_unit(dynamic raw); + + @protected + BigInt dco_decode_usize(dynamic raw); + + @protected + AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer); + + @protected + SignatureBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + XPubBytes + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + SignatureBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + XPubBytes + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer); + + @protected + SignatureBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SseDeserializer deserializer); + + @protected + XPrvBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + SseDeserializer deserializer); + + @protected + XPubBytes + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + SseDeserializer deserializer); + + @protected + String sse_decode_String(SseDeserializer deserializer); + + @protected + bool sse_decode_bool(SseDeserializer deserializer); + + @protected + List sse_decode_list_prim_u_8_loose(SseDeserializer deserializer); + + @protected + Uint8List sse_decode_list_prim_u_8_strict(SseDeserializer deserializer); + + @protected + String? sse_decode_opt_String(SseDeserializer deserializer); + + @protected + int sse_decode_u_8(SseDeserializer deserializer); + + @protected + U8Array32 sse_decode_u_8_array_32(SseDeserializer deserializer); + + @protected + U8Array64 sse_decode_u_8_array_64(SseDeserializer deserializer); + + @protected + U8Array96 sse_decode_u_8_array_96(SseDeserializer deserializer); + + @protected + void sse_decode_unit(SseDeserializer deserializer); + + @protected + BigInt sse_decode_usize(SseDeserializer deserializer); + + @protected + int sse_decode_i_32(SseDeserializer deserializer); + + @protected + void sse_encode_AnyhowException( + AnyhowException self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer); + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + SignatureBytes self, SseSerializer serializer); + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + XPrvBytes self, SseSerializer serializer); + + @protected + void + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + XPubBytes self, SseSerializer serializer); + + @protected + void sse_encode_String(String self, SseSerializer serializer); + + @protected + void sse_encode_bool(bool self, SseSerializer serializer); + + @protected + void sse_encode_list_prim_u_8_loose(List self, SseSerializer serializer); + + @protected + void sse_encode_list_prim_u_8_strict( + Uint8List self, SseSerializer serializer); + + @protected + void sse_encode_opt_String(String? self, SseSerializer serializer); + + @protected + void sse_encode_u_8(int self, SseSerializer serializer); + + @protected + void sse_encode_u_8_array_32(U8Array32 self, SseSerializer serializer); + + @protected + void sse_encode_u_8_array_64(U8Array64 self, SseSerializer serializer); + + @protected + void sse_encode_u_8_array_96(U8Array96 self, SseSerializer serializer); + + @protected + void sse_encode_unit(void self, SseSerializer serializer); + + @protected + void sse_encode_usize(BigInt self, SseSerializer serializer); + + @protected + void sse_encode_i_32(int self, SseSerializer serializer); +} + +// Section: wire_class + +class RustLibWire implements BaseWire { + RustLibWire.fromExternalLibrary(ExternalLibrary lib); + + void rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + int ptr) => + wasmModule + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr); + + void rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + int ptr) => + wasmModule + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr); + + void rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + int ptr) => + wasmModule + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr); + + void rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + int ptr) => + wasmModule + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr); + + void rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + int ptr) => + wasmModule + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr); + + void rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + int ptr) => + wasmModule + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr); +} + +@JS('wasm_bindgen') +external RustLibWasmModule get wasmModule; + +@JS() +@anonymous +extension type RustLibWasmModule._(JSObject _) implements JSObject { + external void + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + int ptr); + + external void + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + int ptr); + + external void + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + int ptr); + + external void + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + int ptr); + + external void + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + int ptr); + + external void + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + int ptr); +} From 8d10bb90e92e34f188fd9eab2329c94446be50c1 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Fri, 1 Nov 2024 16:07:17 +0700 Subject: [PATCH 52/89] fix: ignore spelling check for dart auto gen file Signed-off-by: bkioshn --- cspell.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cspell.json b/cspell.json index bbef212a9f..36356f2061 100644 --- a/cspell.json +++ b/cspell.json @@ -179,7 +179,8 @@ "catalyst_voices_packages/catalyst_key_derivation/cargokit/**", "utilities/catalyst_voices_remote_widgets/example/**/**", "utilities/poc_local_storage/**/**", - "**/*.svg" + "**/*.svg", + "catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/**", ], "enableFiletypes": [ "earthfile", From 0b7bfa8788e4621cc1c1a4686583b04c49649dd0 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Mon, 4 Nov 2024 08:26:51 +0700 Subject: [PATCH 53/89] fix: add ci check and build Signed-off-by: bkioshn --- .config/dictionaries/project.dic | 2 +- catalyst-gateway/.cargo/config.toml | 2 +- .../rust/.config/nextest.toml | 49 +++++++ .../catalyst_key_derivation/rust/Cargo.toml | 3 + .../catalyst_key_derivation/rust/Earthfile | 34 +++++ .../catalyst_key_derivation/rust/deny.toml | 124 ++++++++++++++++++ 6 files changed, 212 insertions(+), 2 deletions(-) create mode 100644 catalyst_voices_packages/catalyst_key_derivation/rust/.config/nextest.toml create mode 100644 catalyst_voices_packages/catalyst_key_derivation/rust/Earthfile create mode 100644 catalyst_voices_packages/catalyst_key_derivation/rust/deny.toml diff --git a/.config/dictionaries/project.dic b/.config/dictionaries/project.dic index a206d68f86..b20b9ef212 100644 --- a/.config/dictionaries/project.dic +++ b/.config/dictionaries/project.dic @@ -201,7 +201,6 @@ plpgsql podfile podhelper podspec -Podspec postcss Pozhylenkov Precache @@ -277,6 +276,7 @@ Toastify todos toggleable tojunit +toolsets Traceback traefik trailings diff --git a/catalyst-gateway/.cargo/config.toml b/catalyst-gateway/.cargo/config.toml index 061a40c093..6641db1faa 100644 --- a/catalyst-gateway/.cargo/config.toml +++ b/catalyst-gateway/.cargo/config.toml @@ -90,4 +90,4 @@ quiet = false # whether cargo output is quiet verbose = false # whether cargo provides verbose output color = "auto" # whether cargo colorizes output use `CARGO_TERM_COLOR="off"` to disable. progress.when = "never" # whether cargo shows progress bar -progress.width = 80 # width of progress bar \ No newline at end of file +progress.width = 80 # width of progress bar diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/.config/nextest.toml b/catalyst_voices_packages/catalyst_key_derivation/rust/.config/nextest.toml new file mode 100644 index 0000000000..de5cf9b1ef --- /dev/null +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/.config/nextest.toml @@ -0,0 +1,49 @@ +# cspell: words scrollability testcase +[store] +# The directory under the workspace root at which nextest-related files are +# written. Profile-specific storage is currently written to dir/. +# dir = "target/nextest" + +[profile.default] +# Print out output for failing tests as soon as they fail, and also at the end +# of the run (for easy scrollability). +failure-output = "immediate-final" + +# Do not cancel the test run on the first failure. +fail-fast = true + +status-level = "all" +final-status-level = "all" + +[profile.ci] +# Print out output for failing tests as soon as they fail, and also at the end +# of the run (for easy scrollability). +failure-output = "immediate-final" +# Do not cancel the test run on the first failure. +fail-fast = false + +status-level = "all" +final-status-level = "all" + + +[profile.ci.junit] +# Output a JUnit report into the given file inside 'store.dir/'. +# If unspecified, JUnit is not written out. + +path = "junit.xml" + +# The name of the top-level "report" element in JUnit report. If aggregating +# reports across different test runs, it may be useful to provide separate names +# for each report. +report-name = "nextest" + +# Whether standard output and standard error for passing tests should be stored in the JUnit report. +# Output is stored in the and elements of the element. +store-success-output = true + +# Whether standard output and standard error for failing tests should be stored in the JUnit report. +# Output is stored in the and elements of the element. +# +# Note that if a description can be extracted from the output, it is always stored in the +# element. +store-failure-output = true \ No newline at end of file diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/Cargo.toml b/catalyst_voices_packages/catalyst_key_derivation/rust/Cargo.toml index 43853de78d..fa50552a77 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/rust/Cargo.toml +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/Cargo.toml @@ -2,6 +2,9 @@ name = "catalyst_key_derivation" version = "0.1.0" edition = "2021" +homepage = "https://input-output-hk.github.io/catalyst-voices" +repository = "https://github.com/input-output-hk/catalyst-voices" +license = "Apache-2.0" [lib] crate-type = ["cdylib", "staticlib"] diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/Earthfile b/catalyst_voices_packages/catalyst_key_derivation/rust/Earthfile new file mode 100644 index 0000000000..2c0693db68 --- /dev/null +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/Earthfile @@ -0,0 +1,34 @@ +VERSION 0.8 + +IMPORT github.com/input-output-hk/catalyst-ci/earthly/rust:v3.2.22 AS rust-ci + +builder: + DO rust-ci+SETUP + COPY --dir .cargo .config src Cargo.toml clippy.toml deny.toml rustfmt.toml . + +## ----------------------------------------------------------------------------- +## +## Standard CI targets. +## +## These targets are discovered and executed automatically by CI. + +# check : Run check using the most efficient host tooling +# CI Automated Entry point. +check: + FROM +builder + + DO rust-ci+EXECUTE --cmd="/scripts/std_checks.py" + +# all-hosts-check : Test which runs check with all supported host tooling. +# Needs qemu or rosetta to run. +# Only used to validate tooling is working across host toolsets. +all-hosts-check: + BUILD --platform=linux/amd64 --platform=linux/arm64 +check + +# build : Run build using the most efficient host tooling +# CI Automated Entry point. +build: + FROM +builder + + DO rust-ci+EXECUTE \ + --cmd="/scripts/std_build.py" \ diff --git a/catalyst_voices_packages/catalyst_key_derivation/rust/deny.toml b/catalyst_voices_packages/catalyst_key_derivation/rust/deny.toml new file mode 100644 index 0000000000..77f0259f18 --- /dev/null +++ b/catalyst_voices_packages/catalyst_key_derivation/rust/deny.toml @@ -0,0 +1,124 @@ +# cspell: words msvc, wasip, RUSTSEC, rustls, libssh, reqwest, tinyvec, Leay, webpki + +[graph] +# cargo-deny is really only ever intended to run on the "normal" tier-1 targets +targets = [ + "x86_64-unknown-linux-gnu", + "aarch64-unknown-linux-gnu", + "x86_64-unknown-linux-musl", + "aarch64-apple-darwin", + "x86_64-apple-darwin", + "x86_64-pc-windows-msvc", + "wasm32-unknown-unknown", + "wasm32-wasip1", + "wasm32-wasip2", +] + +[advisories] +version = 2 +ignore = [ + { id = "RUSTSEC-2020-0168", reason = "`mach` is used by wasmtime and we have no control over that." }, + { id = "RUSTSEC-2021-0145", reason = "we don't target windows, and don't use a custom global allocator." }, + { id = "RUSTSEC-2024-0370", reason = "`proc-macro-error` is used by crates we rely on, we can't control what they use."}, +] + +[bans] +multiple-versions = "warn" +wildcards = 'deny' +deny = [ + # Scylla DB Drivers currently require OpenSSL. Its unavoidable. + # However, there is movement to enable support for Rustls. + # So, for now, allow open-ssl but it needs to be disabled as soon as Scylla DB enables Rustls. + #{ crate = "openssl", use-instead = "rustls" }, + #{ crate = "openssl-sys", use-instead = "rustls" }, + "libssh2-sys", + # { crate = "git2", use-instead = "gix" }, + # { crate = "cmake", use-instead = "cc" }, + # { crate = "windows", reason = "bloated and unnecessary", use-instead = "ideally inline bindings, practically, windows-sys" }, +] +skip = [ + # { crate = "bitflags@1.3.2", reason = "https://github.com/seanmonstar/reqwest/pull/2130 should be in the next version" }, + # { crate = "winnow@0.5.40", reason = "gix 0.59 was yanked, see https://github.com/Byron/gitoxide/issues/1309" }, + # { crate = "heck@0.4.1", reason = "strum_macros uses this old version" }, + # { crate = "base64@0.21.7", reason = "gix-transport pulls in this old version, as well as a newer version via reqwest" }, + # { crate = "byte-array-literalsase64@0.21.7", reason = "gix-transport pulls in this old version, as well as a newer version via reqwest" }, +] +skip-tree = [ + { crate = "windows-sys@0.48.0", reason = "a foundational crate for many that bumps far too frequently to ever have a shared version" }, +] + +[sources] +unknown-registry = "deny" +unknown-git = "deny" + +# List of URLs for allowed Git repositories +allow-git = [ + "https://github.com/input-output-hk/catalyst-libs.git", + "https://github.com/input-output-hk/catalyst-pallas.git", + "https://github.com/input-output-hk/catalyst-mithril.git", + "https://github.com/bytecodealliance/wasmtime", + "https://github.com/aldanor/hdf5-rust", +] + +[licenses] +version = 2 +# Don't warn if a listed license isn't found +unused-allowed-license="allow" +# We want really high confidence when inferring licenses from text +confidence-threshold = 0.93 +allow = [ + "MIT", + "Apache-2.0", + "Unicode-DFS-2016", + "BSD-3-Clause", + "BSD-2-Clause", + "BlueOak-1.0.0", + "Apache-2.0 WITH LLVM-exception", + "CC0-1.0", + "ISC", + "Unicode-3.0", + "MPL-2.0", + "Zlib", + "MIT-0", +] +exceptions = [ + #{ allow = ["Zlib"], crate = "tinyvec" }, + #{ allow = ["Unicode-DFS-2016"], crate = "unicode-ident" }, + #{ allow = ["OpenSSL"], crate = "ring" }, +] + +[[licenses.clarify]] +crate = "byte-array-literals" +expression = "Apache-2.0 WITH LLVM-exception" +license-files = [{ path = "../../../LICENSE", hash = 0x001c7e6c }] + +[[licenses.clarify]] +crate = "hdf5-src" +expression = "MIT" +license-files = [{ path = "../LICENSE-MIT", hash = 0x001c7e6c }] + +[[licenses.clarify]] +crate = "ring" +expression = "MIT" +license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }] + +# SPDX considers OpenSSL to encompass both the OpenSSL and SSLeay licenses +# https://spdx.org/licenses/OpenSSL.html +# ISC - Both BoringSSL and ring use this for their new files +# MIT - "Files in third_party/ have their own licenses, as described therein. The MIT +# license, for third_party/fiat, which, unlike other third_party directories, is +# compiled into non-test libraries, is included below." +# OpenSSL - Obviously +#expression = "ISC AND MIT AND OpenSSL" +#license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }] + +#[[licenses.clarify]] +#crate = "webpki" +#expression = "ISC" +#license-files = [{ path = "LICENSE", hash = 0x001c7e6c }] + +# Actually "ISC-style" +#[[licenses.clarify]] +#crate = "rustls-webpki" +#expression = "ISC" +#license-files = [{ path = "LICENSE", hash = 0x001c7e6c }] From d397252485510b912d99fc72a894652f6f11a501 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Mon, 4 Nov 2024 12:27:16 +0700 Subject: [PATCH 54/89] fix: add earthfile and fix justfile Signed-off-by: bkioshn --- .../catalyst_key_derivation/Earthfile | 16 ++++++++++++++++ .../catalyst_key_derivation/Justfile | 13 ++----------- 2 files changed, 18 insertions(+), 11 deletions(-) create mode 100644 catalyst_voices_packages/catalyst_key_derivation/Earthfile diff --git a/catalyst_voices_packages/catalyst_key_derivation/Earthfile b/catalyst_voices_packages/catalyst_key_derivation/Earthfile new file mode 100644 index 0000000000..3840e2d8e6 --- /dev/null +++ b/catalyst_voices_packages/catalyst_key_derivation/Earthfile @@ -0,0 +1,16 @@ +VERSION 0.8 + +IMPORT github.com/input-output-hk/catalyst-ci/earthly/flutter_rust_bridge:feat/add-flutter-rust-bridge AS flutter_rust_bridge + +builder: + FROM flutter_rust_bridge+builder + COPY . . + +# Generated necessary files for running Flutter web locally and save it locally. +code-generator: + FROM +builder + DO flutter_rust_bridge+CODE_GENERATOR_WEB + + SAVE ARTIFACT ./web/pkg AS LOCAL ./example/web/pkg + SAVE ARTIFACT ./rust/src/frb_generated.rs AS LOCAL ./rust/src/frb_generated.rs + SAVE ARTIFACT ./lib/src AS LOCAL ./lib/src diff --git a/catalyst_voices_packages/catalyst_key_derivation/Justfile b/catalyst_voices_packages/catalyst_key_derivation/Justfile index 85013c8ac6..565c19b03f 100644 --- a/catalyst_voices_packages/catalyst_key_derivation/Justfile +++ b/catalyst_voices_packages/catalyst_key_derivation/Justfile @@ -2,18 +2,9 @@ # # Catalyst Key Derivation developers' convenience functions. -# Install `flutter_rust_bridge` -# Use incase `flutter_rust_bridge` is not installed yet. -install-flutter-rust-bridge: - cargo install flutter_rust_bridge_codegen - -# Generated necessary files for running Flutter web locally. +# Generated necessary files using Earthly for running Flutter web locally. code-gen-web: - # Generate auto generated files - flutter_rust_bridge_codegen generate - flutter_rust_bridge_codegen build-web - # Copy a necessary files for running web - cp -rf ./web/pkg ./example/web/ + earthly +code-generator # Run local Flutter web. run-web: code-gen-web From 2c3a619332d7ebb67916c64e997ffeee7302453c Mon Sep 17 00:00:00 2001 From: Dominik Toton Date: Mon, 4 Nov 2024 07:57:17 +0100 Subject: [PATCH 55/89] fix: deprecated api --- .../lib/widgets/modals/voices_upload_file_dialog.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst_voices/lib/widgets/modals/voices_upload_file_dialog.dart b/catalyst_voices/lib/widgets/modals/voices_upload_file_dialog.dart index 63811e2aae..f0b768df36 100644 --- a/catalyst_voices/lib/widgets/modals/voices_upload_file_dialog.dart +++ b/catalyst_voices/lib/widgets/modals/voices_upload_file_dialog.dart @@ -261,7 +261,7 @@ class _UploadContainerState extends State<_UploadContainer> { onCreated: (DropzoneViewController ctrl) => setState(() { _dropzoneController = ctrl; }), - onDrop: (ev) async { + onDropFile: (ev) async { final bytes = await _dropzoneController.getFileData(ev); final name = await _dropzoneController.getFilename(ev); widget.onFileSelected?.call( From e7e426c219623020b2ed8b54c17b4a671db3bbc9 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Mon, 4 Nov 2024 09:20:46 +0100 Subject: [PATCH 56/89] fix: file drop --- .../lib/widgets/modals/voices_upload_file_dialog.dart | 6 +++--- catalyst_voices/apps/voices/pubspec.yaml | 2 +- catalyst_voices/melos.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/catalyst_voices/apps/voices/lib/widgets/modals/voices_upload_file_dialog.dart b/catalyst_voices/apps/voices/lib/widgets/modals/voices_upload_file_dialog.dart index 63811e2aae..4a9f37ff00 100644 --- a/catalyst_voices/apps/voices/lib/widgets/modals/voices_upload_file_dialog.dart +++ b/catalyst_voices/apps/voices/lib/widgets/modals/voices_upload_file_dialog.dart @@ -261,9 +261,9 @@ class _UploadContainerState extends State<_UploadContainer> { onCreated: (DropzoneViewController ctrl) => setState(() { _dropzoneController = ctrl; }), - onDrop: (ev) async { - final bytes = await _dropzoneController.getFileData(ev); - final name = await _dropzoneController.getFilename(ev); + onDropFile: (file) async { + final bytes = await _dropzoneController.getFileData(file); + final name = await _dropzoneController.getFilename(file); widget.onFileSelected?.call( VoicesFile( name: name, diff --git a/catalyst_voices/apps/voices/pubspec.yaml b/catalyst_voices/apps/voices/pubspec.yaml index 9cb2344f3c..85b3cb4cd5 100644 --- a/catalyst_voices/apps/voices/pubspec.yaml +++ b/catalyst_voices/apps/voices/pubspec.yaml @@ -39,7 +39,7 @@ dependencies: sdk: flutter flutter_adaptive_scaffold: ^0.2.4 flutter_bloc: ^8.1.5 - flutter_dropzone: ^4.0.3 + flutter_dropzone: ^4.1.0 flutter_localized_locales: ^2.0.5 flutter_quill: ^10.8.2 flutter_quill_extensions: ^10.8.2 diff --git a/catalyst_voices/melos.yaml b/catalyst_voices/melos.yaml index 38389a234b..947cbecd9c 100644 --- a/catalyst_voices/melos.yaml +++ b/catalyst_voices/melos.yaml @@ -97,7 +97,7 @@ command: ffigen: ^11.0.0 file_picker: ^8.0.7 flutter_bloc: ^8.1.5 - flutter_dropzone: ^4.0.3 + flutter_dropzone: ^4.1.0 flutter_localized_locales: ^2.0.5 flutter_quill: ^10.8.2 flutter_quill_extensions: ^10.8.2 From 55902480d55d5b3d2ed5649af5184b591bc12b80 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Mon, 4 Nov 2024 09:35:27 +0100 Subject: [PATCH 57/89] fix: force downgraded version of flutter_dropzone --- .../lib/widgets/modals/voices_upload_file_dialog.dart | 6 +++--- catalyst_voices/apps/voices/pubspec.yaml | 4 +++- catalyst_voices/melos.yaml | 4 +++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/catalyst_voices/apps/voices/lib/widgets/modals/voices_upload_file_dialog.dart b/catalyst_voices/apps/voices/lib/widgets/modals/voices_upload_file_dialog.dart index 4a9f37ff00..63811e2aae 100644 --- a/catalyst_voices/apps/voices/lib/widgets/modals/voices_upload_file_dialog.dart +++ b/catalyst_voices/apps/voices/lib/widgets/modals/voices_upload_file_dialog.dart @@ -261,9 +261,9 @@ class _UploadContainerState extends State<_UploadContainer> { onCreated: (DropzoneViewController ctrl) => setState(() { _dropzoneController = ctrl; }), - onDropFile: (file) async { - final bytes = await _dropzoneController.getFileData(file); - final name = await _dropzoneController.getFilename(file); + onDrop: (ev) async { + final bytes = await _dropzoneController.getFileData(ev); + final name = await _dropzoneController.getFilename(ev); widget.onFileSelected?.call( VoicesFile( name: name, diff --git a/catalyst_voices/apps/voices/pubspec.yaml b/catalyst_voices/apps/voices/pubspec.yaml index 85b3cb4cd5..d18b4ab751 100644 --- a/catalyst_voices/apps/voices/pubspec.yaml +++ b/catalyst_voices/apps/voices/pubspec.yaml @@ -39,7 +39,9 @@ dependencies: sdk: flutter flutter_adaptive_scaffold: ^0.2.4 flutter_bloc: ^8.1.5 - flutter_dropzone: ^4.1.0 + flutter_dropzone: 4.0.3 + flutter_dropzone_platform_interface: 2.0.6 + flutter_dropzone_web: 4.0.2 flutter_localized_locales: ^2.0.5 flutter_quill: ^10.8.2 flutter_quill_extensions: ^10.8.2 diff --git a/catalyst_voices/melos.yaml b/catalyst_voices/melos.yaml index 947cbecd9c..98933c2e98 100644 --- a/catalyst_voices/melos.yaml +++ b/catalyst_voices/melos.yaml @@ -97,7 +97,9 @@ command: ffigen: ^11.0.0 file_picker: ^8.0.7 flutter_bloc: ^8.1.5 - flutter_dropzone: ^4.1.0 + flutter_dropzone: 4.0.3 + flutter_dropzone_platform_interface: 2.0.6 + flutter_dropzone_web: 4.0.2 flutter_localized_locales: ^2.0.5 flutter_quill: ^10.8.2 flutter_quill_extensions: ^10.8.2 From 3c8d52c5b806a308a88bff31c13ea7bfbaf50ea4 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Mon, 4 Nov 2024 10:11:52 +0100 Subject: [PATCH 58/89] chore: update repository links + codeowners paths --- .github/CODEOWNERS | 2 +- .github/dependabot.yml | 2 +- .github/workflows/nightly-ci.yml | 2 +- README.md | 2 +- catalyst_voices/packages/libs/catalyst_analysis/README.md | 2 +- catalyst_voices/packages/libs/catalyst_analysis/pubspec.yaml | 2 +- .../libs/catalyst_cardano/catalyst_cardano/pubspec.yaml | 2 +- .../catalyst_cardano_platform_interface/pubspec.yaml | 2 +- .../libs/catalyst_cardano/catalyst_cardano_web/pubspec.yaml | 2 +- .../packages/libs/catalyst_cardano_serialization/pubspec.yaml | 2 +- .../libs/catalyst_compression/catalyst_compression/pubspec.yaml | 2 +- .../catalyst_compression_platform_interface/pubspec.yaml | 2 +- .../catalyst_compression/catalyst_compression_web/pubspec.yaml | 2 +- catalyst_voices/packages/libs/catalyst_cose/pubspec.yaml | 2 +- .../packages/libs/catalyst_key_derivation/pubspec.yaml | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f3568b730f..6be1963f41 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -2,7 +2,7 @@ /catalyst_voices/ @minikin -/catalyst_voices_packages/ @minikin @stevenj +/catalyst_voices/packages/libs/ @minikin @stevenj /catalyst-gateway/ @stevenj @Mr-Leshiy @FelipeRosa @cong-or @saibatizoku @minikin diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2cd2556849..cbd4e6d35e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -21,7 +21,7 @@ updates: - "minikin" - package-ecosystem: "pub" - directory: "/catalyst_voices_packages" + directory: "/catalyst_voices/packages/libs" schedule: interval: "monthly" assignees: diff --git a/.github/workflows/nightly-ci.yml b/.github/workflows/nightly-ci.yml index cdf6d7a377..ccdad5c1cc 100644 --- a/.github/workflows/nightly-ci.yml +++ b/.github/workflows/nightly-ci.yml @@ -67,7 +67,7 @@ jobs: if: always() continue-on-error: true with: - earthfile: ./catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/ + earthfile: ./catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/ flags: --allow-privileged targets: nightly-test target_flags: diff --git a/README.md b/README.md index 7a000f307e..0117ff0400 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ The backend services for Catalyst Voices. Shared Flutter and Dart packages used across the Catalyst. * **Directory - **: [catalyst_voices_packages](https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/libs) + **: [catalyst_voices_libs](https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/libs) * **Setup**: Navigate to ./catalyst_voices/packages/libs. * **Documentation**: [Link to detailed documentation or Wiki] diff --git a/catalyst_voices/packages/libs/catalyst_analysis/README.md b/catalyst_voices/packages/libs/catalyst_analysis/README.md index 692f004112..8657dab30b 100644 --- a/catalyst_voices/packages/libs/catalyst_analysis/README.md +++ b/catalyst_voices/packages/libs/catalyst_analysis/README.md @@ -2,7 +2,7 @@ This package provides lint rules for Dart and Flutter which are used at [Catalyst @ IOG](https://github.com/input-output-hk). For more information, -see the [complete list of options](/catalyst_voices_packages/packages/catalyst_analysis/lib/analysis_options.1.0.0.yaml). +see the [complete list of options](/catalyst_voices/packages/libs/catalyst_analysis/lib/analysis_options.1.0.0.yaml). > This package was heavily inspired by [lint](https://pub.dev/packages/lints) > and real-life experience building products with Dart and Flutter. diff --git a/catalyst_voices/packages/libs/catalyst_analysis/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_analysis/pubspec.yaml index bf04681fb2..9ee1f2ca08 100644 --- a/catalyst_voices/packages/libs/catalyst_analysis/pubspec.yaml +++ b/catalyst_voices/packages/libs/catalyst_analysis/pubspec.yaml @@ -1,7 +1,7 @@ name: catalyst_analysis version: 2.0.0 description: Lint rules for Dart and Flutter used internally at Catalyst. -repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices_packages/catalyst_analysis +repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/libs/catalyst_analysis issue_tracker: https://github.com/input-output-hk/catalyst-voices/issues topics: [lints, analyzer, analysis] diff --git a/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/pubspec.yaml index 4dd6fe31eb..91ebc4dbc5 100644 --- a/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/pubspec.yaml +++ b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/pubspec.yaml @@ -1,6 +1,6 @@ name: catalyst_cardano description: A Flutter plugin exposing the CIP-30 and CIP-95 APIs. Allows to communicate with the Cardano Wallet Extension via js_interop integration. -repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices_packages/catalyst_cardano/catalyst_cardano +repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano issue_tracker: https://github.com/input-output-hk/catalyst-voices/issues topics: [blockchain, cardano, cryptocurrency, wallet] version: 0.3.0 diff --git a/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/pubspec.yaml index 9c45e17a5c..9f97f5edb5 100644 --- a/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/pubspec.yaml +++ b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface/pubspec.yaml @@ -1,6 +1,6 @@ name: catalyst_cardano_platform_interface description: A common platform interface for the catalyst_cardano plugin. -repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_platform_interface +repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_platform_interface issue_tracker: https://github.com/input-output-hk/catalyst-voices/issues topics: [blockchain, cardano, cryptocurrency, wallet] version: 0.3.0 diff --git a/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/pubspec.yaml index 56fb9868ab..1c4706f341 100644 --- a/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/pubspec.yaml +++ b/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web/pubspec.yaml @@ -1,6 +1,6 @@ name: catalyst_cardano_web description: Web platform implementation of catalyst_cardano. Allows to communicate with the Cardano Wallet Extension via js_interop integration. -repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices_packages/catalyst_cardano/catalyst_cardano_web +repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano_web issue_tracker: https://github.com/input-output-hk/catalyst-voices/issues topics: [blockchain, cardano, cryptocurrency, wallet] version: 0.3.0 diff --git a/catalyst_voices/packages/libs/catalyst_cardano_serialization/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_cardano_serialization/pubspec.yaml index b020ae1915..f4675e9c06 100644 --- a/catalyst_voices/packages/libs/catalyst_cardano_serialization/pubspec.yaml +++ b/catalyst_voices/packages/libs/catalyst_cardano_serialization/pubspec.yaml @@ -1,6 +1,6 @@ name: catalyst_cardano_serialization description: Dart package providing serialization/deserialization for common structures for Cardano blockchain. -repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices_packages/catalyst_cardano_serialization +repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/libs/catalyst_cardano_serialization issue_tracker: https://github.com/input-output-hk/catalyst-voices/issues topics: [blockchain, cardano, cryptocurrency, wallet] version: 0.4.0 diff --git a/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/pubspec.yaml index 417f871d75..122a4f04c7 100644 --- a/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/pubspec.yaml +++ b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression/pubspec.yaml @@ -1,6 +1,6 @@ name: catalyst_compression description: A Flutter plugin exposing Brotli and zstd compression algorithms. -repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices_packages/catalyst_compression/catalyst_compression +repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression issue_tracker: https://github.com/input-output-hk/catalyst-voices/issues topics: [compression, codec] version: 0.3.0 diff --git a/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/pubspec.yaml index d0d706e760..6f3c9522d4 100644 --- a/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/pubspec.yaml +++ b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface/pubspec.yaml @@ -1,6 +1,6 @@ name: catalyst_compression_platform_interface description: A common platform interface for the catalyst_compression plugin. -repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices_packages/catalyst_compression/catalyst_compression_platform_interface +repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_platform_interface issue_tracker: https://github.com/input-output-hk/catalyst-voices/issues topics: [compression, codec] version: 0.2.0 diff --git a/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/pubspec.yaml index cbab48153a..83c32b808e 100644 --- a/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/pubspec.yaml +++ b/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web/pubspec.yaml @@ -1,6 +1,6 @@ name: catalyst_compression_web description: Web platform implementation of catalyst_compression. Exposes a JS wrapper around Brotli and zstd compression algorithms. -repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices_packages/catalyst_compression/catalyst_compression_web +repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/libs/catalyst_compression/catalyst_compression_web issue_tracker: https://github.com/input-output-hk/catalyst-voices/issues topics: [compression, codec] version: 0.3.0 diff --git a/catalyst_voices/packages/libs/catalyst_cose/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_cose/pubspec.yaml index 9499e4281f..64f0c6caf0 100644 --- a/catalyst_voices/packages/libs/catalyst_cose/pubspec.yaml +++ b/catalyst_voices/packages/libs/catalyst_cose/pubspec.yaml @@ -1,6 +1,6 @@ name: catalyst_cose description: A dart plugin implementing CBOR Object Signing and Encryption (RFC 9052, RFC 9053). -repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices_packages/catalyst_cose +repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/libs/catalyst_cose issue_tracker: https://github.com/input-output-hk/catalyst-voices/issues topics: [cryptography, encryption, codec] version: 0.3.0 diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/pubspec.yaml b/catalyst_voices/packages/libs/catalyst_key_derivation/pubspec.yaml index 57b6cd71f0..a5415ca9df 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/pubspec.yaml +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/pubspec.yaml @@ -1,6 +1,6 @@ name: catalyst_key_derivation description: A Flutter plugin exposing CIP-1852 Cardano HD Key Derivation -repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices_packages/catalyst_key_derivation/catalyst_key_derivation +repository: https://github.com/input-output-hk/catalyst-voices/tree/main/catalyst_voices/packages/libs/catalyst_key_derivation/catalyst_key_derivation issue_tracker: https://github.com/input-output-hk/catalyst-voices/issues topics: [cryptography, encryption, codec] version: 0.1.0 From 16853de29268ca07dd4b992f685a399d0795cd29 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Mon, 4 Nov 2024 10:18:27 +0100 Subject: [PATCH 59/89] fix: deploy uikit workflow --- .github/workflows/flutter-uikit-example-firebase-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/flutter-uikit-example-firebase-deploy.yml b/.github/workflows/flutter-uikit-example-firebase-deploy.yml index 3aa77eb3f5..e6472277de 100644 --- a/.github/workflows/flutter-uikit-example-firebase-deploy.yml +++ b/.github/workflows/flutter-uikit-example-firebase-deploy.yml @@ -38,7 +38,7 @@ jobs: if: always() continue-on-error: true with: - earthfile: ./catalyst_voices/uikit_example + earthfile: ./catalyst_voices/utilities/uikit_example flags: --allow-privileged targets: local-build-web target_flags: From c28f127556448d70f644d5dec9116dcb2e9ffa68 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Mon, 4 Nov 2024 10:39:56 +0100 Subject: [PATCH 60/89] fix: uikit_example earthly build target --- catalyst_voices/utilities/uikit_example/Earthfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catalyst_voices/utilities/uikit_example/Earthfile b/catalyst_voices/utilities/uikit_example/Earthfile index a0721c6f26..4d494ccc69 100644 --- a/catalyst_voices/utilities/uikit_example/Earthfile +++ b/catalyst_voices/utilities/uikit_example/Earthfile @@ -1,6 +1,6 @@ VERSION 0.8 -IMPORT ../ AS catalyst-voices +IMPORT ../../ AS catalyst-voices IMPORT github.com/input-output-hk/catalyst-ci/earthly/flutter:v3.2.22 AS flutter-ci # local-build-web - build web version of UIKit example. @@ -8,6 +8,6 @@ IMPORT github.com/input-output-hk/catalyst-ci/earthly/flutter:v3.2.22 AS flutter # designed to work with a specific github action that needs the target output files local-build-web: FROM catalyst-voices+builder - ARG WORKDIR=/frontend/catalyst_voices/uikit_example + ARG WORKDIR=/frontend/utilities/uikit_example DO flutter-ci+BUILD_WEB --TARGET=lib/main.dart --WORKDIR=$WORKDIR SAVE ARTIFACT web AS LOCAL public \ No newline at end of file From 84779f6fc9bd7845cf6b6835d774ec00fe6097d8 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Mon, 4 Nov 2024 10:40:26 +0100 Subject: [PATCH 61/89] fix: uikit deploy workflow path --- .github/workflows/flutter-uikit-example-firebase-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/flutter-uikit-example-firebase-deploy.yml b/.github/workflows/flutter-uikit-example-firebase-deploy.yml index e6472277de..13315438cb 100644 --- a/.github/workflows/flutter-uikit-example-firebase-deploy.yml +++ b/.github/workflows/flutter-uikit-example-firebase-deploy.yml @@ -50,4 +50,4 @@ jobs: firebaseServiceAccount: "${{ secrets.UIKIT_FIREBASE_SERVICE_ACCOUNT }}" projectId: "${{ secrets.UIKIT_FIREBASE_PROJECT_ID }}" channelId: live - entryPoint: catalyst_voices/uikit_example + entryPoint: catalyst_voices/utilities/uikit_example From b0a790c3ca9cb050bf980199d975ac33e941da8f Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Mon, 4 Nov 2024 10:42:57 +0100 Subject: [PATCH 62/89] chore: integration tests docs readme paths --- docs/FLUTTER_INTEGRATION_TEST.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/FLUTTER_INTEGRATION_TEST.md b/docs/FLUTTER_INTEGRATION_TEST.md index 06cc4c6249..4434869b00 100644 --- a/docs/FLUTTER_INTEGRATION_TEST.md +++ b/docs/FLUTTER_INTEGRATION_TEST.md @@ -45,7 +45,7 @@ and select the appropriate history. >On Ubuntu you might be required to start chromedriver. >In a separate terminal run: `chromedriver --port=4444` -Navigate to `catalyst_voices` and run: +Navigate to `catalyst_voices/apps/voices` and run: ```sh flutter drive --driver=test_driver/integration_test.dart \ @@ -58,7 +58,7 @@ flutter drive --driver=test_driver/integration_test.dart \ ##### Run integration test in Xcode -Navigate to `catalyst_voices` +Navigate to `catalyst_voices/apps/voices` Build the integration test for iOS @@ -70,7 +70,7 @@ Open iOS app in Xcode, select appropriate schema and run the integration test ta ##### Run integration test from command line -Navigate to `catalyst_voices` +Navigate to `catalyst_voices/apps/voices` Start iOS Simulator or connect iOS device and run: @@ -82,7 +82,7 @@ flutter test integration_test/main.dart --flavor development ##### Run integration test in Android Studio -Navigate to `catalyst_voices/android` start Android Emulator or connect Android device and run: +Navigate to `catalyst_voices/apps/voices/android` start Android Emulator or connect Android device and run: ```sh ./gradlew app:connectedAndroidTest -Ptarget=`pwd`/../integration_test/main.dart @@ -97,7 +97,7 @@ Navigate to `catalyst_voices/android` start Android Emulator or connect Android ##### Run integration test from command line -Navigate to `catalyst_voices` start Android Emulator or connect Android device and run: +Navigate to `catalyst_voices/apps/voices` start Android Emulator or connect Android device and run: ```sh flutter test integration_test/main.dart --flavor development From f8e3f68110df48f61014aba801ae6a88a59c9426 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Mon, 4 Nov 2024 10:45:22 +0100 Subject: [PATCH 63/89] chore: remote widget readme path --- catalyst_voices/utilities/remote_widgets/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst_voices/utilities/remote_widgets/README.md b/catalyst_voices/utilities/remote_widgets/README.md index 144dac6704..a9d251d3bc 100644 --- a/catalyst_voices/utilities/remote_widgets/README.md +++ b/catalyst_voices/utilities/remote_widgets/README.md @@ -5,4 +5,4 @@ This package provides a set of widgets that can be used to build remote data-driven UIs. For more navigate to the -[example](/catalyst_voices/packages/catalyst_voices_remote_widgets/example/README.md) +[example](/catalyst_voices/utilities/remote_widgets/example/README.md) From 6572b5458a3ec942540c34b17ae5886f31926bff Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Mon, 4 Nov 2024 10:51:05 +0100 Subject: [PATCH 64/89] chore: markdown ignore macos pods path fix --- .markdownlint-cli2.jsonc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.markdownlint-cli2.jsonc b/.markdownlint-cli2.jsonc index 4bfa843268..29dc319002 100644 --- a/.markdownlint-cli2.jsonc +++ b/.markdownlint-cli2.jsonc @@ -13,7 +13,7 @@ "CHANGELOG.md", "catalyst_voices/packages/libs/**/CHANGELOG.md", "catalyst_voices/packages/libs/**/cargokit/**", - "catalyst_voices/macos/Pods/**", + "catalyst_voices/apps/voices/macos/Pods/**", "**/node_modules/**", "**/.dart_tool/**" ], From 171e4f93ee70623154c805387fdc1068de2d6229 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Mon, 4 Nov 2024 11:25:26 +0100 Subject: [PATCH 65/89] chore: integration test scripts --- .github/workflows/flutter-mobile-integration-test.yml | 4 ++-- catalyst_voices/scripts/flutter_android_integration_test.sh | 6 +++--- catalyst_voices/scripts/flutter_ios_integration_test.sh | 2 +- catalyst_voices/scripts/flutter_web_integration_test.sh | 4 ++-- docs/FLUTTER_INTEGRATION_TEST.md | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/flutter-mobile-integration-test.yml b/.github/workflows/flutter-mobile-integration-test.yml index bb6280fb95..d5a9aa2976 100644 --- a/.github/workflows/flutter-mobile-integration-test.yml +++ b/.github/workflows/flutter-mobile-integration-test.yml @@ -48,8 +48,8 @@ jobs: run: melos build:pub_get:all - name: 🤖 Run Android Integration Tests - run: ./scripts/flutter_android_integration_test.sh + run: ./catalyst_voices/scripts/flutter_android_integration_test.sh # TODO: https://github.com/input-output-hk/catalyst-voices/issues/135 # - name: 📱 Run iOS Integration Tests - # run: ./scripts/flutter_ios_integration_test.sh + # run: ./catalyst_voices/scripts/flutter_ios_integration_test.sh diff --git a/catalyst_voices/scripts/flutter_android_integration_test.sh b/catalyst_voices/scripts/flutter_android_integration_test.sh index 072d558653..16e3909393 100755 --- a/catalyst_voices/scripts/flutter_android_integration_test.sh +++ b/catalyst_voices/scripts/flutter_android_integration_test.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -pushd catalyst_voices +pushd catalyst_voices/apps/voices flutter build apk integration_test/main.dart --profile --flavor development pushd android @@ -10,8 +10,8 @@ pushd android popd gcloud firebase test android run --type instrumentation \ - --app ../catalyst_voices/build/app/outputs/apk/development/debug/app-development-debug.apk \ - --test ../catalyst_voices/build/app/outputs/apk/androidTest/development/debug/app-development-debug-androidTest.apk \ + --app apps/voices/build/app/outputs/apk/development/debug/app-development-debug.apk \ + --test apps/voices/build/app/outputs/apk/androidTest/development/debug/app-development-debug-androidTest.apk \ --device-ids=redfin \ --os-version-ids=30 \ --locales=en_GB \ diff --git a/catalyst_voices/scripts/flutter_ios_integration_test.sh b/catalyst_voices/scripts/flutter_ios_integration_test.sh index f3898c5f86..da65cdbb23 100755 --- a/catalyst_voices/scripts/flutter_ios_integration_test.sh +++ b/catalyst_voices/scripts/flutter_ios_integration_test.sh @@ -4,7 +4,7 @@ set -e output="../build/ios_integ" product="build/ios_integ/Build/Products" -pushd catalyst_voices +pushd catalyst_voices/apps/voices flutter build ios integration_test/main.dart --release --flavor development pushd ios diff --git a/catalyst_voices/scripts/flutter_web_integration_test.sh b/catalyst_voices/scripts/flutter_web_integration_test.sh index c11abf0b70..c0f91dcf15 100755 --- a/catalyst_voices/scripts/flutter_web_integration_test.sh +++ b/catalyst_voices/scripts/flutter_web_integration_test.sh @@ -6,9 +6,9 @@ set -e # Wait for 5 seconds to allow ChromeDriver to start sleep 5 -cd ./catalyst_voices +cd ./catalyst_voices/apps/voices -flutter drive --driver=test_driver/integration_test.dart \ +flutter drive --driver=test_driver/integration_tests.dart \ --target=integration_test/main.dart \ --flavor development \ -d web-server \ diff --git a/docs/FLUTTER_INTEGRATION_TEST.md b/docs/FLUTTER_INTEGRATION_TEST.md index 4434869b00..222be8786e 100644 --- a/docs/FLUTTER_INTEGRATION_TEST.md +++ b/docs/FLUTTER_INTEGRATION_TEST.md @@ -48,7 +48,7 @@ and select the appropriate history. Navigate to `catalyst_voices/apps/voices` and run: ```sh -flutter drive --driver=test_driver/integration_test.dart \ +flutter drive --driver=test_driver/integration_tests.dart \ --target=integration_test/main.dart \ --flavor development \ -d chrome @@ -108,13 +108,13 @@ flutter test integration_test/main.dart --flavor development Android: ```sh -./scripts/flutter_android_integration_test.sh +./catalyst_voices/scripts/flutter_android_integration_test.sh ``` iOS: ```sh -./scripts/flutter_ios_integration_test.sh +./catalyst_voices/scripts/flutter_ios_integration_test.sh ``` ## Gcloud CLI From 6041b2fa9c4637d7b544a3954f28dc190985786f Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Mon, 4 Nov 2024 11:28:45 +0100 Subject: [PATCH 66/89] chore: build_runner assets --- .../catalyst_voices_assets/lib/generated/assets.gen.dart | 2 +- .../utilities/uikit_example/lib/generated/assets.gen.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/catalyst_voices/packages/internal/catalyst_voices_assets/lib/generated/assets.gen.dart b/catalyst_voices/packages/internal/catalyst_voices_assets/lib/generated/assets.gen.dart index b3ab635ac4..3cc6458354 100644 --- a/catalyst_voices/packages/internal/catalyst_voices_assets/lib/generated/assets.gen.dart +++ b/catalyst_voices/packages/internal/catalyst_voices_assets/lib/generated/assets.gen.dart @@ -1348,7 +1348,7 @@ class AssetGenImage { ImageRepeat repeat = ImageRepeat.noRepeat, Rect? centerSlice, bool matchTextDirection = false, - bool gaplessPlayback = false, + bool gaplessPlayback = true, bool isAntiAlias = false, String? package, FilterQuality filterQuality = FilterQuality.low, diff --git a/catalyst_voices/utilities/uikit_example/lib/generated/assets.gen.dart b/catalyst_voices/utilities/uikit_example/lib/generated/assets.gen.dart index d625406ba0..fea7cf30eb 100644 --- a/catalyst_voices/utilities/uikit_example/lib/generated/assets.gen.dart +++ b/catalyst_voices/utilities/uikit_example/lib/generated/assets.gen.dart @@ -56,7 +56,7 @@ class AssetGenImage { ImageRepeat repeat = ImageRepeat.noRepeat, Rect? centerSlice, bool matchTextDirection = false, - bool gaplessPlayback = false, + bool gaplessPlayback = true, bool isAntiAlias = false, String? package, FilterQuality filterQuality = FilterQuality.low, From b9b8543c6e80ba8fba5049e582e18c1920f87003 Mon Sep 17 00:00:00 2001 From: Dominik Toton Date: Mon, 4 Nov 2024 12:08:16 +0100 Subject: [PATCH 67/89] chore: document flutter_dropzone issue --- catalyst_voices/apps/voices/pubspec.yaml | 2 ++ catalyst_voices/melos.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/catalyst_voices/apps/voices/pubspec.yaml b/catalyst_voices/apps/voices/pubspec.yaml index d18b4ab751..c9947487de 100644 --- a/catalyst_voices/apps/voices/pubspec.yaml +++ b/catalyst_voices/apps/voices/pubspec.yaml @@ -39,6 +39,8 @@ dependencies: sdk: flutter flutter_adaptive_scaffold: ^0.2.4 flutter_bloc: ^8.1.5 + # TODO(dtscalac): depend on latest stable version when https://github.com/deakjahn/flutter_dropzone/issues/95 is solved, + # don't depend on flutter_dropzone_platform_interface and flutter_dropzone_web, they should be pulled in transitively flutter_dropzone: 4.0.3 flutter_dropzone_platform_interface: 2.0.6 flutter_dropzone_web: 4.0.2 diff --git a/catalyst_voices/melos.yaml b/catalyst_voices/melos.yaml index 98933c2e98..e6635fec0f 100644 --- a/catalyst_voices/melos.yaml +++ b/catalyst_voices/melos.yaml @@ -97,6 +97,8 @@ command: ffigen: ^11.0.0 file_picker: ^8.0.7 flutter_bloc: ^8.1.5 + # TODO(dtscalac): depend on latest stable version when https://github.com/deakjahn/flutter_dropzone/issues/95 is solved, + # don't depend on flutter_dropzone_platform_interface and flutter_dropzone_web, they should be pulled in transitively flutter_dropzone: 4.0.3 flutter_dropzone_platform_interface: 2.0.6 flutter_dropzone_web: 4.0.2 From 9fcde963143b9b84cbacfffc90b354efb9e137f7 Mon Sep 17 00:00:00 2001 From: Dominik Toton Date: Mon, 4 Nov 2024 12:58:13 +0100 Subject: [PATCH 68/89] chore: revert dropzone fixes --- .../voices/lib/widgets/modals/voices_upload_file_dialog.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst_voices/apps/voices/lib/widgets/modals/voices_upload_file_dialog.dart b/catalyst_voices/apps/voices/lib/widgets/modals/voices_upload_file_dialog.dart index f0b768df36..63811e2aae 100644 --- a/catalyst_voices/apps/voices/lib/widgets/modals/voices_upload_file_dialog.dart +++ b/catalyst_voices/apps/voices/lib/widgets/modals/voices_upload_file_dialog.dart @@ -261,7 +261,7 @@ class _UploadContainerState extends State<_UploadContainer> { onCreated: (DropzoneViewController ctrl) => setState(() { _dropzoneController = ctrl; }), - onDropFile: (ev) async { + onDrop: (ev) async { final bytes = await _dropzoneController.getFileData(ev); final name = await _dropzoneController.getFilename(ev); widget.onFileSelected?.call( From 015d0e93b9754065f68eec6810b7ac421df87eed Mon Sep 17 00:00:00 2001 From: Dominik Toton Date: Mon, 4 Nov 2024 13:17:23 +0100 Subject: [PATCH 69/89] chore: regenerate code --- .../rust/src/frb_generated.rs | 1281 ++++++++++++++++- 1 file changed, 1243 insertions(+), 38 deletions(-) diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/frb_generated.rs b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/frb_generated.rs index 74519579b8..ccc368d0aa 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/frb_generated.rs +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/frb_generated.rs @@ -25,6 +25,7 @@ // Section: imports +use crate::api::key_derivation::*; use flutter_rust_bridge::for_generated::byteorder::{NativeEndian, ReadBytesExt, WriteBytesExt}; use flutter_rust_bridge::for_generated::{transform_result_dco, Lifetimeable, Lockable}; use flutter_rust_bridge::{Handler, IntoIntoDart}; @@ -37,7 +38,7 @@ flutter_rust_bridge::frb_generated_boilerplate!( default_rust_auto_opaque = RustAutoOpaqueMoi, ); pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.5.1"; -pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = -1918914929; +pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = -609775494; // Section: executor @@ -45,15 +46,507 @@ flutter_rust_bridge::frb_generated_default_handler!(); // Section: wire_funcs -fn wire__crate__api__simple__greet_impl( +fn wire__crate__api__key_derivation__SignatureBytes_get_inner_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "SignatureBytes_get_inner", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::SignatureBytes::get_inner(&*api_that_guard), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__SignatureBytes_new_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "SignatureBytes_new", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_sig_bytes = <[u8; 64]>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::SignatureBytes::new(api_sig_bytes), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPrvBytes_derive_xprv_impl( + port_: flutter_rust_bridge::for_generated::MessagePort, + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPrvBytes_derive_xprv", + port: Some(port_), + mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + let api_path = ::sse_decode(&mut deserializer); + deserializer.end(); + move |context| async move { + transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( + (move || async move { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order( + vec![flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + )], + ); + for i in decode_indices_ { + match i { + 0 => { + api_that_guard = + Some(api_that.lockable_decode_async_ref().await) + }, + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = crate::api::key_derivation::XPrvBytes::derive_xprv( + &*api_that_guard, + api_path, + ) + .await?; + Ok(output_ok) + })() + .await, + ) + } + }, + ) +} +fn wire__crate__api__key_derivation__XPrvBytes_drop_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPrvBytes_drop", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, true, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref_mut()), + _ => unreachable!(), + } + } + let mut api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok({ + crate::api::key_derivation::XPrvBytes::drop(&mut *api_that_guard); + })?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPrvBytes_get_chain_code_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPrvBytes_get_chain_code", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::XPrvBytes::get_chain_code(&*api_that_guard), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPrvBytes_get_extended_secret_key_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPrvBytes_get_extended_secret_key", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::XPrvBytes::get_extended_secret_key( + &*api_that_guard, + ), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPrvBytes_get_inner_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPrvBytes_get_inner", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::XPrvBytes::get_inner(&*api_that_guard), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPrvBytes_new_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPrvBytes_new", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_xprv_bytes = <[u8; 96]>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let output_ok = Result::<_, ()>::Ok(crate::api::key_derivation::XPrvBytes::new( + api_xprv_bytes, + ))?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPrvBytes_sign_data_impl( + port_: flutter_rust_bridge::for_generated::MessagePort, + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPrvBytes_sign_data", + port: Some(port_), + mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + let api_data = >::sse_decode(&mut deserializer); + deserializer.end(); + move |context| async move { + transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( + (move || async move { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order( + vec![flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + )], + ); + for i in decode_indices_ { + match i { + 0 => { + api_that_guard = + Some(api_that.lockable_decode_async_ref().await) + }, + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = crate::api::key_derivation::XPrvBytes::sign_data( + &*api_that_guard, + api_data, + ) + .await?; + Ok(output_ok) + })() + .await, + ) + } + }, + ) +} +fn wire__crate__api__key_derivation__XPrvBytes_verify_signature_impl( + port_: flutter_rust_bridge::for_generated::MessagePort, + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPrvBytes_verify_signature", + port: Some(port_), + mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + let api_data = >::sse_decode(&mut deserializer); + let api_signature = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + move |context| async move { + transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( + (move || async move { + let mut api_that_guard = None; + let mut api_signature_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order( + vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_signature, + 1, + false, + ), + ], + ); + for i in decode_indices_ { + match i { + 0 => { + api_that_guard = + Some(api_that.lockable_decode_async_ref().await) + }, + 1 => { + api_signature_guard = + Some(api_signature.lockable_decode_async_ref().await) + }, + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let api_signature_guard = api_signature_guard.unwrap(); + let output_ok = crate::api::key_derivation::XPrvBytes::verify_signature( + &*api_that_guard, + api_data, + &*api_signature_guard, + ) + .await?; + Ok(output_ok) + })() + .await, + ) + } + }, + ) +} +fn wire__crate__api__key_derivation__XPrvBytes_xpublic_key_impl( port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len_: i32, + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, data_len_: i32, ) { FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "greet", + debug_name: "XPrvBytes_xpublic_key", port: Some(port_), mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, }, @@ -67,13 +560,281 @@ fn wire__crate__api__simple__greet_impl( }; let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_name = ::sse_decode(&mut deserializer); + let api_that = , + >>::sse_decode(&mut deserializer); deserializer.end(); move |context| async move { - transform_result_sse::<_, ()>( + transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( (move || async move { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order( + vec![flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + )], + ); + for i in decode_indices_ { + match i { + 0 => { + api_that_guard = + Some(api_that.lockable_decode_async_ref().await) + }, + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); let output_ok = - Result::<_, ()>::Ok(crate::api::simple::greet(api_name).await)?; + crate::api::key_derivation::XPrvBytes::xpublic_key(&*api_that_guard) + .await?; + Ok(output_ok) + })() + .await, + ) + } + }, + ) +} +fn wire__crate__api__key_derivation__XPubBytes_get_chain_code_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPubBytes_get_chain_code", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::XPubBytes::get_chain_code(&*api_that_guard), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPubBytes_get_inner_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPubBytes_get_inner", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::XPubBytes::get_inner(&*api_that_guard), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPubBytes_get_public_key_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPubBytes_get_public_key", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let mut api_that_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + ]); + for i in decode_indices_ { + match i { + 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let output_ok = Result::<_, ()>::Ok( + crate::api::key_derivation::XPubBytes::get_public_key(&*api_that_guard), + )?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPubBytes_new_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPubBytes_new", + port: None, + mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_xpub_bytes = <[u8; 64]>::sse_decode(&mut deserializer); + deserializer.end(); + transform_result_sse::<_, ()>((move || { + let output_ok = Result::<_, ()>::Ok(crate::api::key_derivation::XPubBytes::new( + api_xpub_bytes, + ))?; + Ok(output_ok) + })()) + }, + ) +} +fn wire__crate__api__key_derivation__XPubBytes_verify_signature_impl( + port_: flutter_rust_bridge::for_generated::MessagePort, + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, + data_len_: i32, +) { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( + flutter_rust_bridge::for_generated::TaskInfo { + debug_name: "XPubBytes_verify_signature", + port: Some(port_), + mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, + }, + move || { + let message = unsafe { + flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( + ptr_, + rust_vec_len_, + data_len_, + ) + }; + let mut deserializer = + flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_that = , + >>::sse_decode(&mut deserializer); + let api_data = >::sse_decode(&mut deserializer); + let api_signature = , + >>::sse_decode(&mut deserializer); + deserializer.end(); + move |context| async move { + transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( + (move || async move { + let mut api_that_guard = None; + let mut api_signature_guard = None; + let decode_indices_ = + flutter_rust_bridge::for_generated::lockable_compute_decode_order( + vec![ + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_that, 0, false, + ), + flutter_rust_bridge::for_generated::LockableOrderInfo::new( + &api_signature, + 1, + false, + ), + ], + ); + for i in decode_indices_ { + match i { + 0 => { + api_that_guard = + Some(api_that.lockable_decode_async_ref().await) + }, + 1 => { + api_signature_guard = + Some(api_signature.lockable_decode_async_ref().await) + }, + _ => unreachable!(), + } + } + let api_that_guard = api_that_guard.unwrap(); + let api_signature_guard = api_signature_guard.unwrap(); + let output_ok = crate::api::key_derivation::XPubBytes::verify_signature( + &*api_that_guard, + api_data, + &*api_signature_guard, + ) + .await?; Ok(output_ok) })() .await, @@ -82,15 +843,14 @@ fn wire__crate__api__simple__greet_impl( }, ) } -fn wire__crate__api__simple__init_app_impl( +fn wire__crate__api__key_derivation__mnemonic_to_xprv_impl( port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len_: i32, + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, data_len_: i32, ) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_normal::( + FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "init_app", + debug_name: "mnemonic_to_xprv", port: Some(port_), mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, }, @@ -104,21 +864,108 @@ fn wire__crate__api__simple__init_app_impl( }; let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_mnemonic = ::sse_decode(&mut deserializer); + let api_passphrase = >::sse_decode(&mut deserializer); deserializer.end(); - move |context| { - transform_result_sse::<_, ()>((move || { - let output_ok = Result::<_, ()>::Ok({ - crate::api::simple::init_app(); - })?; - Ok(output_ok) - })()) + move |context| async move { + transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( + (move || async move { + let output_ok = crate::api::key_derivation::mnemonic_to_xprv( + api_mnemonic, + api_passphrase, + ) + .await?; + Ok(output_ok) + })() + .await, + ) } }, ) } +// Section: related_funcs + +flutter_rust_bridge::frb_generated_moi_arc_impl_value!( + flutter_rust_bridge::for_generated::RustAutoOpaqueInner +); +flutter_rust_bridge::frb_generated_moi_arc_impl_value!( + flutter_rust_bridge::for_generated::RustAutoOpaqueInner +); +flutter_rust_bridge::frb_generated_moi_arc_impl_value!( + flutter_rust_bridge::for_generated::RustAutoOpaqueInner +); + // Section: dart2rust +impl SseDecode for flutter_rust_bridge::for_generated::anyhow::Error { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = ::sse_decode(deserializer); + return flutter_rust_bridge::for_generated::anyhow::anyhow!("{}", inner); + } +} + +impl SseDecode for SignatureBytes { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = , + >>::sse_decode(deserializer); + return flutter_rust_bridge::for_generated::rust_auto_opaque_decode_owned(inner); + } +} + +impl SseDecode for XPrvBytes { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = , + >>::sse_decode(deserializer); + return flutter_rust_bridge::for_generated::rust_auto_opaque_decode_owned(inner); + } +} + +impl SseDecode for XPubBytes { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = , + >>::sse_decode(deserializer); + return flutter_rust_bridge::for_generated::rust_auto_opaque_decode_owned(inner); + } +} + +impl SseDecode + for RustOpaqueMoi> +{ + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = ::sse_decode(deserializer); + return decode_rust_opaque_moi(inner); + } +} + +impl SseDecode + for RustOpaqueMoi> +{ + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = ::sse_decode(deserializer); + return decode_rust_opaque_moi(inner); + } +} + +impl SseDecode + for RustOpaqueMoi> +{ + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = ::sse_decode(deserializer); + return decode_rust_opaque_moi(inner); + } +} + impl SseDecode for String { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { @@ -127,6 +974,13 @@ impl SseDecode for String { } } +impl SseDecode for bool { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + deserializer.cursor.read_u8().unwrap() != 0 + } +} + impl SseDecode for Vec { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { @@ -139,6 +993,17 @@ impl SseDecode for Vec { } } +impl SseDecode for Option { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + if (::sse_decode(deserializer)) { + return Some(::sse_decode(deserializer)); + } else { + return None; + } + } +} + impl SseDecode for u8 { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { @@ -146,54 +1011,249 @@ impl SseDecode for u8 { } } +impl SseDecode for [u8; 32] { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = >::sse_decode(deserializer); + return flutter_rust_bridge::for_generated::from_vec_to_array(inner); + } +} + +impl SseDecode for [u8; 64] { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = >::sse_decode(deserializer); + return flutter_rust_bridge::for_generated::from_vec_to_array(inner); + } +} + +impl SseDecode for [u8; 96] { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { + let mut inner = >::sse_decode(deserializer); + return flutter_rust_bridge::for_generated::from_vec_to_array(inner); + } +} + impl SseDecode for () { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {} } -impl SseDecode for i32 { +impl SseDecode for usize { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - deserializer.cursor.read_i32::().unwrap() + deserializer.cursor.read_u64::().unwrap() as _ } } -impl SseDecode for bool { +impl SseDecode for i32 { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - deserializer.cursor.read_u8().unwrap() != 0 + deserializer.cursor.read_i32::().unwrap() } } fn pde_ffi_dispatcher_primary_impl( - func_id: i32, - port: flutter_rust_bridge::for_generated::MessagePort, - ptr: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len: i32, + func_id: i32, port: flutter_rust_bridge::for_generated::MessagePort, + ptr: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len: i32, data_len: i32, ) { // Codec=Pde (Serialization + dispatch), see doc to use other codecs match func_id { - 1 => wire__crate__api__simple__greet_impl(port, ptr, rust_vec_len, data_len), - 2 => wire__crate__api__simple__init_app_impl(port, ptr, rust_vec_len, data_len), + 3 => wire__crate__api__key_derivation__XPrvBytes_derive_xprv_impl( + port, + ptr, + rust_vec_len, + data_len, + ), + 9 => wire__crate__api__key_derivation__XPrvBytes_sign_data_impl( + port, + ptr, + rust_vec_len, + data_len, + ), + 10 => wire__crate__api__key_derivation__XPrvBytes_verify_signature_impl( + port, + ptr, + rust_vec_len, + data_len, + ), + 11 => wire__crate__api__key_derivation__XPrvBytes_xpublic_key_impl( + port, + ptr, + rust_vec_len, + data_len, + ), + 16 => wire__crate__api__key_derivation__XPubBytes_verify_signature_impl( + port, + ptr, + rust_vec_len, + data_len, + ), + 17 => wire__crate__api__key_derivation__mnemonic_to_xprv_impl( + port, + ptr, + rust_vec_len, + data_len, + ), _ => unreachable!(), } } fn pde_ffi_dispatcher_sync_impl( - func_id: i32, - ptr: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len: i32, - data_len: i32, + func_id: i32, ptr: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, + rust_vec_len: i32, data_len: i32, ) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { // Codec=Pde (Serialization + dispatch), see doc to use other codecs match func_id { + 1 => wire__crate__api__key_derivation__SignatureBytes_get_inner_impl( + ptr, + rust_vec_len, + data_len, + ), + 2 => wire__crate__api__key_derivation__SignatureBytes_new_impl(ptr, rust_vec_len, data_len), + 4 => wire__crate__api__key_derivation__XPrvBytes_drop_impl(ptr, rust_vec_len, data_len), + 5 => wire__crate__api__key_derivation__XPrvBytes_get_chain_code_impl( + ptr, + rust_vec_len, + data_len, + ), + 6 => wire__crate__api__key_derivation__XPrvBytes_get_extended_secret_key_impl( + ptr, + rust_vec_len, + data_len, + ), + 7 => { + wire__crate__api__key_derivation__XPrvBytes_get_inner_impl(ptr, rust_vec_len, data_len) + }, + 8 => wire__crate__api__key_derivation__XPrvBytes_new_impl(ptr, rust_vec_len, data_len), + 12 => wire__crate__api__key_derivation__XPubBytes_get_chain_code_impl( + ptr, + rust_vec_len, + data_len, + ), + 13 => { + wire__crate__api__key_derivation__XPubBytes_get_inner_impl(ptr, rust_vec_len, data_len) + }, + 14 => wire__crate__api__key_derivation__XPubBytes_get_public_key_impl( + ptr, + rust_vec_len, + data_len, + ), + 15 => wire__crate__api__key_derivation__XPubBytes_new_impl(ptr, rust_vec_len, data_len), _ => unreachable!(), } } // Section: rust2dart +// Codec=Dco (DartCObject based), see doc to use other codecs +impl flutter_rust_bridge::IntoDart for FrbWrapper { + fn into_dart(self) -> flutter_rust_bridge::for_generated::DartAbi { + flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self.0) + .into_dart() + } +} +impl flutter_rust_bridge::for_generated::IntoDartExceptPrimitive for FrbWrapper {} + +impl flutter_rust_bridge::IntoIntoDart> for SignatureBytes { + fn into_into_dart(self) -> FrbWrapper { + self.into() + } +} + +// Codec=Dco (DartCObject based), see doc to use other codecs +impl flutter_rust_bridge::IntoDart for FrbWrapper { + fn into_dart(self) -> flutter_rust_bridge::for_generated::DartAbi { + flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self.0) + .into_dart() + } +} +impl flutter_rust_bridge::for_generated::IntoDartExceptPrimitive for FrbWrapper {} + +impl flutter_rust_bridge::IntoIntoDart> for XPrvBytes { + fn into_into_dart(self) -> FrbWrapper { + self.into() + } +} + +// Codec=Dco (DartCObject based), see doc to use other codecs +impl flutter_rust_bridge::IntoDart for FrbWrapper { + fn into_dart(self) -> flutter_rust_bridge::for_generated::DartAbi { + flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self.0) + .into_dart() + } +} +impl flutter_rust_bridge::for_generated::IntoDartExceptPrimitive for FrbWrapper {} + +impl flutter_rust_bridge::IntoIntoDart> for XPubBytes { + fn into_into_dart(self) -> FrbWrapper { + self.into() + } +} + +impl SseEncode for flutter_rust_bridge::for_generated::anyhow::Error { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + ::sse_encode(format!("{:?}", self), serializer); + } +} + +impl SseEncode for SignatureBytes { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + >>::sse_encode(flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self), serializer); + } +} + +impl SseEncode for XPrvBytes { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + >>::sse_encode(flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self), serializer); + } +} + +impl SseEncode for XPubBytes { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + >>::sse_encode(flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self), serializer); + } +} + +impl SseEncode + for RustOpaqueMoi> +{ + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + let (ptr, size) = self.sse_encode_raw(); + ::sse_encode(ptr, serializer); + ::sse_encode(size, serializer); + } +} + +impl SseEncode + for RustOpaqueMoi> +{ + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + let (ptr, size) = self.sse_encode_raw(); + ::sse_encode(ptr, serializer); + ::sse_encode(size, serializer); + } +} + +impl SseEncode + for RustOpaqueMoi> +{ + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + let (ptr, size) = self.sse_encode_raw(); + ::sse_encode(ptr, serializer); + ::sse_encode(size, serializer); + } +} + impl SseEncode for String { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { @@ -201,6 +1261,13 @@ impl SseEncode for String { } } +impl SseEncode for bool { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + serializer.cursor.write_u8(self as _).unwrap(); + } +} + impl SseEncode for Vec { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { @@ -211,6 +1278,16 @@ impl SseEncode for Vec { } } +impl SseEncode for Option { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + ::sse_encode(self.is_some(), serializer); + if let Some(value) = self { + ::sse_encode(value, serializer); + } + } +} + impl SseEncode for u8 { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { @@ -218,22 +1295,64 @@ impl SseEncode for u8 { } } +impl SseEncode for [u8; 32] { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + >::sse_encode( + { + let boxed: Box<[_]> = Box::new(self); + boxed.into_vec() + }, + serializer, + ); + } +} + +impl SseEncode for [u8; 64] { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + >::sse_encode( + { + let boxed: Box<[_]> = Box::new(self); + boxed.into_vec() + }, + serializer, + ); + } +} + +impl SseEncode for [u8; 96] { + // Codec=Sse (Serialization based), see doc to use other codecs + fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { + >::sse_encode( + { + let boxed: Box<[_]> = Box::new(self); + boxed.into_vec() + }, + serializer, + ); + } +} + impl SseEncode for () { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) {} } -impl SseEncode for i32 { +impl SseEncode for usize { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - serializer.cursor.write_i32::(self).unwrap(); + serializer + .cursor + .write_u64::(self as _) + .unwrap(); } } -impl SseEncode for bool { +impl SseEncode for i32 { // Codec=Sse (Serialization based), see doc to use other codecs fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - serializer.cursor.write_u8(self as _).unwrap(); + serializer.cursor.write_i32::(self).unwrap(); } } @@ -245,6 +1364,7 @@ mod io { // Section: imports use super::*; + use crate::api::key_derivation::*; use flutter_rust_bridge::for_generated::byteorder::{ NativeEndian, ReadBytesExt, WriteBytesExt, }; @@ -254,6 +1374,48 @@ mod io { // Section: boilerplate flutter_rust_bridge::frb_generated_boilerplate_io!(); + + #[no_mangle] + pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::increment_strong_count(ptr as _); + } + + #[no_mangle] + pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::decrement_strong_count(ptr as _); + } + + #[no_mangle] + pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::increment_strong_count(ptr as _); + } + + #[no_mangle] + pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::decrement_strong_count(ptr as _); + } + + #[no_mangle] + pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::increment_strong_count(ptr as _); + } + + #[no_mangle] + pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::decrement_strong_count(ptr as _); + } } #[cfg(not(target_family = "wasm"))] pub use io::*; @@ -267,6 +1429,7 @@ mod web { // Section: imports use super::*; + use crate::api::key_derivation::*; use flutter_rust_bridge::for_generated::byteorder::{ NativeEndian, ReadBytesExt, WriteBytesExt, }; @@ -278,6 +1441,48 @@ mod web { // Section: boilerplate flutter_rust_bridge::frb_generated_boilerplate_web!(); + + #[wasm_bindgen] + pub fn rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::increment_strong_count(ptr as _); + } + + #[wasm_bindgen] + pub fn rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::decrement_strong_count(ptr as _); + } + + #[wasm_bindgen] + pub fn rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::increment_strong_count(ptr as _); + } + + #[wasm_bindgen] + pub fn rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::decrement_strong_count(ptr as _); + } + + #[wasm_bindgen] + pub fn rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::increment_strong_count(ptr as _); + } + + #[wasm_bindgen] + pub fn rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + ptr: *const std::ffi::c_void, + ) { + MoiArc::>::decrement_strong_count(ptr as _); + } } #[cfg(target_family = "wasm")] pub use web::*; From a20e18dfab8eaf41c8a71cec96078ff587579e65 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Mon, 4 Nov 2024 19:41:56 +0700 Subject: [PATCH 70/89] fix: remove frb generated rust file Signed-off-by: bkioshn --- .../rust/src/frb_generated.rs | 1488 ----------------- 1 file changed, 1488 deletions(-) delete mode 100644 catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/frb_generated.rs diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/frb_generated.rs b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/frb_generated.rs deleted file mode 100644 index ccc368d0aa..0000000000 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/frb_generated.rs +++ /dev/null @@ -1,1488 +0,0 @@ -// This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.5.1. - -#![allow( - non_camel_case_types, - unused, - non_snake_case, - clippy::needless_return, - clippy::redundant_closure_call, - clippy::redundant_closure, - clippy::useless_conversion, - clippy::unit_arg, - clippy::unused_unit, - clippy::double_parens, - clippy::let_and_return, - clippy::too_many_arguments, - clippy::match_single_binding, - clippy::clone_on_copy, - clippy::let_unit_value, - clippy::deref_addrof, - clippy::explicit_auto_deref, - clippy::borrow_deref_ref, - clippy::needless_borrow -)] - -// Section: imports - -use crate::api::key_derivation::*; -use flutter_rust_bridge::for_generated::byteorder::{NativeEndian, ReadBytesExt, WriteBytesExt}; -use flutter_rust_bridge::for_generated::{transform_result_dco, Lifetimeable, Lockable}; -use flutter_rust_bridge::{Handler, IntoIntoDart}; - -// Section: boilerplate - -flutter_rust_bridge::frb_generated_boilerplate!( - default_stream_sink_codec = SseCodec, - default_rust_opaque = RustOpaqueMoi, - default_rust_auto_opaque = RustAutoOpaqueMoi, -); -pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.5.1"; -pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = -609775494; - -// Section: executor - -flutter_rust_bridge::frb_generated_default_handler!(); - -// Section: wire_funcs - -fn wire__crate__api__key_derivation__SignatureBytes_get_inner_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "SignatureBytes_get_inner", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::SignatureBytes::get_inner(&*api_that_guard), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__SignatureBytes_new_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "SignatureBytes_new", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_sig_bytes = <[u8; 64]>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::SignatureBytes::new(api_sig_bytes), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_derive_xprv_impl( - port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_derive_xprv", - port: Some(port_), - mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - let api_path = ::sse_decode(&mut deserializer); - deserializer.end(); - move |context| async move { - transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( - (move || async move { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order( - vec![flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - )], - ); - for i in decode_indices_ { - match i { - 0 => { - api_that_guard = - Some(api_that.lockable_decode_async_ref().await) - }, - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = crate::api::key_derivation::XPrvBytes::derive_xprv( - &*api_that_guard, - api_path, - ) - .await?; - Ok(output_ok) - })() - .await, - ) - } - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_drop_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_drop", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, true, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref_mut()), - _ => unreachable!(), - } - } - let mut api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok({ - crate::api::key_derivation::XPrvBytes::drop(&mut *api_that_guard); - })?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_get_chain_code_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_get_chain_code", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::XPrvBytes::get_chain_code(&*api_that_guard), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_get_extended_secret_key_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_get_extended_secret_key", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::XPrvBytes::get_extended_secret_key( - &*api_that_guard, - ), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_get_inner_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_get_inner", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::XPrvBytes::get_inner(&*api_that_guard), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_new_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_new", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_xprv_bytes = <[u8; 96]>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let output_ok = Result::<_, ()>::Ok(crate::api::key_derivation::XPrvBytes::new( - api_xprv_bytes, - ))?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_sign_data_impl( - port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_sign_data", - port: Some(port_), - mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - let api_data = >::sse_decode(&mut deserializer); - deserializer.end(); - move |context| async move { - transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( - (move || async move { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order( - vec![flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - )], - ); - for i in decode_indices_ { - match i { - 0 => { - api_that_guard = - Some(api_that.lockable_decode_async_ref().await) - }, - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = crate::api::key_derivation::XPrvBytes::sign_data( - &*api_that_guard, - api_data, - ) - .await?; - Ok(output_ok) - })() - .await, - ) - } - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_verify_signature_impl( - port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_verify_signature", - port: Some(port_), - mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - let api_data = >::sse_decode(&mut deserializer); - let api_signature = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - move |context| async move { - transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( - (move || async move { - let mut api_that_guard = None; - let mut api_signature_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order( - vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_signature, - 1, - false, - ), - ], - ); - for i in decode_indices_ { - match i { - 0 => { - api_that_guard = - Some(api_that.lockable_decode_async_ref().await) - }, - 1 => { - api_signature_guard = - Some(api_signature.lockable_decode_async_ref().await) - }, - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let api_signature_guard = api_signature_guard.unwrap(); - let output_ok = crate::api::key_derivation::XPrvBytes::verify_signature( - &*api_that_guard, - api_data, - &*api_signature_guard, - ) - .await?; - Ok(output_ok) - })() - .await, - ) - } - }, - ) -} -fn wire__crate__api__key_derivation__XPrvBytes_xpublic_key_impl( - port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPrvBytes_xpublic_key", - port: Some(port_), - mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - move |context| async move { - transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( - (move || async move { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order( - vec![flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - )], - ); - for i in decode_indices_ { - match i { - 0 => { - api_that_guard = - Some(api_that.lockable_decode_async_ref().await) - }, - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = - crate::api::key_derivation::XPrvBytes::xpublic_key(&*api_that_guard) - .await?; - Ok(output_ok) - })() - .await, - ) - } - }, - ) -} -fn wire__crate__api__key_derivation__XPubBytes_get_chain_code_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPubBytes_get_chain_code", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::XPubBytes::get_chain_code(&*api_that_guard), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPubBytes_get_inner_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPubBytes_get_inner", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::XPubBytes::get_inner(&*api_that_guard), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPubBytes_get_public_key_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPubBytes_get_public_key", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let mut api_that_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order(vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - ]); - for i in decode_indices_ { - match i { - 0 => api_that_guard = Some(api_that.lockable_decode_sync_ref()), - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let output_ok = Result::<_, ()>::Ok( - crate::api::key_derivation::XPubBytes::get_public_key(&*api_that_guard), - )?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPubBytes_new_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPubBytes_new", - port: None, - mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_xpub_bytes = <[u8; 64]>::sse_decode(&mut deserializer); - deserializer.end(); - transform_result_sse::<_, ()>((move || { - let output_ok = Result::<_, ()>::Ok(crate::api::key_derivation::XPubBytes::new( - api_xpub_bytes, - ))?; - Ok(output_ok) - })()) - }, - ) -} -fn wire__crate__api__key_derivation__XPubBytes_verify_signature_impl( - port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "XPubBytes_verify_signature", - port: Some(port_), - mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_that = , - >>::sse_decode(&mut deserializer); - let api_data = >::sse_decode(&mut deserializer); - let api_signature = , - >>::sse_decode(&mut deserializer); - deserializer.end(); - move |context| async move { - transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( - (move || async move { - let mut api_that_guard = None; - let mut api_signature_guard = None; - let decode_indices_ = - flutter_rust_bridge::for_generated::lockable_compute_decode_order( - vec![ - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_that, 0, false, - ), - flutter_rust_bridge::for_generated::LockableOrderInfo::new( - &api_signature, - 1, - false, - ), - ], - ); - for i in decode_indices_ { - match i { - 0 => { - api_that_guard = - Some(api_that.lockable_decode_async_ref().await) - }, - 1 => { - api_signature_guard = - Some(api_signature.lockable_decode_async_ref().await) - }, - _ => unreachable!(), - } - } - let api_that_guard = api_that_guard.unwrap(); - let api_signature_guard = api_signature_guard.unwrap(); - let output_ok = crate::api::key_derivation::XPubBytes::verify_signature( - &*api_that_guard, - api_data, - &*api_signature_guard, - ) - .await?; - Ok(output_ok) - })() - .await, - ) - } - }, - ) -} -fn wire__crate__api__key_derivation__mnemonic_to_xprv_impl( - port_: flutter_rust_bridge::for_generated::MessagePort, - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, - data_len_: i32, -) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_async::( - flutter_rust_bridge::for_generated::TaskInfo { - debug_name: "mnemonic_to_xprv", - port: Some(port_), - mode: flutter_rust_bridge::for_generated::FfiCallMode::Normal, - }, - move || { - let message = unsafe { - flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire( - ptr_, - rust_vec_len_, - data_len_, - ) - }; - let mut deserializer = - flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_mnemonic = ::sse_decode(&mut deserializer); - let api_passphrase = >::sse_decode(&mut deserializer); - deserializer.end(); - move |context| async move { - transform_result_sse::<_, flutter_rust_bridge::for_generated::anyhow::Error>( - (move || async move { - let output_ok = crate::api::key_derivation::mnemonic_to_xprv( - api_mnemonic, - api_passphrase, - ) - .await?; - Ok(output_ok) - })() - .await, - ) - } - }, - ) -} - -// Section: related_funcs - -flutter_rust_bridge::frb_generated_moi_arc_impl_value!( - flutter_rust_bridge::for_generated::RustAutoOpaqueInner -); -flutter_rust_bridge::frb_generated_moi_arc_impl_value!( - flutter_rust_bridge::for_generated::RustAutoOpaqueInner -); -flutter_rust_bridge::frb_generated_moi_arc_impl_value!( - flutter_rust_bridge::for_generated::RustAutoOpaqueInner -); - -// Section: dart2rust - -impl SseDecode for flutter_rust_bridge::for_generated::anyhow::Error { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = ::sse_decode(deserializer); - return flutter_rust_bridge::for_generated::anyhow::anyhow!("{}", inner); - } -} - -impl SseDecode for SignatureBytes { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = , - >>::sse_decode(deserializer); - return flutter_rust_bridge::for_generated::rust_auto_opaque_decode_owned(inner); - } -} - -impl SseDecode for XPrvBytes { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = , - >>::sse_decode(deserializer); - return flutter_rust_bridge::for_generated::rust_auto_opaque_decode_owned(inner); - } -} - -impl SseDecode for XPubBytes { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = , - >>::sse_decode(deserializer); - return flutter_rust_bridge::for_generated::rust_auto_opaque_decode_owned(inner); - } -} - -impl SseDecode - for RustOpaqueMoi> -{ - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = ::sse_decode(deserializer); - return decode_rust_opaque_moi(inner); - } -} - -impl SseDecode - for RustOpaqueMoi> -{ - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = ::sse_decode(deserializer); - return decode_rust_opaque_moi(inner); - } -} - -impl SseDecode - for RustOpaqueMoi> -{ - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = ::sse_decode(deserializer); - return decode_rust_opaque_moi(inner); - } -} - -impl SseDecode for String { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = >::sse_decode(deserializer); - return String::from_utf8(inner).unwrap(); - } -} - -impl SseDecode for bool { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - deserializer.cursor.read_u8().unwrap() != 0 - } -} - -impl SseDecode for Vec { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut len_ = ::sse_decode(deserializer); - let mut ans_ = vec![]; - for idx_ in 0..len_ { - ans_.push(::sse_decode(deserializer)); - } - return ans_; - } -} - -impl SseDecode for Option { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - if (::sse_decode(deserializer)) { - return Some(::sse_decode(deserializer)); - } else { - return None; - } - } -} - -impl SseDecode for u8 { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - deserializer.cursor.read_u8().unwrap() - } -} - -impl SseDecode for [u8; 32] { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = >::sse_decode(deserializer); - return flutter_rust_bridge::for_generated::from_vec_to_array(inner); - } -} - -impl SseDecode for [u8; 64] { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = >::sse_decode(deserializer); - return flutter_rust_bridge::for_generated::from_vec_to_array(inner); - } -} - -impl SseDecode for [u8; 96] { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - let mut inner = >::sse_decode(deserializer); - return flutter_rust_bridge::for_generated::from_vec_to_array(inner); - } -} - -impl SseDecode for () { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {} -} - -impl SseDecode for usize { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - deserializer.cursor.read_u64::().unwrap() as _ - } -} - -impl SseDecode for i32 { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self { - deserializer.cursor.read_i32::().unwrap() - } -} - -fn pde_ffi_dispatcher_primary_impl( - func_id: i32, port: flutter_rust_bridge::for_generated::MessagePort, - ptr: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len: i32, - data_len: i32, -) { - // Codec=Pde (Serialization + dispatch), see doc to use other codecs - match func_id { - 3 => wire__crate__api__key_derivation__XPrvBytes_derive_xprv_impl( - port, - ptr, - rust_vec_len, - data_len, - ), - 9 => wire__crate__api__key_derivation__XPrvBytes_sign_data_impl( - port, - ptr, - rust_vec_len, - data_len, - ), - 10 => wire__crate__api__key_derivation__XPrvBytes_verify_signature_impl( - port, - ptr, - rust_vec_len, - data_len, - ), - 11 => wire__crate__api__key_derivation__XPrvBytes_xpublic_key_impl( - port, - ptr, - rust_vec_len, - data_len, - ), - 16 => wire__crate__api__key_derivation__XPubBytes_verify_signature_impl( - port, - ptr, - rust_vec_len, - data_len, - ), - 17 => wire__crate__api__key_derivation__mnemonic_to_xprv_impl( - port, - ptr, - rust_vec_len, - data_len, - ), - _ => unreachable!(), - } -} - -fn pde_ffi_dispatcher_sync_impl( - func_id: i32, ptr: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len: i32, data_len: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - // Codec=Pde (Serialization + dispatch), see doc to use other codecs - match func_id { - 1 => wire__crate__api__key_derivation__SignatureBytes_get_inner_impl( - ptr, - rust_vec_len, - data_len, - ), - 2 => wire__crate__api__key_derivation__SignatureBytes_new_impl(ptr, rust_vec_len, data_len), - 4 => wire__crate__api__key_derivation__XPrvBytes_drop_impl(ptr, rust_vec_len, data_len), - 5 => wire__crate__api__key_derivation__XPrvBytes_get_chain_code_impl( - ptr, - rust_vec_len, - data_len, - ), - 6 => wire__crate__api__key_derivation__XPrvBytes_get_extended_secret_key_impl( - ptr, - rust_vec_len, - data_len, - ), - 7 => { - wire__crate__api__key_derivation__XPrvBytes_get_inner_impl(ptr, rust_vec_len, data_len) - }, - 8 => wire__crate__api__key_derivation__XPrvBytes_new_impl(ptr, rust_vec_len, data_len), - 12 => wire__crate__api__key_derivation__XPubBytes_get_chain_code_impl( - ptr, - rust_vec_len, - data_len, - ), - 13 => { - wire__crate__api__key_derivation__XPubBytes_get_inner_impl(ptr, rust_vec_len, data_len) - }, - 14 => wire__crate__api__key_derivation__XPubBytes_get_public_key_impl( - ptr, - rust_vec_len, - data_len, - ), - 15 => wire__crate__api__key_derivation__XPubBytes_new_impl(ptr, rust_vec_len, data_len), - _ => unreachable!(), - } -} - -// Section: rust2dart - -// Codec=Dco (DartCObject based), see doc to use other codecs -impl flutter_rust_bridge::IntoDart for FrbWrapper { - fn into_dart(self) -> flutter_rust_bridge::for_generated::DartAbi { - flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self.0) - .into_dart() - } -} -impl flutter_rust_bridge::for_generated::IntoDartExceptPrimitive for FrbWrapper {} - -impl flutter_rust_bridge::IntoIntoDart> for SignatureBytes { - fn into_into_dart(self) -> FrbWrapper { - self.into() - } -} - -// Codec=Dco (DartCObject based), see doc to use other codecs -impl flutter_rust_bridge::IntoDart for FrbWrapper { - fn into_dart(self) -> flutter_rust_bridge::for_generated::DartAbi { - flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self.0) - .into_dart() - } -} -impl flutter_rust_bridge::for_generated::IntoDartExceptPrimitive for FrbWrapper {} - -impl flutter_rust_bridge::IntoIntoDart> for XPrvBytes { - fn into_into_dart(self) -> FrbWrapper { - self.into() - } -} - -// Codec=Dco (DartCObject based), see doc to use other codecs -impl flutter_rust_bridge::IntoDart for FrbWrapper { - fn into_dart(self) -> flutter_rust_bridge::for_generated::DartAbi { - flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self.0) - .into_dart() - } -} -impl flutter_rust_bridge::for_generated::IntoDartExceptPrimitive for FrbWrapper {} - -impl flutter_rust_bridge::IntoIntoDart> for XPubBytes { - fn into_into_dart(self) -> FrbWrapper { - self.into() - } -} - -impl SseEncode for flutter_rust_bridge::for_generated::anyhow::Error { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - ::sse_encode(format!("{:?}", self), serializer); - } -} - -impl SseEncode for SignatureBytes { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - >>::sse_encode(flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self), serializer); - } -} - -impl SseEncode for XPrvBytes { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - >>::sse_encode(flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self), serializer); - } -} - -impl SseEncode for XPubBytes { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - >>::sse_encode(flutter_rust_bridge::for_generated::rust_auto_opaque_encode::<_, MoiArc<_>>(self), serializer); - } -} - -impl SseEncode - for RustOpaqueMoi> -{ - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - let (ptr, size) = self.sse_encode_raw(); - ::sse_encode(ptr, serializer); - ::sse_encode(size, serializer); - } -} - -impl SseEncode - for RustOpaqueMoi> -{ - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - let (ptr, size) = self.sse_encode_raw(); - ::sse_encode(ptr, serializer); - ::sse_encode(size, serializer); - } -} - -impl SseEncode - for RustOpaqueMoi> -{ - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - let (ptr, size) = self.sse_encode_raw(); - ::sse_encode(ptr, serializer); - ::sse_encode(size, serializer); - } -} - -impl SseEncode for String { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - >::sse_encode(self.into_bytes(), serializer); - } -} - -impl SseEncode for bool { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - serializer.cursor.write_u8(self as _).unwrap(); - } -} - -impl SseEncode for Vec { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - ::sse_encode(self.len() as _, serializer); - for item in self { - ::sse_encode(item, serializer); - } - } -} - -impl SseEncode for Option { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - ::sse_encode(self.is_some(), serializer); - if let Some(value) = self { - ::sse_encode(value, serializer); - } - } -} - -impl SseEncode for u8 { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - serializer.cursor.write_u8(self).unwrap(); - } -} - -impl SseEncode for [u8; 32] { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - >::sse_encode( - { - let boxed: Box<[_]> = Box::new(self); - boxed.into_vec() - }, - serializer, - ); - } -} - -impl SseEncode for [u8; 64] { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - >::sse_encode( - { - let boxed: Box<[_]> = Box::new(self); - boxed.into_vec() - }, - serializer, - ); - } -} - -impl SseEncode for [u8; 96] { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - >::sse_encode( - { - let boxed: Box<[_]> = Box::new(self); - boxed.into_vec() - }, - serializer, - ); - } -} - -impl SseEncode for () { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) {} -} - -impl SseEncode for usize { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - serializer - .cursor - .write_u64::(self as _) - .unwrap(); - } -} - -impl SseEncode for i32 { - // Codec=Sse (Serialization based), see doc to use other codecs - fn sse_encode(self, serializer: &mut flutter_rust_bridge::for_generated::SseSerializer) { - serializer.cursor.write_i32::(self).unwrap(); - } -} - -#[cfg(not(target_family = "wasm"))] -mod io { - // This file is automatically generated, so please do not edit it. - // @generated by `flutter_rust_bridge`@ 2.5.1. - - // Section: imports - - use super::*; - use crate::api::key_derivation::*; - use flutter_rust_bridge::for_generated::byteorder::{ - NativeEndian, ReadBytesExt, WriteBytesExt, - }; - use flutter_rust_bridge::for_generated::{transform_result_dco, Lifetimeable, Lockable}; - use flutter_rust_bridge::{Handler, IntoIntoDart}; - - // Section: boilerplate - - flutter_rust_bridge::frb_generated_boilerplate_io!(); - - #[no_mangle] - pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::increment_strong_count(ptr as _); - } - - #[no_mangle] - pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::decrement_strong_count(ptr as _); - } - - #[no_mangle] - pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::increment_strong_count(ptr as _); - } - - #[no_mangle] - pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::decrement_strong_count(ptr as _); - } - - #[no_mangle] - pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::increment_strong_count(ptr as _); - } - - #[no_mangle] - pub extern "C" fn frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::decrement_strong_count(ptr as _); - } -} -#[cfg(not(target_family = "wasm"))] -pub use io::*; - -/// cbindgen:ignore -#[cfg(target_family = "wasm")] -mod web { - // This file is automatically generated, so please do not edit it. - // @generated by `flutter_rust_bridge`@ 2.5.1. - - // Section: imports - - use super::*; - use crate::api::key_derivation::*; - use flutter_rust_bridge::for_generated::byteorder::{ - NativeEndian, ReadBytesExt, WriteBytesExt, - }; - use flutter_rust_bridge::for_generated::wasm_bindgen; - use flutter_rust_bridge::for_generated::wasm_bindgen::prelude::*; - use flutter_rust_bridge::for_generated::{transform_result_dco, Lifetimeable, Lockable}; - use flutter_rust_bridge::{Handler, IntoIntoDart}; - - // Section: boilerplate - - flutter_rust_bridge::frb_generated_boilerplate_web!(); - - #[wasm_bindgen] - pub fn rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::increment_strong_count(ptr as _); - } - - #[wasm_bindgen] - pub fn rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::decrement_strong_count(ptr as _); - } - - #[wasm_bindgen] - pub fn rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::increment_strong_count(ptr as _); - } - - #[wasm_bindgen] - pub fn rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::decrement_strong_count(ptr as _); - } - - #[wasm_bindgen] - pub fn rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::increment_strong_count(ptr as _); - } - - #[wasm_bindgen] - pub fn rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - ptr: *const std::ffi::c_void, - ) { - MoiArc::>::decrement_strong_count(ptr as _); - } -} -#[cfg(target_family = "wasm")] -pub use web::*; From f627f07876e3132eaed32a8fa7e695e2b5f5c732 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Mon, 4 Nov 2024 19:42:11 +0700 Subject: [PATCH 71/89] fix: rename Signed-off-by: bkioshn --- .../rust/src/api/key_derivation/mod.rs | 68 +++++++++---------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs index 6f15bc34a9..d59d227182 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs @@ -13,25 +13,25 @@ use sha2::Sha512; use crate::frb_generated::FLUTTER_RUST_BRIDGE_HANDLER; -/// Extended private key bytes type. +/// BIP32-Ed25519 extended private key bytes type. /// Compose of: /// - 64 Bytes: extended Ed25519 secret key /// - 32 Bytes: chain code #[derive(Clone, Debug, PartialEq, Eq)] #[frb(opaque)] -pub struct XPrvBytes([u8; 96]); +pub struct Bip32Ed25519XPrivateKey([u8; 96]); -impl From for XPrvBytes { +impl From for Bip32Ed25519XPrivateKey { fn from(xprv: XPrv) -> Self { - XPrvBytes(xprv.into()) + Bip32Ed25519XPrivateKey(xprv.into()) } } -impl XPrvBytes { - /// Create a new `XPrvBytes` from the given bytes. +impl Bip32Ed25519XPrivateKey { + /// Create a new `Bip32Ed25519XPrivateKey` from the given bytes. #[frb(sync)] pub fn new(xprv_bytes: [u8; 96]) -> Self { - XPrvBytes(xprv_bytes) + Bip32Ed25519XPrivateKey(xprv_bytes) } /// Get the inner bytes. @@ -72,7 +72,7 @@ impl XPrvBytes { /// /// # Arguments /// - /// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. + /// - `xprv_bytes`: An extended private key bytes of type `Bip32Ed25519XPrivateKey`. /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. /// /// # Returns @@ -100,12 +100,12 @@ impl XPrvBytes { /// /// # Returns /// - /// Returns a 64 length bytes `XPubBytes` representing the extended public key. + /// Returns a 64 length bytes `Bip32Ed25519XPublicKey` representing the extended public key. /// /// # Errors /// /// Returns an error if the extended private key is invalid. - pub async fn xpublic_key(&self) -> anyhow::Result { + pub async fn xpublic_key(&self) -> anyhow::Result { let xprv = XPrv::from_bytes_verified(self.0.clone())?; let xpub = spawn_blocking_with( @@ -114,7 +114,7 @@ impl XPrvBytes { ) .await?; - Ok(XPubBytes(xpub.into())) + Ok(Bip32Ed25519XPublicKey(xpub.into())) } /// Sign the given data with the given extended private key. @@ -124,12 +124,12 @@ impl XPrvBytes { /// - `data`: The data to sign. /// /// # Returns - /// Returns a 64 length bytes `SignatureBytes` representing the signature. + /// Returns a 64 length bytes `Bip32Ed25519Signature` representing the signature. /// /// # Errors /// /// Returns an error if the extended private key is invalid. - pub async fn sign_data(&self, data: Vec) -> anyhow::Result { + pub async fn sign_data(&self, data: Vec) -> anyhow::Result { let xprv = XPrv::from_bytes_verified(self.0.clone())?; let signature = spawn_blocking_with( @@ -138,7 +138,7 @@ impl XPrvBytes { ) .await?; - Ok(SignatureBytes(*signature.to_bytes())) + Ok(Bip32Ed25519Signature(*signature.to_bytes())) } /// Verify the signature on the given data using extended private key. @@ -156,7 +156,7 @@ impl XPrvBytes { /// /// Returns an error if the extended private key or signature is invalid. pub async fn verify_signature( - &self, data: Vec, signature: &SignatureBytes, + &self, data: Vec, signature: &Bip32Ed25519Signature, ) -> anyhow::Result { let xprv = XPrv::from_bytes_verified(self.0.clone())?; let verified_sig = Signature::from_slice(&signature.0) @@ -181,22 +181,22 @@ impl XPrvBytes { } } -/// Extended public key bytes type. +/// BIP32-Ed25519 extended public key bytes type. #[derive(Clone, Debug, PartialEq, Eq)] #[frb(opaque)] -pub struct XPubBytes([u8; 64]); +pub struct Bip32Ed25519XPublicKey([u8; 64]); -impl From for XPubBytes { +impl From for Bip32Ed25519XPublicKey { fn from(xpub: XPub) -> Self { - XPubBytes(xpub.into()) + Bip32Ed25519XPublicKey(xpub.into()) } } -impl XPubBytes { - /// Create a new `XPubBytes` from the given bytes. +impl Bip32Ed25519XPublicKey { + /// Create a new `Bip32Ed25519XPublicKey` from the given bytes. #[frb(sync)] pub fn new(xpub_bytes: [u8; 64]) -> Self { - XPubBytes(xpub_bytes) + Bip32Ed25519XPublicKey(xpub_bytes) } /// Get the inner bytes. @@ -247,7 +247,7 @@ impl XPubBytes { /// /// Returns an error if the extended public key or signature is invalid. pub async fn verify_signature( - &self, data: Vec, signature: &SignatureBytes, + &self, data: Vec, signature: &Bip32Ed25519Signature, ) -> anyhow::Result { let xpub = XPub::from_bytes(self.0.clone()); let verified_sig = Signature::from_slice(&signature.0) @@ -263,16 +263,16 @@ impl XPubBytes { } } -/// Signature bytes type. +/// BIP32-Ed25519 signature bytes type. #[derive(Clone, Debug, PartialEq, Eq)] #[frb(opaque)] -pub struct SignatureBytes([u8; 64]); +pub struct Bip32Ed25519Signature([u8; 64]); -impl SignatureBytes { - /// Create a new `SignatureBytes` from the given bytes. +impl Bip32Ed25519Signature { + /// Create a new `Bip32Ed25519Signature` from the given bytes. #[frb(sync)] pub fn new(sig_bytes: [u8; 64]) -> Self { - SignatureBytes(sig_bytes) + Bip32Ed25519Signature(sig_bytes) } /// Get the inner bytes. @@ -301,7 +301,7 @@ impl SignatureBytes { /// Returns an error if the mnemonic is invalid. pub async fn mnemonic_to_xprv( mnemonic: String, passphrase: Option, -) -> anyhow::Result { +) -> anyhow::Result { let xprv = spawn_blocking_with( move || mnemonic_to_xprv_helper(mnemonic, passphrase), FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), @@ -376,20 +376,20 @@ fn xpublic_key_helper(xprv: &XPrv) -> XPub { } /// Helper function for `sign_data`. -fn sign_data_helper(xprv: &XPrv, data: &[u8]) -> Signature { +fn sign_data_helper(xprv: &XPrv, data: &[u8]) -> Signature { xprv.sign(data) } -/// Helper function for `XPrvBytes` `verify_signature`. +/// Helper function for `Bip32Ed25519XPrivateKey` `verify_signature`. fn verify_signature_xprv_helper( - xprv: &XPrv, data: &[u8], signature: Signature, + xprv: &XPrv, data: &[u8], signature: Signature, ) -> bool { xprv.verify(data, &signature) } -/// Helper function for `XPubBytes` `verify_signature`. +/// Helper function for `Bip32Ed25519XPublicKey` `verify_signature`. fn verify_signature_xpub_helper( - xpub: &XPub, data: &[u8], signature: Signature, + xpub: &XPub, data: &[u8], signature: Signature, ) -> bool { xpub.verify(data, &signature) } From d62c7e7d4b4f718e4f928d6aca51461cf6011676 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Mon, 4 Nov 2024 19:43:09 +0700 Subject: [PATCH 72/89] fix: add word to dict Signed-off-by: bkioshn --- .config/dictionaries/project.dic | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/dictionaries/project.dic b/.config/dictionaries/project.dic index 0eeb736ba0..c40a836b2c 100644 --- a/.config/dictionaries/project.dic +++ b/.config/dictionaries/project.dic @@ -316,5 +316,8 @@ xcodeproj xctest xctestrun xcworkspace +xprv +xpub +xpublic xvfb yoroi From f9a6de5fa54343ef9b572d11485c5bbaa2c6e7b6 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Mon, 4 Nov 2024 19:45:46 +0700 Subject: [PATCH 73/89] fix: cspell ignore auto gen flutter file Signed-off-by: bkioshn --- cspell.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cspell.json b/cspell.json index 68b94eaaec..621475599e 100644 --- a/cspell.json +++ b/cspell.json @@ -179,7 +179,8 @@ "catalyst_voices/packages/libs/catalyst_key_derivation/cargokit/**", "catalyst_voices/utilities/remote_widgets/example/**/**", "catalyst_voices/utilities/poc_local_storage/**/**", - "**/*.svg" + "**/*.svg", + "catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/**", ], "enableFiletypes": [ "earthfile", From fe549cc7bc8bbfa1e765a02fb7f2370af3702069 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Mon, 4 Nov 2024 19:46:10 +0700 Subject: [PATCH 74/89] fix: auto gen file Signed-off-by: bkioshn --- .../lib/src/rust/api/key_derivation.dart | 51 +- .../lib/src/rust/frb_generated.dart | 727 ++++++++++-------- .../lib/src/rust/frb_generated.io.dart | 206 ++--- .../lib/src/rust/frb_generated.web.dart | 170 ++-- 4 files changed, 613 insertions(+), 541 deletions(-) diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart index c255eda3f7..48b25bee9b 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart @@ -27,30 +27,31 @@ import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; /// # Errors /// /// Returns an error if the mnemonic is invalid. -Future mnemonicToXprv( +Future mnemonicToXprv( {required String mnemonic, String? passphrase}) => RustLib.instance.api.crateApiKeyDerivationMnemonicToXprv( mnemonic: mnemonic, passphrase: passphrase); -// Rust type: RustOpaqueMoi> -abstract class SignatureBytes implements RustOpaqueInterface { +// Rust type: RustOpaqueMoi> +abstract class Bip32Ed25519Signature implements RustOpaqueInterface { /// Get the inner bytes. U8Array64 get inner; - /// Create a new `SignatureBytes` from the given bytes. - factory SignatureBytes({required U8Array64 sigBytes}) => RustLib.instance.api - .crateApiKeyDerivationSignatureBytesNew(sigBytes: sigBytes); + /// Create a new `Bip32Ed25519Signature` from the given bytes. + factory Bip32Ed25519Signature({required U8Array64 sigBytes}) => + RustLib.instance.api + .crateApiKeyDerivationBip32Ed25519SignatureNew(sigBytes: sigBytes); } -// Rust type: RustOpaqueMoi> -abstract class XPrvBytes implements RustOpaqueInterface { +// Rust type: RustOpaqueMoi> +abstract class Bip32Ed25519XPrivateKey implements RustOpaqueInterface { /// Derive a new extended private key from the given extended private key. /// - V2 derivation scheme is used as it is mention in [SLIP-0023](https://github.com/satoshilabs/slips/blob/master/slip-0023.md). /// - More information about child key derivation can be found in [BIP32-Ed25519](https://input-output-hk.github.io/adrestia/static/Ed25519_BIP.pdf). /// /// # Arguments /// - /// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. + /// - `xprv_bytes`: An extended private key bytes of type `Bip32Ed25519XPrivateKey`. /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. /// /// # Returns @@ -60,7 +61,7 @@ abstract class XPrvBytes implements RustOpaqueInterface { /// # Errors /// /// Returns an error if the derivation path is invalid. - Future deriveXprv({required String path}); + Future deriveXprv({required String path}); /// Drop the extended private key. void drop(); @@ -84,9 +85,10 @@ abstract class XPrvBytes implements RustOpaqueInterface { /// Get the inner bytes. U8Array96 get inner; - /// Create a new `XPrvBytes` from the given bytes. - factory XPrvBytes({required U8Array96 xprvBytes}) => RustLib.instance.api - .crateApiKeyDerivationXPrvBytesNew(xprvBytes: xprvBytes); + /// Create a new `Bip32Ed25519XPrivateKey` from the given bytes. + factory Bip32Ed25519XPrivateKey({required U8Array96 xprvBytes}) => RustLib + .instance.api + .crateApiKeyDerivationBip32Ed25519XPrivateKeyNew(xprvBytes: xprvBytes); /// Sign the given data with the given extended private key. /// @@ -95,12 +97,12 @@ abstract class XPrvBytes implements RustOpaqueInterface { /// - `data`: The data to sign. /// /// # Returns - /// Returns a 64 length bytes `SignatureBytes` representing the signature. + /// Returns a 64 length bytes `Bip32Ed25519Signature` representing the signature. /// /// # Errors /// /// Returns an error if the extended private key is invalid. - Future signData({required List data}); + Future signData({required List data}); /// Verify the signature on the given data using extended private key. /// @@ -117,22 +119,22 @@ abstract class XPrvBytes implements RustOpaqueInterface { /// /// Returns an error if the extended private key or signature is invalid. Future verifySignature( - {required List data, required SignatureBytes signature}); + {required List data, required Bip32Ed25519Signature signature}); /// Get extended public key from the given extended private key. /// /// # Returns /// - /// Returns a 64 length bytes `XPubBytes` representing the extended public key. + /// Returns a 64 length bytes `Bip32Ed25519XPublicKey` representing the extended public key. /// /// # Errors /// /// Returns an error if the extended private key is invalid. - Future xpublicKey(); + Future xpublicKey(); } -// Rust type: RustOpaqueMoi> -abstract class XPubBytes implements RustOpaqueInterface { +// Rust type: RustOpaqueMoi> +abstract class Bip32Ed25519XPublicKey implements RustOpaqueInterface { /// Extract the chain code from the extended public key. /// The chain code is the last 32 bytes of the extended public key. /// @@ -152,9 +154,10 @@ abstract class XPubBytes implements RustOpaqueInterface { /// Returns a 32 length bytes representing the public key. U8Array32 get publicKey; - /// Create a new `XPubBytes` from the given bytes. - factory XPubBytes({required U8Array64 xpubBytes}) => RustLib.instance.api - .crateApiKeyDerivationXPubBytesNew(xpubBytes: xpubBytes); + /// Create a new `Bip32Ed25519XPublicKey` from the given bytes. + factory Bip32Ed25519XPublicKey({required U8Array64 xpubBytes}) => + RustLib.instance.api + .crateApiKeyDerivationBip32Ed25519XPublicKeyNew(xpubBytes: xpubBytes); /// Verify the signature on the given data using extended public key. /// @@ -171,7 +174,7 @@ abstract class XPubBytes implements RustOpaqueInterface { /// /// Returns an error if the extended public key or signature is invalid. Future verifySignature( - {required List data, required SignatureBytes signature}); + {required List data, required Bip32Ed25519Signature signature}); } class U8Array32 extends NonGrowableListView { diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart index b36bfb113c..3b99d94586 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart @@ -66,7 +66,7 @@ class RustLib extends BaseEntrypoint { String get codegenVersion => '2.5.1'; @override - int get rustContentHash => -609775494; + int get rustContentHash => -1380090306; static const kDefaultExternalLibraryLoaderConfig = ExternalLibraryLoaderConfig( @@ -77,80 +77,90 @@ class RustLib extends BaseEntrypoint { } abstract class RustLibApi extends BaseApi { - U8Array64 crateApiKeyDerivationSignatureBytesGetInner( - {required SignatureBytes that}); + U8Array64 crateApiKeyDerivationBip32Ed25519SignatureGetInner( + {required Bip32Ed25519Signature that}); - SignatureBytes crateApiKeyDerivationSignatureBytesNew( + Bip32Ed25519Signature crateApiKeyDerivationBip32Ed25519SignatureNew( {required U8Array64 sigBytes}); - Future crateApiKeyDerivationXPrvBytesDeriveXprv( - {required XPrvBytes that, required String path}); + Future + crateApiKeyDerivationBip32Ed25519XPrivateKeyDeriveXprv( + {required Bip32Ed25519XPrivateKey that, required String path}); - void crateApiKeyDerivationXPrvBytesDrop({required XPrvBytes that}); + void crateApiKeyDerivationBip32Ed25519XPrivateKeyDrop( + {required Bip32Ed25519XPrivateKey that}); - U8Array32 crateApiKeyDerivationXPrvBytesGetChainCode( - {required XPrvBytes that}); + U8Array32 crateApiKeyDerivationBip32Ed25519XPrivateKeyGetChainCode( + {required Bip32Ed25519XPrivateKey that}); - U8Array64 crateApiKeyDerivationXPrvBytesGetExtendedSecretKey( - {required XPrvBytes that}); + U8Array64 crateApiKeyDerivationBip32Ed25519XPrivateKeyGetExtendedSecretKey( + {required Bip32Ed25519XPrivateKey that}); - U8Array96 crateApiKeyDerivationXPrvBytesGetInner({required XPrvBytes that}); + U8Array96 crateApiKeyDerivationBip32Ed25519XPrivateKeyGetInner( + {required Bip32Ed25519XPrivateKey that}); - XPrvBytes crateApiKeyDerivationXPrvBytesNew({required U8Array96 xprvBytes}); + Bip32Ed25519XPrivateKey crateApiKeyDerivationBip32Ed25519XPrivateKeyNew( + {required U8Array96 xprvBytes}); - Future crateApiKeyDerivationXPrvBytesSignData( - {required XPrvBytes that, required List data}); + Future + crateApiKeyDerivationBip32Ed25519XPrivateKeySignData( + {required Bip32Ed25519XPrivateKey that, required List data}); - Future crateApiKeyDerivationXPrvBytesVerifySignature( - {required XPrvBytes that, + Future crateApiKeyDerivationBip32Ed25519XPrivateKeyVerifySignature( + {required Bip32Ed25519XPrivateKey that, required List data, - required SignatureBytes signature}); + required Bip32Ed25519Signature signature}); - Future crateApiKeyDerivationXPrvBytesXpublicKey( - {required XPrvBytes that}); + Future + crateApiKeyDerivationBip32Ed25519XPrivateKeyXpublicKey( + {required Bip32Ed25519XPrivateKey that}); - U8Array32 crateApiKeyDerivationXPubBytesGetChainCode( - {required XPubBytes that}); + U8Array32 crateApiKeyDerivationBip32Ed25519XPublicKeyGetChainCode( + {required Bip32Ed25519XPublicKey that}); - U8Array64 crateApiKeyDerivationXPubBytesGetInner({required XPubBytes that}); + U8Array64 crateApiKeyDerivationBip32Ed25519XPublicKeyGetInner( + {required Bip32Ed25519XPublicKey that}); - U8Array32 crateApiKeyDerivationXPubBytesGetPublicKey( - {required XPubBytes that}); + U8Array32 crateApiKeyDerivationBip32Ed25519XPublicKeyGetPublicKey( + {required Bip32Ed25519XPublicKey that}); - XPubBytes crateApiKeyDerivationXPubBytesNew({required U8Array64 xpubBytes}); + Bip32Ed25519XPublicKey crateApiKeyDerivationBip32Ed25519XPublicKeyNew( + {required U8Array64 xpubBytes}); - Future crateApiKeyDerivationXPubBytesVerifySignature( - {required XPubBytes that, + Future crateApiKeyDerivationBip32Ed25519XPublicKeyVerifySignature( + {required Bip32Ed25519XPublicKey that, required List data, - required SignatureBytes signature}); + required Bip32Ed25519Signature signature}); - Future crateApiKeyDerivationMnemonicToXprv( + Future crateApiKeyDerivationMnemonicToXprv( {required String mnemonic, String? passphrase}); RustArcIncrementStrongCountFnType - get rust_arc_increment_strong_count_SignatureBytes; + get rust_arc_increment_strong_count_Bip32Ed25519Signature; RustArcDecrementStrongCountFnType - get rust_arc_decrement_strong_count_SignatureBytes; + get rust_arc_decrement_strong_count_Bip32Ed25519Signature; CrossPlatformFinalizerArg - get rust_arc_decrement_strong_count_SignatureBytesPtr; + get rust_arc_decrement_strong_count_Bip32Ed25519SignaturePtr; RustArcIncrementStrongCountFnType - get rust_arc_increment_strong_count_XPrvBytes; + get rust_arc_increment_strong_count_Bip32Ed25519XPrivateKey; RustArcDecrementStrongCountFnType - get rust_arc_decrement_strong_count_XPrvBytes; + get rust_arc_decrement_strong_count_Bip32Ed25519XPrivateKey; - CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPrvBytesPtr; + CrossPlatformFinalizerArg + get rust_arc_decrement_strong_count_Bip32Ed25519XPrivateKeyPtr; RustArcIncrementStrongCountFnType - get rust_arc_increment_strong_count_XPubBytes; + get rust_arc_increment_strong_count_Bip32Ed25519XPublicKey; RustArcDecrementStrongCountFnType - get rust_arc_decrement_strong_count_XPubBytes; + get rust_arc_decrement_strong_count_Bip32Ed25519XPublicKey; - CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPubBytesPtr; + CrossPlatformFinalizerArg + get rust_arc_decrement_strong_count_Bip32Ed25519XPublicKeyPtr; } class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { @@ -162,12 +172,12 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { }); @override - U8Array64 crateApiKeyDerivationSignatureBytesGetInner( - {required SignatureBytes that}) { + U8Array64 crateApiKeyDerivationBip32Ed25519SignatureGetInner( + {required Bip32Ed25519Signature that}) { return handler.executeSync(SyncTask( callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( that, serializer); return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 1)!; }, @@ -175,20 +185,21 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { decodeSuccessData: sse_decode_u_8_array_64, decodeErrorData: null, ), - constMeta: kCrateApiKeyDerivationSignatureBytesGetInnerConstMeta, + constMeta: kCrateApiKeyDerivationBip32Ed25519SignatureGetInnerConstMeta, argValues: [that], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationSignatureBytesGetInnerConstMeta => - const TaskConstMeta( - debugName: "SignatureBytes_get_inner", - argNames: ["that"], - ); + TaskConstMeta + get kCrateApiKeyDerivationBip32Ed25519SignatureGetInnerConstMeta => + const TaskConstMeta( + debugName: "Bip32Ed25519Signature_get_inner", + argNames: ["that"], + ); @override - SignatureBytes crateApiKeyDerivationSignatureBytesNew( + Bip32Ed25519Signature crateApiKeyDerivationBip32Ed25519SignatureNew( {required U8Array64 sigBytes}) { return handler.executeSync(SyncTask( callFfi: () { @@ -198,28 +209,29 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { }, codec: SseCodec( decodeSuccessData: - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes, + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature, decodeErrorData: null, ), - constMeta: kCrateApiKeyDerivationSignatureBytesNewConstMeta, + constMeta: kCrateApiKeyDerivationBip32Ed25519SignatureNewConstMeta, argValues: [sigBytes], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationSignatureBytesNewConstMeta => + TaskConstMeta get kCrateApiKeyDerivationBip32Ed25519SignatureNewConstMeta => const TaskConstMeta( - debugName: "SignatureBytes_new", + debugName: "Bip32Ed25519Signature_new", argNames: ["sigBytes"], ); @override - Future crateApiKeyDerivationXPrvBytesDeriveXprv( - {required XPrvBytes that, required String path}) { + Future + crateApiKeyDerivationBip32Ed25519XPrivateKeyDeriveXprv( + {required Bip32Ed25519XPrivateKey that, required String path}) { return handler.executeNormal(NormalTask( callFfi: (port_) { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( that, serializer); sse_encode_String(path, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, @@ -227,27 +239,30 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { }, codec: SseCodec( decodeSuccessData: - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes, + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey, decodeErrorData: sse_decode_AnyhowException, ), - constMeta: kCrateApiKeyDerivationXPrvBytesDeriveXprvConstMeta, + constMeta: + kCrateApiKeyDerivationBip32Ed25519XPrivateKeyDeriveXprvConstMeta, argValues: [that, path], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesDeriveXprvConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_derive_xprv", - argNames: ["that", "path"], - ); + TaskConstMeta + get kCrateApiKeyDerivationBip32Ed25519XPrivateKeyDeriveXprvConstMeta => + const TaskConstMeta( + debugName: "Bip32Ed25519XPrivateKey_derive_xprv", + argNames: ["that", "path"], + ); @override - void crateApiKeyDerivationXPrvBytesDrop({required XPrvBytes that}) { + void crateApiKeyDerivationBip32Ed25519XPrivateKeyDrop( + {required Bip32Ed25519XPrivateKey that}) { return handler.executeSync(SyncTask( callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( that, serializer); return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 4)!; }, @@ -255,25 +270,26 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { decodeSuccessData: sse_decode_unit, decodeErrorData: null, ), - constMeta: kCrateApiKeyDerivationXPrvBytesDropConstMeta, + constMeta: kCrateApiKeyDerivationBip32Ed25519XPrivateKeyDropConstMeta, argValues: [that], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesDropConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_drop", - argNames: ["that"], - ); + TaskConstMeta + get kCrateApiKeyDerivationBip32Ed25519XPrivateKeyDropConstMeta => + const TaskConstMeta( + debugName: "Bip32Ed25519XPrivateKey_drop", + argNames: ["that"], + ); @override - U8Array32 crateApiKeyDerivationXPrvBytesGetChainCode( - {required XPrvBytes that}) { + U8Array32 crateApiKeyDerivationBip32Ed25519XPrivateKeyGetChainCode( + {required Bip32Ed25519XPrivateKey that}) { return handler.executeSync(SyncTask( callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( that, serializer); return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 5)!; }, @@ -281,25 +297,27 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { decodeSuccessData: sse_decode_u_8_array_32, decodeErrorData: null, ), - constMeta: kCrateApiKeyDerivationXPrvBytesGetChainCodeConstMeta, + constMeta: + kCrateApiKeyDerivationBip32Ed25519XPrivateKeyGetChainCodeConstMeta, argValues: [that], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesGetChainCodeConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_get_chain_code", - argNames: ["that"], - ); + TaskConstMeta + get kCrateApiKeyDerivationBip32Ed25519XPrivateKeyGetChainCodeConstMeta => + const TaskConstMeta( + debugName: "Bip32Ed25519XPrivateKey_get_chain_code", + argNames: ["that"], + ); @override - U8Array64 crateApiKeyDerivationXPrvBytesGetExtendedSecretKey( - {required XPrvBytes that}) { + U8Array64 crateApiKeyDerivationBip32Ed25519XPrivateKeyGetExtendedSecretKey( + {required Bip32Ed25519XPrivateKey that}) { return handler.executeSync(SyncTask( callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( that, serializer); return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 6)!; }, @@ -307,25 +325,27 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { decodeSuccessData: sse_decode_u_8_array_64, decodeErrorData: null, ), - constMeta: kCrateApiKeyDerivationXPrvBytesGetExtendedSecretKeyConstMeta, + constMeta: + kCrateApiKeyDerivationBip32Ed25519XPrivateKeyGetExtendedSecretKeyConstMeta, argValues: [that], apiImpl: this, )); } TaskConstMeta - get kCrateApiKeyDerivationXPrvBytesGetExtendedSecretKeyConstMeta => + get kCrateApiKeyDerivationBip32Ed25519XPrivateKeyGetExtendedSecretKeyConstMeta => const TaskConstMeta( - debugName: "XPrvBytes_get_extended_secret_key", + debugName: "Bip32Ed25519XPrivateKey_get_extended_secret_key", argNames: ["that"], ); @override - U8Array96 crateApiKeyDerivationXPrvBytesGetInner({required XPrvBytes that}) { + U8Array96 crateApiKeyDerivationBip32Ed25519XPrivateKeyGetInner( + {required Bip32Ed25519XPrivateKey that}) { return handler.executeSync(SyncTask( callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( that, serializer); return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 7)!; }, @@ -333,20 +353,22 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { decodeSuccessData: sse_decode_u_8_array_96, decodeErrorData: null, ), - constMeta: kCrateApiKeyDerivationXPrvBytesGetInnerConstMeta, + constMeta: kCrateApiKeyDerivationBip32Ed25519XPrivateKeyGetInnerConstMeta, argValues: [that], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesGetInnerConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_get_inner", - argNames: ["that"], - ); + TaskConstMeta + get kCrateApiKeyDerivationBip32Ed25519XPrivateKeyGetInnerConstMeta => + const TaskConstMeta( + debugName: "Bip32Ed25519XPrivateKey_get_inner", + argNames: ["that"], + ); @override - XPrvBytes crateApiKeyDerivationXPrvBytesNew({required U8Array96 xprvBytes}) { + Bip32Ed25519XPrivateKey crateApiKeyDerivationBip32Ed25519XPrivateKeyNew( + {required U8Array96 xprvBytes}) { return handler.executeSync(SyncTask( callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); @@ -355,28 +377,29 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { }, codec: SseCodec( decodeSuccessData: - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes, + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey, decodeErrorData: null, ), - constMeta: kCrateApiKeyDerivationXPrvBytesNewConstMeta, + constMeta: kCrateApiKeyDerivationBip32Ed25519XPrivateKeyNewConstMeta, argValues: [xprvBytes], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesNewConstMeta => + TaskConstMeta get kCrateApiKeyDerivationBip32Ed25519XPrivateKeyNewConstMeta => const TaskConstMeta( - debugName: "XPrvBytes_new", + debugName: "Bip32Ed25519XPrivateKey_new", argNames: ["xprvBytes"], ); @override - Future crateApiKeyDerivationXPrvBytesSignData( - {required XPrvBytes that, required List data}) { + Future + crateApiKeyDerivationBip32Ed25519XPrivateKeySignData( + {required Bip32Ed25519XPrivateKey that, required List data}) { return handler.executeNormal(NormalTask( callFfi: (port_) { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( that, serializer); sse_encode_list_prim_u_8_loose(data, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, @@ -384,33 +407,34 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { }, codec: SseCodec( decodeSuccessData: - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes, + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature, decodeErrorData: sse_decode_AnyhowException, ), - constMeta: kCrateApiKeyDerivationXPrvBytesSignDataConstMeta, + constMeta: kCrateApiKeyDerivationBip32Ed25519XPrivateKeySignDataConstMeta, argValues: [that, data], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesSignDataConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_sign_data", - argNames: ["that", "data"], - ); + TaskConstMeta + get kCrateApiKeyDerivationBip32Ed25519XPrivateKeySignDataConstMeta => + const TaskConstMeta( + debugName: "Bip32Ed25519XPrivateKey_sign_data", + argNames: ["that", "data"], + ); @override - Future crateApiKeyDerivationXPrvBytesVerifySignature( - {required XPrvBytes that, + Future crateApiKeyDerivationBip32Ed25519XPrivateKeyVerifySignature( + {required Bip32Ed25519XPrivateKey that, required List data, - required SignatureBytes signature}) { + required Bip32Ed25519Signature signature}) { return handler.executeNormal(NormalTask( callFfi: (port_) { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( that, serializer); sse_encode_list_prim_u_8_loose(data, serializer); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( signature, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 10, port: port_); @@ -419,53 +443,58 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { decodeSuccessData: sse_decode_bool, decodeErrorData: sse_decode_AnyhowException, ), - constMeta: kCrateApiKeyDerivationXPrvBytesVerifySignatureConstMeta, + constMeta: + kCrateApiKeyDerivationBip32Ed25519XPrivateKeyVerifySignatureConstMeta, argValues: [that, data, signature], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesVerifySignatureConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_verify_signature", - argNames: ["that", "data", "signature"], - ); + TaskConstMeta + get kCrateApiKeyDerivationBip32Ed25519XPrivateKeyVerifySignatureConstMeta => + const TaskConstMeta( + debugName: "Bip32Ed25519XPrivateKey_verify_signature", + argNames: ["that", "data", "signature"], + ); @override - Future crateApiKeyDerivationXPrvBytesXpublicKey( - {required XPrvBytes that}) { + Future + crateApiKeyDerivationBip32Ed25519XPrivateKeyXpublicKey( + {required Bip32Ed25519XPrivateKey that}) { return handler.executeNormal(NormalTask( callFfi: (port_) { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( that, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 11, port: port_); }, codec: SseCodec( decodeSuccessData: - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes, + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey, decodeErrorData: sse_decode_AnyhowException, ), - constMeta: kCrateApiKeyDerivationXPrvBytesXpublicKeyConstMeta, + constMeta: + kCrateApiKeyDerivationBip32Ed25519XPrivateKeyXpublicKeyConstMeta, argValues: [that], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationXPrvBytesXpublicKeyConstMeta => - const TaskConstMeta( - debugName: "XPrvBytes_xpublic_key", - argNames: ["that"], - ); + TaskConstMeta + get kCrateApiKeyDerivationBip32Ed25519XPrivateKeyXpublicKeyConstMeta => + const TaskConstMeta( + debugName: "Bip32Ed25519XPrivateKey_xpublic_key", + argNames: ["that"], + ); @override - U8Array32 crateApiKeyDerivationXPubBytesGetChainCode( - {required XPubBytes that}) { + U8Array32 crateApiKeyDerivationBip32Ed25519XPublicKeyGetChainCode( + {required Bip32Ed25519XPublicKey that}) { return handler.executeSync(SyncTask( callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( that, serializer); return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 12)!; }, @@ -473,24 +502,27 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { decodeSuccessData: sse_decode_u_8_array_32, decodeErrorData: null, ), - constMeta: kCrateApiKeyDerivationXPubBytesGetChainCodeConstMeta, + constMeta: + kCrateApiKeyDerivationBip32Ed25519XPublicKeyGetChainCodeConstMeta, argValues: [that], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationXPubBytesGetChainCodeConstMeta => - const TaskConstMeta( - debugName: "XPubBytes_get_chain_code", - argNames: ["that"], - ); + TaskConstMeta + get kCrateApiKeyDerivationBip32Ed25519XPublicKeyGetChainCodeConstMeta => + const TaskConstMeta( + debugName: "Bip32Ed25519XPublicKey_get_chain_code", + argNames: ["that"], + ); @override - U8Array64 crateApiKeyDerivationXPubBytesGetInner({required XPubBytes that}) { + U8Array64 crateApiKeyDerivationBip32Ed25519XPublicKeyGetInner( + {required Bip32Ed25519XPublicKey that}) { return handler.executeSync(SyncTask( callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( that, serializer); return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 13)!; }, @@ -498,25 +530,26 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { decodeSuccessData: sse_decode_u_8_array_64, decodeErrorData: null, ), - constMeta: kCrateApiKeyDerivationXPubBytesGetInnerConstMeta, + constMeta: kCrateApiKeyDerivationBip32Ed25519XPublicKeyGetInnerConstMeta, argValues: [that], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationXPubBytesGetInnerConstMeta => - const TaskConstMeta( - debugName: "XPubBytes_get_inner", - argNames: ["that"], - ); + TaskConstMeta + get kCrateApiKeyDerivationBip32Ed25519XPublicKeyGetInnerConstMeta => + const TaskConstMeta( + debugName: "Bip32Ed25519XPublicKey_get_inner", + argNames: ["that"], + ); @override - U8Array32 crateApiKeyDerivationXPubBytesGetPublicKey( - {required XPubBytes that}) { + U8Array32 crateApiKeyDerivationBip32Ed25519XPublicKeyGetPublicKey( + {required Bip32Ed25519XPublicKey that}) { return handler.executeSync(SyncTask( callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( that, serializer); return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 14)!; }, @@ -524,20 +557,23 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { decodeSuccessData: sse_decode_u_8_array_32, decodeErrorData: null, ), - constMeta: kCrateApiKeyDerivationXPubBytesGetPublicKeyConstMeta, + constMeta: + kCrateApiKeyDerivationBip32Ed25519XPublicKeyGetPublicKeyConstMeta, argValues: [that], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationXPubBytesGetPublicKeyConstMeta => - const TaskConstMeta( - debugName: "XPubBytes_get_public_key", - argNames: ["that"], - ); + TaskConstMeta + get kCrateApiKeyDerivationBip32Ed25519XPublicKeyGetPublicKeyConstMeta => + const TaskConstMeta( + debugName: "Bip32Ed25519XPublicKey_get_public_key", + argNames: ["that"], + ); @override - XPubBytes crateApiKeyDerivationXPubBytesNew({required U8Array64 xpubBytes}) { + Bip32Ed25519XPublicKey crateApiKeyDerivationBip32Ed25519XPublicKeyNew( + {required U8Array64 xpubBytes}) { return handler.executeSync(SyncTask( callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); @@ -546,33 +582,33 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { }, codec: SseCodec( decodeSuccessData: - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes, + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey, decodeErrorData: null, ), - constMeta: kCrateApiKeyDerivationXPubBytesNewConstMeta, + constMeta: kCrateApiKeyDerivationBip32Ed25519XPublicKeyNewConstMeta, argValues: [xpubBytes], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationXPubBytesNewConstMeta => + TaskConstMeta get kCrateApiKeyDerivationBip32Ed25519XPublicKeyNewConstMeta => const TaskConstMeta( - debugName: "XPubBytes_new", + debugName: "Bip32Ed25519XPublicKey_new", argNames: ["xpubBytes"], ); @override - Future crateApiKeyDerivationXPubBytesVerifySignature( - {required XPubBytes that, + Future crateApiKeyDerivationBip32Ed25519XPublicKeyVerifySignature( + {required Bip32Ed25519XPublicKey that, required List data, - required SignatureBytes signature}) { + required Bip32Ed25519Signature signature}) { return handler.executeNormal(NormalTask( callFfi: (port_) { final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( that, serializer); sse_encode_list_prim_u_8_loose(data, serializer); - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( signature, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 16, port: port_); @@ -581,20 +617,22 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { decodeSuccessData: sse_decode_bool, decodeErrorData: sse_decode_AnyhowException, ), - constMeta: kCrateApiKeyDerivationXPubBytesVerifySignatureConstMeta, + constMeta: + kCrateApiKeyDerivationBip32Ed25519XPublicKeyVerifySignatureConstMeta, argValues: [that, data, signature], apiImpl: this, )); } - TaskConstMeta get kCrateApiKeyDerivationXPubBytesVerifySignatureConstMeta => - const TaskConstMeta( - debugName: "XPubBytes_verify_signature", - argNames: ["that", "data", "signature"], - ); + TaskConstMeta + get kCrateApiKeyDerivationBip32Ed25519XPublicKeyVerifySignatureConstMeta => + const TaskConstMeta( + debugName: "Bip32Ed25519XPublicKey_verify_signature", + argNames: ["that", "data", "signature"], + ); @override - Future crateApiKeyDerivationMnemonicToXprv( + Future crateApiKeyDerivationMnemonicToXprv( {required String mnemonic, String? passphrase}) { return handler.executeNormal(NormalTask( callFfi: (port_) { @@ -606,7 +644,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { }, codec: SseCodec( decodeSuccessData: - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes, + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey, decodeErrorData: sse_decode_AnyhowException, ), constMeta: kCrateApiKeyDerivationMnemonicToXprvConstMeta, @@ -622,28 +660,28 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { ); RustArcIncrementStrongCountFnType - get rust_arc_increment_strong_count_SignatureBytes => wire - .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes; + get rust_arc_increment_strong_count_Bip32Ed25519Signature => wire + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature; RustArcDecrementStrongCountFnType - get rust_arc_decrement_strong_count_SignatureBytes => wire - .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes; + get rust_arc_decrement_strong_count_Bip32Ed25519Signature => wire + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature; RustArcIncrementStrongCountFnType - get rust_arc_increment_strong_count_XPrvBytes => wire - .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes; + get rust_arc_increment_strong_count_Bip32Ed25519XPrivateKey => wire + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey; RustArcDecrementStrongCountFnType - get rust_arc_decrement_strong_count_XPrvBytes => wire - .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes; + get rust_arc_decrement_strong_count_Bip32Ed25519XPrivateKey => wire + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey; RustArcIncrementStrongCountFnType - get rust_arc_increment_strong_count_XPubBytes => wire - .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes; + get rust_arc_increment_strong_count_Bip32Ed25519XPublicKey => wire + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey; RustArcDecrementStrongCountFnType - get rust_arc_decrement_strong_count_XPubBytes => wire - .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes; + get rust_arc_decrement_strong_count_Bip32Ed25519XPublicKey => wire + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey; @protected AnyhowException dco_decode_AnyhowException(dynamic raw) { @@ -652,83 +690,90 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { } @protected - SignatureBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs - return SignatureBytesImpl.frbInternalDcoDecode(raw as List); + return Bip32Ed25519SignatureImpl.frbInternalDcoDecode(raw as List); } @protected - XPrvBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs - return XPrvBytesImpl.frbInternalDcoDecode(raw as List); + return Bip32Ed25519XPrivateKeyImpl.frbInternalDcoDecode( + raw as List); } @protected - XPubBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs - return XPubBytesImpl.frbInternalDcoDecode(raw as List); + return Bip32Ed25519XPublicKeyImpl.frbInternalDcoDecode( + raw as List); } @protected - XPrvBytes - dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs - return XPrvBytesImpl.frbInternalDcoDecode(raw as List); + return Bip32Ed25519XPrivateKeyImpl.frbInternalDcoDecode( + raw as List); } @protected - SignatureBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs - return SignatureBytesImpl.frbInternalDcoDecode(raw as List); + return Bip32Ed25519SignatureImpl.frbInternalDcoDecode(raw as List); } @protected - XPrvBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs - return XPrvBytesImpl.frbInternalDcoDecode(raw as List); + return Bip32Ed25519XPrivateKeyImpl.frbInternalDcoDecode( + raw as List); } @protected - XPubBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs - return XPubBytesImpl.frbInternalDcoDecode(raw as List); + return Bip32Ed25519XPublicKeyImpl.frbInternalDcoDecode( + raw as List); } @protected - SignatureBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs - return SignatureBytesImpl.frbInternalDcoDecode(raw as List); + return Bip32Ed25519SignatureImpl.frbInternalDcoDecode(raw as List); } @protected - XPrvBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs - return XPrvBytesImpl.frbInternalDcoDecode(raw as List); + return Bip32Ed25519XPrivateKeyImpl.frbInternalDcoDecode( + raw as List); } @protected - XPubBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( dynamic raw) { // Codec=Dco (DartCObject based), see doc to use other codecs - return XPubBytesImpl.frbInternalDcoDecode(raw as List); + return Bip32Ed25519XPublicKeyImpl.frbInternalDcoDecode( + raw as List); } @protected @@ -805,92 +850,92 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { } @protected - SignatureBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs - return SignatureBytesImpl.frbInternalSseDecode( + return Bip32Ed25519SignatureImpl.frbInternalSseDecode( sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); } @protected - XPrvBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs - return XPrvBytesImpl.frbInternalSseDecode( + return Bip32Ed25519XPrivateKeyImpl.frbInternalSseDecode( sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); } @protected - XPubBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs - return XPubBytesImpl.frbInternalSseDecode( + return Bip32Ed25519XPublicKeyImpl.frbInternalSseDecode( sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); } @protected - XPrvBytes - sse_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + sse_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs - return XPrvBytesImpl.frbInternalSseDecode( + return Bip32Ed25519XPrivateKeyImpl.frbInternalSseDecode( sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); } @protected - SignatureBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs - return SignatureBytesImpl.frbInternalSseDecode( + return Bip32Ed25519SignatureImpl.frbInternalSseDecode( sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); } @protected - XPrvBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs - return XPrvBytesImpl.frbInternalSseDecode( + return Bip32Ed25519XPrivateKeyImpl.frbInternalSseDecode( sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); } @protected - XPubBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs - return XPubBytesImpl.frbInternalSseDecode( + return Bip32Ed25519XPublicKeyImpl.frbInternalSseDecode( sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); } @protected - SignatureBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs - return SignatureBytesImpl.frbInternalSseDecode( + return Bip32Ed25519SignatureImpl.frbInternalSseDecode( sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); } @protected - XPrvBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs - return XPrvBytesImpl.frbInternalSseDecode( + return Bip32Ed25519XPrivateKeyImpl.frbInternalSseDecode( sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); } @protected - XPubBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( SseDeserializer deserializer) { // Codec=Sse (Serialization based), see doc to use other codecs - return XPubBytesImpl.frbInternalSseDecode( + return Bip32Ed25519XPublicKeyImpl.frbInternalSseDecode( sse_decode_usize(deserializer), sse_decode_i_32(deserializer)); } @@ -985,95 +1030,102 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { @protected void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer) { + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( + Bip32Ed25519Signature self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs sse_encode_usize( - (self as SignatureBytesImpl).frbInternalSseEncode(move: true), + (self as Bip32Ed25519SignatureImpl).frbInternalSseEncode(move: true), serializer); } @protected void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer) { + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( + Bip32Ed25519XPrivateKey self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs sse_encode_usize( - (self as XPrvBytesImpl).frbInternalSseEncode(move: true), serializer); + (self as Bip32Ed25519XPrivateKeyImpl).frbInternalSseEncode(move: true), + serializer); } @protected void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer) { + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( + Bip32Ed25519XPublicKey self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs sse_encode_usize( - (self as XPubBytesImpl).frbInternalSseEncode(move: true), serializer); + (self as Bip32Ed25519XPublicKeyImpl).frbInternalSseEncode(move: true), + serializer); } @protected void - sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer) { + sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( + Bip32Ed25519XPrivateKey self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs sse_encode_usize( - (self as XPrvBytesImpl).frbInternalSseEncode(move: false), serializer); + (self as Bip32Ed25519XPrivateKeyImpl).frbInternalSseEncode(move: false), + serializer); } @protected void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer) { + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( + Bip32Ed25519Signature self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs sse_encode_usize( - (self as SignatureBytesImpl).frbInternalSseEncode(move: false), + (self as Bip32Ed25519SignatureImpl).frbInternalSseEncode(move: false), serializer); } @protected void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer) { + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( + Bip32Ed25519XPrivateKey self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs sse_encode_usize( - (self as XPrvBytesImpl).frbInternalSseEncode(move: false), serializer); + (self as Bip32Ed25519XPrivateKeyImpl).frbInternalSseEncode(move: false), + serializer); } @protected void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer) { + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( + Bip32Ed25519XPublicKey self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs sse_encode_usize( - (self as XPubBytesImpl).frbInternalSseEncode(move: false), serializer); + (self as Bip32Ed25519XPublicKeyImpl).frbInternalSseEncode(move: false), + serializer); } @protected void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer) { + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( + Bip32Ed25519Signature self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs sse_encode_usize( - (self as SignatureBytesImpl).frbInternalSseEncode(move: null), + (self as Bip32Ed25519SignatureImpl).frbInternalSseEncode(move: null), serializer); } @protected void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer) { + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( + Bip32Ed25519XPrivateKey self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs sse_encode_usize( - (self as XPrvBytesImpl).frbInternalSseEncode(move: null), serializer); + (self as Bip32Ed25519XPrivateKeyImpl).frbInternalSseEncode(move: null), + serializer); } @protected void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer) { + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( + Bip32Ed25519XPublicKey self, SseSerializer serializer) { // Codec=Sse (Serialization based), see doc to use other codecs sse_encode_usize( - (self as XPubBytesImpl).frbInternalSseEncode(move: null), serializer); + (self as Bip32Ed25519XPublicKeyImpl).frbInternalSseEncode(move: null), + serializer); } @protected @@ -1158,48 +1210,52 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { } @sealed -class SignatureBytesImpl extends RustOpaque implements SignatureBytes { +class Bip32Ed25519SignatureImpl extends RustOpaque + implements Bip32Ed25519Signature { // Not to be used by end users - SignatureBytesImpl.frbInternalDcoDecode(List wire) + Bip32Ed25519SignatureImpl.frbInternalDcoDecode(List wire) : super.frbInternalDcoDecode(wire, _kStaticData); // Not to be used by end users - SignatureBytesImpl.frbInternalSseDecode(BigInt ptr, int externalSizeOnNative) + Bip32Ed25519SignatureImpl.frbInternalSseDecode( + BigInt ptr, int externalSizeOnNative) : super.frbInternalSseDecode(ptr, externalSizeOnNative, _kStaticData); static final _kStaticData = RustArcStaticData( - rustArcIncrementStrongCount: - RustLib.instance.api.rust_arc_increment_strong_count_SignatureBytes, - rustArcDecrementStrongCount: - RustLib.instance.api.rust_arc_decrement_strong_count_SignatureBytes, - rustArcDecrementStrongCountPtr: - RustLib.instance.api.rust_arc_decrement_strong_count_SignatureBytesPtr, + rustArcIncrementStrongCount: RustLib + .instance.api.rust_arc_increment_strong_count_Bip32Ed25519Signature, + rustArcDecrementStrongCount: RustLib + .instance.api.rust_arc_decrement_strong_count_Bip32Ed25519Signature, + rustArcDecrementStrongCountPtr: RustLib + .instance.api.rust_arc_decrement_strong_count_Bip32Ed25519SignaturePtr, ); /// Get the inner bytes. U8Array64 get inner => - RustLib.instance.api.crateApiKeyDerivationSignatureBytesGetInner( + RustLib.instance.api.crateApiKeyDerivationBip32Ed25519SignatureGetInner( that: this, ); } @sealed -class XPrvBytesImpl extends RustOpaque implements XPrvBytes { +class Bip32Ed25519XPrivateKeyImpl extends RustOpaque + implements Bip32Ed25519XPrivateKey { // Not to be used by end users - XPrvBytesImpl.frbInternalDcoDecode(List wire) + Bip32Ed25519XPrivateKeyImpl.frbInternalDcoDecode(List wire) : super.frbInternalDcoDecode(wire, _kStaticData); // Not to be used by end users - XPrvBytesImpl.frbInternalSseDecode(BigInt ptr, int externalSizeOnNative) + Bip32Ed25519XPrivateKeyImpl.frbInternalSseDecode( + BigInt ptr, int externalSizeOnNative) : super.frbInternalSseDecode(ptr, externalSizeOnNative, _kStaticData); static final _kStaticData = RustArcStaticData( - rustArcIncrementStrongCount: - RustLib.instance.api.rust_arc_increment_strong_count_XPrvBytes, - rustArcDecrementStrongCount: - RustLib.instance.api.rust_arc_decrement_strong_count_XPrvBytes, - rustArcDecrementStrongCountPtr: - RustLib.instance.api.rust_arc_decrement_strong_count_XPrvBytesPtr, + rustArcIncrementStrongCount: RustLib + .instance.api.rust_arc_increment_strong_count_Bip32Ed25519XPrivateKey, + rustArcDecrementStrongCount: RustLib + .instance.api.rust_arc_decrement_strong_count_Bip32Ed25519XPrivateKey, + rustArcDecrementStrongCountPtr: RustLib.instance.api + .rust_arc_decrement_strong_count_Bip32Ed25519XPrivateKeyPtr, ); /// Derive a new extended private key from the given extended private key. @@ -1208,7 +1264,7 @@ class XPrvBytesImpl extends RustOpaque implements XPrvBytes { /// /// # Arguments /// - /// - `xprv_bytes`: An extended private key bytes of type `XPrvBytes`. + /// - `xprv_bytes`: An extended private key bytes of type `Bip32Ed25519XPrivateKey`. /// - `path`: Derivation path. eg. m/0/2'/3 where ' represents hardened derivation. /// /// # Returns @@ -1218,11 +1274,14 @@ class XPrvBytesImpl extends RustOpaque implements XPrvBytes { /// # Errors /// /// Returns an error if the derivation path is invalid. - Future deriveXprv({required String path}) => RustLib.instance.api - .crateApiKeyDerivationXPrvBytesDeriveXprv(that: this, path: path); + Future deriveXprv({required String path}) => + RustLib.instance.api + .crateApiKeyDerivationBip32Ed25519XPrivateKeyDeriveXprv( + that: this, path: path); /// Drop the extended private key. - void drop() => RustLib.instance.api.crateApiKeyDerivationXPrvBytesDrop( + void drop() => + RustLib.instance.api.crateApiKeyDerivationBip32Ed25519XPrivateKeyDrop( that: this, ); @@ -1232,8 +1291,8 @@ class XPrvBytesImpl extends RustOpaque implements XPrvBytes { /// # Returns /// /// Returns a 32 length bytes representing the chain code. - U8Array32 get chainCode => - RustLib.instance.api.crateApiKeyDerivationXPrvBytesGetChainCode( + U8Array32 get chainCode => RustLib.instance.api + .crateApiKeyDerivationBip32Ed25519XPrivateKeyGetChainCode( that: this, ); @@ -1243,14 +1302,14 @@ class XPrvBytesImpl extends RustOpaque implements XPrvBytes { /// # Returns /// /// Returns a 64 length bytes representing the extended secret key. - U8Array64 get extendedSecretKey => - RustLib.instance.api.crateApiKeyDerivationXPrvBytesGetExtendedSecretKey( + U8Array64 get extendedSecretKey => RustLib.instance.api + .crateApiKeyDerivationBip32Ed25519XPrivateKeyGetExtendedSecretKey( that: this, ); /// Get the inner bytes. U8Array96 get inner => - RustLib.instance.api.crateApiKeyDerivationXPrvBytesGetInner( + RustLib.instance.api.crateApiKeyDerivationBip32Ed25519XPrivateKeyGetInner( that: this, ); @@ -1261,14 +1320,14 @@ class XPrvBytesImpl extends RustOpaque implements XPrvBytes { /// - `data`: The data to sign. /// /// # Returns - /// Returns a 64 length bytes `SignatureBytes` representing the signature. + /// Returns a 64 length bytes `Bip32Ed25519Signature` representing the signature. /// /// # Errors /// /// Returns an error if the extended private key is invalid. - Future signData({required List data}) => - RustLib.instance.api - .crateApiKeyDerivationXPrvBytesSignData(that: this, data: data); + Future signData({required List data}) => + RustLib.instance.api.crateApiKeyDerivationBip32Ed25519XPrivateKeySignData( + that: this, data: data); /// Verify the signature on the given data using extended private key. /// @@ -1285,42 +1344,46 @@ class XPrvBytesImpl extends RustOpaque implements XPrvBytes { /// /// Returns an error if the extended private key or signature is invalid. Future verifySignature( - {required List data, required SignatureBytes signature}) => - RustLib.instance.api.crateApiKeyDerivationXPrvBytesVerifySignature( - that: this, data: data, signature: signature); + {required List data, + required Bip32Ed25519Signature signature}) => + RustLib.instance.api + .crateApiKeyDerivationBip32Ed25519XPrivateKeyVerifySignature( + that: this, data: data, signature: signature); /// Get extended public key from the given extended private key. /// /// # Returns /// - /// Returns a 64 length bytes `XPubBytes` representing the extended public key. + /// Returns a 64 length bytes `Bip32Ed25519XPublicKey` representing the extended public key. /// /// # Errors /// /// Returns an error if the extended private key is invalid. - Future xpublicKey() => - RustLib.instance.api.crateApiKeyDerivationXPrvBytesXpublicKey( + Future xpublicKey() => RustLib.instance.api + .crateApiKeyDerivationBip32Ed25519XPrivateKeyXpublicKey( that: this, ); } @sealed -class XPubBytesImpl extends RustOpaque implements XPubBytes { +class Bip32Ed25519XPublicKeyImpl extends RustOpaque + implements Bip32Ed25519XPublicKey { // Not to be used by end users - XPubBytesImpl.frbInternalDcoDecode(List wire) + Bip32Ed25519XPublicKeyImpl.frbInternalDcoDecode(List wire) : super.frbInternalDcoDecode(wire, _kStaticData); // Not to be used by end users - XPubBytesImpl.frbInternalSseDecode(BigInt ptr, int externalSizeOnNative) + Bip32Ed25519XPublicKeyImpl.frbInternalSseDecode( + BigInt ptr, int externalSizeOnNative) : super.frbInternalSseDecode(ptr, externalSizeOnNative, _kStaticData); static final _kStaticData = RustArcStaticData( - rustArcIncrementStrongCount: - RustLib.instance.api.rust_arc_increment_strong_count_XPubBytes, - rustArcDecrementStrongCount: - RustLib.instance.api.rust_arc_decrement_strong_count_XPubBytes, - rustArcDecrementStrongCountPtr: - RustLib.instance.api.rust_arc_decrement_strong_count_XPubBytesPtr, + rustArcIncrementStrongCount: RustLib + .instance.api.rust_arc_increment_strong_count_Bip32Ed25519XPublicKey, + rustArcDecrementStrongCount: RustLib + .instance.api.rust_arc_decrement_strong_count_Bip32Ed25519XPublicKey, + rustArcDecrementStrongCountPtr: RustLib + .instance.api.rust_arc_decrement_strong_count_Bip32Ed25519XPublicKeyPtr, ); /// Extract the chain code from the extended public key. @@ -1329,14 +1392,14 @@ class XPubBytesImpl extends RustOpaque implements XPubBytes { /// # Returns /// /// Returns a 32 length bytes representing the chain code. - U8Array32 get chainCode => - RustLib.instance.api.crateApiKeyDerivationXPubBytesGetChainCode( + U8Array32 get chainCode => RustLib.instance.api + .crateApiKeyDerivationBip32Ed25519XPublicKeyGetChainCode( that: this, ); /// Get the inner bytes. U8Array64 get inner => - RustLib.instance.api.crateApiKeyDerivationXPubBytesGetInner( + RustLib.instance.api.crateApiKeyDerivationBip32Ed25519XPublicKeyGetInner( that: this, ); @@ -1346,8 +1409,8 @@ class XPubBytesImpl extends RustOpaque implements XPubBytes { /// # Returns /// /// Returns a 32 length bytes representing the public key. - U8Array32 get publicKey => - RustLib.instance.api.crateApiKeyDerivationXPubBytesGetPublicKey( + U8Array32 get publicKey => RustLib.instance.api + .crateApiKeyDerivationBip32Ed25519XPublicKeyGetPublicKey( that: this, ); @@ -1366,7 +1429,9 @@ class XPubBytesImpl extends RustOpaque implements XPubBytes { /// /// Returns an error if the extended public key or signature is invalid. Future verifySignature( - {required List data, required SignatureBytes signature}) => - RustLib.instance.api.crateApiKeyDerivationXPubBytesVerifySignature( - that: this, data: data, signature: signature); + {required List data, + required Bip32Ed25519Signature signature}) => + RustLib.instance.api + .crateApiKeyDerivationBip32Ed25519XPublicKeyVerifySignature( + that: this, data: data, signature: signature); } diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart index 5d47e4e4ac..92f1fcc6ba 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.io.dart @@ -19,66 +19,68 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { }); CrossPlatformFinalizerArg - get rust_arc_decrement_strong_count_SignatureBytesPtr => wire - ._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr; + get rust_arc_decrement_strong_count_Bip32Ed25519SignaturePtr => wire + ._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519SignaturePtr; - CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPrvBytesPtr => - wire._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr; + CrossPlatformFinalizerArg + get rust_arc_decrement_strong_count_Bip32Ed25519XPrivateKeyPtr => wire + ._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKeyPtr; - CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPubBytesPtr => - wire._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr; + CrossPlatformFinalizerArg + get rust_arc_decrement_strong_count_Bip32Ed25519XPublicKeyPtr => wire + ._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKeyPtr; @protected AnyhowException dco_decode_AnyhowException(dynamic raw); @protected - SignatureBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( dynamic raw); @protected - XPrvBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( dynamic raw); @protected - XPubBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( dynamic raw); @protected - XPrvBytes - dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( dynamic raw); @protected - SignatureBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( dynamic raw); @protected - XPrvBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( dynamic raw); @protected - XPubBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( dynamic raw); @protected - SignatureBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( dynamic raw); @protected - XPrvBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( dynamic raw); @protected - XPubBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( dynamic raw); @protected @@ -118,53 +120,53 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer); @protected - SignatureBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( SseDeserializer deserializer); @protected - XPrvBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( SseDeserializer deserializer); @protected - XPubBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( SseDeserializer deserializer); @protected - XPrvBytes - sse_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + sse_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( SseDeserializer deserializer); @protected - SignatureBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( SseDeserializer deserializer); @protected - XPrvBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( SseDeserializer deserializer); @protected - XPubBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( SseDeserializer deserializer); @protected - SignatureBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( SseDeserializer deserializer); @protected - XPrvBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( SseDeserializer deserializer); @protected - XPubBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( SseDeserializer deserializer); @protected @@ -209,53 +211,53 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer); + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( + Bip32Ed25519Signature self, SseSerializer serializer); @protected void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( + Bip32Ed25519XPrivateKey self, SseSerializer serializer); @protected void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer); + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( + Bip32Ed25519XPublicKey self, SseSerializer serializer); @protected void - sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); + sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( + Bip32Ed25519XPrivateKey self, SseSerializer serializer); @protected void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( + Bip32Ed25519Signature self, SseSerializer serializer); @protected void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( + Bip32Ed25519XPrivateKey self, SseSerializer serializer); @protected void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( + Bip32Ed25519XPublicKey self, SseSerializer serializer); @protected void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer); + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( + Bip32Ed25519Signature self, SseSerializer serializer); @protected void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( + Bip32Ed25519XPrivateKey self, SseSerializer serializer); @protected void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer); + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( + Bip32Ed25519XPublicKey self, SseSerializer serializer); @protected void sse_encode_String(String self, SseSerializer serializer); @@ -310,98 +312,98 @@ class RustLibWire implements BaseWire { : _lookup = dynamicLibrary.lookup; void - rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( ffi.Pointer ptr, ) { - return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( ptr, ); } - late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr = + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519SignaturePtr = _lookup)>>( - 'frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes'); - late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes = - _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr + 'frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature'); + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature = + _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519SignaturePtr .asFunction)>(); void - rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( ffi.Pointer ptr, ) { - return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( ptr, ); } - late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr = + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519SignaturePtr = _lookup)>>( - 'frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes'); - late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes = - _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytesPtr + 'frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature'); + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature = + _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519SignaturePtr .asFunction)>(); void - rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( ffi.Pointer ptr, ) { - return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( ptr, ); } - late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr = + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKeyPtr = _lookup)>>( - 'frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes'); - late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes = - _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr + 'frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey'); + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey = + _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKeyPtr .asFunction)>(); void - rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( ffi.Pointer ptr, ) { - return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( ptr, ); } - late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr = + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKeyPtr = _lookup)>>( - 'frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes'); - late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes = - _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytesPtr + 'frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey'); + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey = + _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKeyPtr .asFunction)>(); void - rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( ffi.Pointer ptr, ) { - return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( ptr, ); } - late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr = + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKeyPtr = _lookup)>>( - 'frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes'); - late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes = - _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr + 'frbgen_catalyst_key_derivation_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey'); + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey = + _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKeyPtr .asFunction)>(); void - rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( ffi.Pointer ptr, ) { - return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( ptr, ); } - late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr = + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKeyPtr = _lookup)>>( - 'frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes'); - late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes = - _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytesPtr + 'frbgen_catalyst_key_derivation_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey'); + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey = + _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKeyPtr .asFunction)>(); } diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart index 2b10a7fbbc..0e0f899bad 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.web.dart @@ -21,66 +21,68 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { }); CrossPlatformFinalizerArg - get rust_arc_decrement_strong_count_SignatureBytesPtr => wire - .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes; + get rust_arc_decrement_strong_count_Bip32Ed25519SignaturePtr => wire + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature; - CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPrvBytesPtr => - wire.rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes; + CrossPlatformFinalizerArg + get rust_arc_decrement_strong_count_Bip32Ed25519XPrivateKeyPtr => wire + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey; - CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_XPubBytesPtr => - wire.rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes; + CrossPlatformFinalizerArg + get rust_arc_decrement_strong_count_Bip32Ed25519XPublicKeyPtr => wire + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey; @protected AnyhowException dco_decode_AnyhowException(dynamic raw); @protected - SignatureBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( dynamic raw); @protected - XPrvBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( dynamic raw); @protected - XPubBytes - dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( dynamic raw); @protected - XPrvBytes - dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + dco_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( dynamic raw); @protected - SignatureBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( dynamic raw); @protected - XPrvBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( dynamic raw); @protected - XPubBytes - dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( dynamic raw); @protected - SignatureBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( dynamic raw); @protected - XPrvBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( dynamic raw); @protected - XPubBytes - dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( dynamic raw); @protected @@ -120,53 +122,53 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer); @protected - SignatureBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( SseDeserializer deserializer); @protected - XPrvBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( SseDeserializer deserializer); @protected - XPubBytes - sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( SseDeserializer deserializer); @protected - XPrvBytes - sse_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + sse_decode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( SseDeserializer deserializer); @protected - SignatureBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( SseDeserializer deserializer); @protected - XPrvBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( SseDeserializer deserializer); @protected - XPubBytes - sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( SseDeserializer deserializer); @protected - SignatureBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + Bip32Ed25519Signature + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( SseDeserializer deserializer); @protected - XPrvBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + Bip32Ed25519XPrivateKey + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( SseDeserializer deserializer); @protected - XPubBytes - sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + Bip32Ed25519XPublicKey + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( SseDeserializer deserializer); @protected @@ -211,53 +213,53 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { @protected void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer); + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( + Bip32Ed25519Signature self, SseSerializer serializer); @protected void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( + Bip32Ed25519XPrivateKey self, SseSerializer serializer); @protected void - sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer); + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( + Bip32Ed25519XPublicKey self, SseSerializer serializer); @protected void - sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); + sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( + Bip32Ed25519XPrivateKey self, SseSerializer serializer); @protected void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( + Bip32Ed25519Signature self, SseSerializer serializer); @protected void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( + Bip32Ed25519XPrivateKey self, SseSerializer serializer); @protected void - sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( + Bip32Ed25519XPublicKey self, SseSerializer serializer); @protected void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( - SignatureBytes self, SseSerializer serializer); + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( + Bip32Ed25519Signature self, SseSerializer serializer); @protected void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( - XPrvBytes self, SseSerializer serializer); + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( + Bip32Ed25519XPrivateKey self, SseSerializer serializer); @protected void - sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( - XPubBytes self, SseSerializer serializer); + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( + Bip32Ed25519XPublicKey self, SseSerializer serializer); @protected void sse_encode_String(String self, SseSerializer serializer); @@ -302,40 +304,40 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl { class RustLibWire implements BaseWire { RustLibWire.fromExternalLibrary(ExternalLibrary lib); - void rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + void rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( int ptr) => wasmModule - .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( ptr); - void rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + void rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( int ptr) => wasmModule - .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( ptr); - void rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + void rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( int ptr) => wasmModule - .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( ptr); - void rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + void rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( int ptr) => wasmModule - .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( ptr); - void rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + void rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( int ptr) => wasmModule - .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( ptr); - void rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + void rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( int ptr) => wasmModule - .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( ptr); } @@ -346,26 +348,26 @@ external RustLibWasmModule get wasmModule; @anonymous extension type RustLibWasmModule._(JSObject _) implements JSObject { external void - rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( int ptr); external void - rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerSignatureBytes( + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( int ptr); external void - rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( int ptr); external void - rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPrvBytes( + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( int ptr); external void - rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( int ptr); external void - rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerXPubBytes( + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( int ptr); } From 1b2dfa6fe25b271044048a096d6994b5e3100ded Mon Sep 17 00:00:00 2001 From: bkioshn Date: Mon, 4 Nov 2024 20:08:34 +0700 Subject: [PATCH 75/89] fix: file path cspell Signed-off-by: bkioshn --- cspell.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cspell.json b/cspell.json index 621475599e..80420acfbc 100644 --- a/cspell.json +++ b/cspell.json @@ -180,7 +180,7 @@ "catalyst_voices/utilities/remote_widgets/example/**/**", "catalyst_voices/utilities/poc_local_storage/**/**", "**/*.svg", - "catalyst_voices_packages/catalyst_key_derivation/lib/src/rust/**", + "catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/**", ], "enableFiletypes": [ "earthfile", From b4fdb3bf36b1676e494ac891c93aa54e321cca6c Mon Sep 17 00:00:00 2001 From: bkioshn Date: Mon, 4 Nov 2024 21:44:38 +0700 Subject: [PATCH 76/89] test: check target Signed-off-by: bkioshn --- .../packages/libs/catalyst_key_derivation/rust/Earthfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile index 2c0693db68..ed47972fc8 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile @@ -14,7 +14,7 @@ builder: # check : Run check using the most efficient host tooling # CI Automated Entry point. -check: +check-code: FROM +builder DO rust-ci+EXECUTE --cmd="/scripts/std_checks.py" From 6d22b27ccbb40ae1e0bc4748edf5eef3d829a3e2 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Mon, 4 Nov 2024 22:07:52 +0700 Subject: [PATCH 77/89] fix: rust earthfile Signed-off-by: bkioshn --- .../libs/catalyst_key_derivation/rust/Earthfile | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile index ed47972fc8..0c91cc7147 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile @@ -2,31 +2,18 @@ VERSION 0.8 IMPORT github.com/input-output-hk/catalyst-ci/earthly/rust:v3.2.22 AS rust-ci +# builder : Setup the builder builder: DO rust-ci+SETUP COPY --dir .cargo .config src Cargo.toml clippy.toml deny.toml rustfmt.toml . -## ----------------------------------------------------------------------------- -## -## Standard CI targets. -## -## These targets are discovered and executed automatically by CI. - # check : Run check using the most efficient host tooling -# CI Automated Entry point. -check-code: +check: FROM +builder DO rust-ci+EXECUTE --cmd="/scripts/std_checks.py" -# all-hosts-check : Test which runs check with all supported host tooling. -# Needs qemu or rosetta to run. -# Only used to validate tooling is working across host toolsets. -all-hosts-check: - BUILD --platform=linux/amd64 --platform=linux/arm64 +check - # build : Run build using the most efficient host tooling -# CI Automated Entry point. build: FROM +builder From 365528cc2c8eb9f42970a660813adbace78bc2ca Mon Sep 17 00:00:00 2001 From: bkioshn Date: Mon, 4 Nov 2024 22:13:17 +0700 Subject: [PATCH 78/89] chore: add blueprint.cue along with new Earthfile Signed-off-by: bkioshn --- .../catalyst_key_derivation/blueprint.cue | 0 .../rust/blueprint.cue | 63 +++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 catalyst_voices/packages/libs/catalyst_key_derivation/blueprint.cue create mode 100644 catalyst_voices/packages/libs/catalyst_key_derivation/rust/blueprint.cue diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/blueprint.cue b/catalyst_voices/packages/libs/catalyst_key_derivation/blueprint.cue new file mode 100644 index 0000000000..e69de29bb2 diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/blueprint.cue b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/blueprint.cue new file mode 100644 index 0000000000..03f85cddd7 --- /dev/null +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/blueprint.cue @@ -0,0 +1,63 @@ +version: "1.0" +global: { + ci: { + local: [ + "^check(-.*)?$", + "^build(-.*)?$", + "^package(-.*)?$", + "^test(-.*)?$", + ] + registries: [ + ci.providers.aws.registry, + ] + providers: { + aws: { + region: "eu-central-1" + registry: "332405224602.dkr.ecr.eu-central-1.amazonaws.com" + role: "arn:aws:iam::332405224602:role/ci" + } + + docker: credentials: { + provider: "aws" + path: "global/ci/docker" + } + + git: credentials: { + provider: "aws" + path: "global/ci/deploy" + } + + earthly: { + credentials: { + provider: "aws" + path: "global/ci/earthly" + } + org: "Catalyst" + satellite: "ci" + version: "0.8.15" + } + + github: registry: "ghcr.io" + } + secrets: [ + { + name: "GITHUB_TOKEN" + optional: true + provider: "env" + path: "GITHUB_TOKEN" + }, + ] + } + deployment: { + registry: ci.providers.aws.registry + repo: { + url: "https://github.com/input-output-hk/catalyst-world" + ref: "master" + } + root: "k8s" + } + repo: { + defaultBranch: "main" + name: "input-output-hk/catalyst-voices" + } +} From 25988958c9746e82ffb0353ee66afb3d7df483da Mon Sep 17 00:00:00 2001 From: bkioshn Date: Mon, 4 Nov 2024 22:19:56 +0700 Subject: [PATCH 79/89] chore: fix blueprint.cue Signed-off-by: bkioshn --- .../catalyst_key_derivation/blueprint.cue | 2 + .../rust/blueprint.cue | 65 +------------------ 2 files changed, 4 insertions(+), 63 deletions(-) diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/blueprint.cue b/catalyst_voices/packages/libs/catalyst_key_derivation/blueprint.cue index e69de29bb2..71140f6206 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/blueprint.cue +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/blueprint.cue @@ -0,0 +1,2 @@ +version: "1.0.0" +project: name: "catalyst-key-derivation" \ No newline at end of file diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/blueprint.cue b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/blueprint.cue index 03f85cddd7..38deb8c82a 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/blueprint.cue +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/blueprint.cue @@ -1,63 +1,2 @@ -version: "1.0" -global: { - ci: { - local: [ - "^check(-.*)?$", - "^build(-.*)?$", - "^package(-.*)?$", - "^test(-.*)?$", - ] - registries: [ - ci.providers.aws.registry, - ] - providers: { - aws: { - region: "eu-central-1" - registry: "332405224602.dkr.ecr.eu-central-1.amazonaws.com" - role: "arn:aws:iam::332405224602:role/ci" - } - - docker: credentials: { - provider: "aws" - path: "global/ci/docker" - } - - git: credentials: { - provider: "aws" - path: "global/ci/deploy" - } - - earthly: { - credentials: { - provider: "aws" - path: "global/ci/earthly" - } - org: "Catalyst" - satellite: "ci" - version: "0.8.15" - } - - github: registry: "ghcr.io" - } - secrets: [ - { - name: "GITHUB_TOKEN" - optional: true - provider: "env" - path: "GITHUB_TOKEN" - }, - ] - } - deployment: { - registry: ci.providers.aws.registry - repo: { - url: "https://github.com/input-output-hk/catalyst-world" - ref: "master" - } - root: "k8s" - } - repo: { - defaultBranch: "main" - name: "input-output-hk/catalyst-voices" - } -} +version: "1.0.0" +project: name: "catalyst-key-derivation-rust" \ No newline at end of file From 757e30ac79529e52f34761ae984b1995f48d184e Mon Sep 17 00:00:00 2001 From: bkioshn Date: Tue, 5 Nov 2024 11:13:39 +0700 Subject: [PATCH 80/89] fix: linter and format Signed-off-by: bkioshn --- .../lib/src/rust/api/key_derivation.dart | 3 +- .../lib/src/rust/frb_generated.dart | 3 +- .../rust/src/api/key_derivation/mod.rs | 33 +++++++++---------- 3 files changed, 19 insertions(+), 20 deletions(-) diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart index 48b25bee9b..b36a989f77 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart @@ -125,7 +125,8 @@ abstract class Bip32Ed25519XPrivateKey implements RustOpaqueInterface { /// /// # Returns /// - /// Returns a 64 length bytes `Bip32Ed25519XPublicKey` representing the extended public key. + /// Returns a 64 length bytes `Bip32Ed25519XPublicKey` representing the extended + /// public key. /// /// # Errors /// diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart index 3b99d94586..7e18c1b93f 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart @@ -1354,7 +1354,8 @@ class Bip32Ed25519XPrivateKeyImpl extends RustOpaque /// /// # Returns /// - /// Returns a 64 length bytes `Bip32Ed25519XPublicKey` representing the extended public key. + /// Returns a 64 length bytes `Bip32Ed25519XPublicKey` representing the extended + /// public key. /// /// # Errors /// diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs index d59d227182..7a5a3ef9ac 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs @@ -85,7 +85,7 @@ impl Bip32Ed25519XPrivateKey { // &str is not supported in flutter_rust_bridge #[allow(clippy::needless_pass_by_value)] pub async fn derive_xprv(&self, path: String) -> anyhow::Result { - let xprv = XPrv::from_bytes_verified(self.0.clone())?; + let xprv = XPrv::from_bytes_verified(self.0)?; let derive_xprv = spawn_blocking_with( move || derive_xprv_helper(xprv, &path), @@ -100,13 +100,14 @@ impl Bip32Ed25519XPrivateKey { /// /// # Returns /// - /// Returns a 64 length bytes `Bip32Ed25519XPublicKey` representing the extended public key. + /// Returns a 64 length bytes `Bip32Ed25519XPublicKey` representing the extended + /// public key. /// /// # Errors /// /// Returns an error if the extended private key is invalid. pub async fn xpublic_key(&self) -> anyhow::Result { - let xprv = XPrv::from_bytes_verified(self.0.clone())?; + let xprv = XPrv::from_bytes_verified(self.0)?; let xpub = spawn_blocking_with( move || xpublic_key_helper(&xprv), @@ -130,7 +131,7 @@ impl Bip32Ed25519XPrivateKey { /// /// Returns an error if the extended private key is invalid. pub async fn sign_data(&self, data: Vec) -> anyhow::Result { - let xprv = XPrv::from_bytes_verified(self.0.clone())?; + let xprv = XPrv::from_bytes_verified(self.0)?; let signature = spawn_blocking_with( move || sign_data_helper(&xprv, &data), @@ -158,12 +159,12 @@ impl Bip32Ed25519XPrivateKey { pub async fn verify_signature( &self, data: Vec, signature: &Bip32Ed25519Signature, ) -> anyhow::Result { - let xprv = XPrv::from_bytes_verified(self.0.clone())?; + let xprv = XPrv::from_bytes_verified(self.0)?; let verified_sig = Signature::from_slice(&signature.0) .map_err(|_| anyhow::anyhow!("Invalid signature"))?; let result = spawn_blocking_with( - move || verify_signature_xprv_helper(&xprv, &data, verified_sig), + move || verify_signature_xprv_helper(&xprv, &data, &verified_sig), FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), ) .await?; @@ -249,12 +250,12 @@ impl Bip32Ed25519XPublicKey { pub async fn verify_signature( &self, data: Vec, signature: &Bip32Ed25519Signature, ) -> anyhow::Result { - let xpub = XPub::from_bytes(self.0.clone()); + let xpub = XPub::from_bytes(self.0); let verified_sig = Signature::from_slice(&signature.0) .map_err(|_| anyhow::anyhow!("Invalid signature"))?; let result = spawn_blocking_with( - move || verify_signature_xpub_helper(&xpub, &data, verified_sig), + move || verify_signature_xpub_helper(&xpub, &data, &verified_sig), FLUTTER_RUST_BRIDGE_HANDLER.thread_pool(), ) .await?; @@ -382,16 +383,16 @@ fn sign_data_helper(xprv: &XPrv, data: &[u8]) -> Signature, + xprv: &XPrv, data: &[u8], signature: &Signature, ) -> bool { - xprv.verify(data, &signature) + xprv.verify(data, signature) } /// Helper function for `Bip32Ed25519XPublicKey` `verify_signature`. fn verify_signature_xpub_helper( - xpub: &XPub, data: &[u8], signature: Signature, + xpub: &XPub, data: &[u8], signature: &Signature, ) -> bool { - xpub.verify(data, &signature) + xpub.verify(data, signature) } #[cfg(test)] @@ -422,12 +423,8 @@ mod test { let data = vec![1, 2, 3]; let xprv = mnemonic_to_xprv_helper(MNEMONIC.to_string(), None).unwrap(); let sign_data = sign_data_helper(&xprv, &data); - assert!(verify_signature_xprv_helper( - &xprv, - &data, - sign_data.clone() - )); + assert!(verify_signature_xprv_helper(&xprv, &data, &sign_data)); let xpub = xpublic_key_helper(&xprv); - assert!(verify_signature_xpub_helper(&xpub, &data, sign_data)); + assert!(verify_signature_xpub_helper(&xpub, &data, &sign_data)); } } From 664be71d971c5899b9e06f2f042d2b174de4d35d Mon Sep 17 00:00:00 2001 From: bkioshn Date: Tue, 5 Nov 2024 11:14:46 +0700 Subject: [PATCH 81/89] fix: remove simple.rs Signed-off-by: bkioshn --- .../rust/src/api/simple.rs | 29 ------------------- 1 file changed, 29 deletions(-) delete mode 100644 catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/simple.rs diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/simple.rs b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/simple.rs deleted file mode 100644 index 8e42034aea..0000000000 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/simple.rs +++ /dev/null @@ -1,29 +0,0 @@ -use flutter_rust_bridge::spawn_blocking_with; -use crate::frb_generated::FLUTTER_RUST_BRIDGE_HANDLER; - -// spawn_blocking_with works similary to tokio spawn_blocking -// basically running blocking operations on a separate thread -// Just use FLUTTER_RUST_BRIDGE_HANDLER.thread_pool() as the second argument -// as mention in https://github.com/fzyzcjy/flutter_rust_bridge/blob/master/frb_rust/src/rust_async/io.rs -// https://cjycode.com/flutter_rust_bridge/guides/cross-platform/async -pub async fn greet(name: String) -> String { - let iterations = 50_000_000; - - let result = spawn_blocking_with(move || { - let mut sum = 0.0; - for i in 0..iterations { - sum += (i as f64).sqrt(); - } - sum - }, FLUTTER_RUST_BRIDGE_HANDLER.thread_pool()) - .await - .unwrap(); - - format!("Hello, {name} {result}!") -} - -#[flutter_rust_bridge::frb(init)] -pub fn init_app() { - // Default utilities - feel free to customize - flutter_rust_bridge::setup_default_user_utils(); -} From be3380427985515341b7dc5393105fe1998a8f97 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Tue, 5 Nov 2024 19:02:36 +0700 Subject: [PATCH 82/89] fix: ci check create dummy Signed-off-by: bkioshn --- .../packages/libs/catalyst_key_derivation/rust/Earthfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile index 0c91cc7147..b5bccbe17c 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile @@ -10,7 +10,8 @@ builder: # check : Run check using the most efficient host tooling check: FROM +builder - + # Create a dummy file just to past the CI format check + RUN touch ./src/frb_generated.rs DO rust-ci+EXECUTE --cmd="/scripts/std_checks.py" # build : Run build using the most efficient host tooling From 1b21484660012b45011fa394fc93a5b741a65d09 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Tue, 5 Nov 2024 19:19:33 +0700 Subject: [PATCH 83/89] fix: ci check create dummy Signed-off-by: bkioshn --- .../packages/libs/catalyst_key_derivation/rust/Earthfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile index b5bccbe17c..1261a2c7be 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile @@ -11,7 +11,8 @@ builder: check: FROM +builder # Create a dummy file just to past the CI format check - RUN touch ./src/frb_generated.rs + # Add another blank line to satisfy the cargo fmt check + RUN printf "\n" > ./src/frb_generated.rs DO rust-ci+EXECUTE --cmd="/scripts/std_checks.py" # build : Run build using the most efficient host tooling From 3aea8be57a2238db38c23136cf584e607fe837da Mon Sep 17 00:00:00 2001 From: bkioshn Date: Tue, 5 Nov 2024 21:08:22 +0700 Subject: [PATCH 84/89] fix: rust ci Signed-off-by: bkioshn --- .../libs/catalyst_key_derivation/Earthfile | 14 +++++++++++--- .../libs/catalyst_key_derivation/rust/Cargo.toml | 2 +- .../libs/catalyst_key_derivation/rust/Earthfile | 2 ++ .../rust/src/api/key_derivation/mod.rs | 10 +++++----- .../libs/catalyst_key_derivation/rust/src/lib.rs | 16 ++++++++++++++++ 5 files changed, 35 insertions(+), 9 deletions(-) diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/Earthfile b/catalyst_voices/packages/libs/catalyst_key_derivation/Earthfile index 3840e2d8e6..d8b04eed68 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/Earthfile +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/Earthfile @@ -8,9 +8,17 @@ builder: # Generated necessary files for running Flutter web locally and save it locally. code-generator: + ARG local = false FROM +builder DO flutter_rust_bridge+CODE_GENERATOR_WEB - SAVE ARTIFACT ./web/pkg AS LOCAL ./example/web/pkg - SAVE ARTIFACT ./rust/src/frb_generated.rs AS LOCAL ./rust/src/frb_generated.rs - SAVE ARTIFACT ./lib/src AS LOCAL ./lib/src + IF $local + SAVE ARTIFACT ./web/pkg AS LOCAL ./example/web/pkg + SAVE ARTIFACT ./rust/src/frb_generated.rs AS LOCAL ./rust/src/frb_generated.rs + SAVE ARTIFACT ./lib/src AS LOCAL ./lib/src + ELSE + SAVE ARTIFACT ./web/pkg pkg + SAVE ARTIFACT ./rust/src/frb_generated.rs frb_generated.rs + SAVE ARTIFACT ./lib/src src + END + diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Cargo.toml b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Cargo.toml index fa50552a77..1d618da82f 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Cargo.toml +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/input-output-hk/catalyst-voices" license = "Apache-2.0" [lib] -crate-type = ["cdylib", "staticlib"] +crate-type = ["cdylib", "staticlib", "rlib"] [dependencies] flutter_rust_bridge = "=2.5.1" diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile index 1261a2c7be..1be1503043 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Earthfile @@ -1,6 +1,7 @@ VERSION 0.8 IMPORT github.com/input-output-hk/catalyst-ci/earthly/rust:v3.2.22 AS rust-ci +IMPORT ../ AS flutter-rust-bridge # builder : Setup the builder builder: @@ -19,5 +20,6 @@ check: build: FROM +builder + COPY flutter-rust-bridge+code-generator/frb_generated.rs ./src/frb_generated.rs DO rust-ci+EXECUTE \ --cmd="/scripts/std_build.py" \ diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs index 7a5a3ef9ac..1d74b92e38 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs @@ -322,12 +322,12 @@ pub async fn mnemonic_to_xprv( /// 2. Determine entropy that was used to generate `mnemonic`. /// 3. Compute `pbkdf2_result` = PBKDF2-HMAC-SHA512(password = `passphrase`, salt = /// `entropy`, iterations = 4096, dkLen = 96). -/// 4. given `pbkdf2_result` is S, modify S by assigning S[0] := S[0] & 0xf8 and S[31] := -/// (S[31] & 0x1f) | 0x40. +/// 4. given `pbkdf2_result` is S, modify S by assigning S\[0\] := S\[0\] & 0xf8 and S\[31\] := +/// (S\[31\] & 0x1f) | 0x40. /// 5. The result will be -/// - kL where S[0:32] a 256-bit integer in little-endian byte order. -/// - kR where S[32:64] -/// - Result in (kL, kR) as the root extended private key and c := S[64:96] as the +/// - kL where S\[0:32\] a 256-bit integer in little-endian byte order. +/// - kR where S\[32:64\] +/// - Result in (kL, kR) as the root extended private key and c := S\[64:96\] as the /// root chain code. fn mnemonic_to_xprv_helper(mnemonic: String, passphrase: Option) -> anyhow::Result { /// 4096 is the number of iterations for PBKDF2. diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/lib.rs b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/lib.rs index 998f645663..70f0fe3d8b 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/lib.rs +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/lib.rs @@ -1,4 +1,20 @@ //! Catalyst Key Derivation +// cspell: words uninlined + pub mod api; +#[allow( + clippy::missing_docs_in_private_items, + clippy::unwrap_used, + clippy::unreachable, + clippy::semicolon_if_nothing_returned, + clippy::cast_possible_truncation, + clippy::cast_possible_wrap, + clippy::cast_lossless, + clippy::wildcard_imports, + clippy::uninlined_format_args, + clippy::redundant_else, + clippy::unreadable_literal +)] +#[doc(hidden)] mod frb_generated; From d1a67e7af865ce57ae70aef56b6b3e17e5dde321 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Tue, 5 Nov 2024 21:10:55 +0700 Subject: [PATCH 85/89] fix: rust format Signed-off-by: bkioshn --- .../rust/src/api/key_derivation/mod.rs | 4 ++-- .../packages/libs/catalyst_key_derivation/rust/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs index 1d74b92e38..23c26b86ed 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs @@ -322,8 +322,8 @@ pub async fn mnemonic_to_xprv( /// 2. Determine entropy that was used to generate `mnemonic`. /// 3. Compute `pbkdf2_result` = PBKDF2-HMAC-SHA512(password = `passphrase`, salt = /// `entropy`, iterations = 4096, dkLen = 96). -/// 4. given `pbkdf2_result` is S, modify S by assigning S\[0\] := S\[0\] & 0xf8 and S\[31\] := -/// (S\[31\] & 0x1f) | 0x40. +/// 4. given `pbkdf2_result` is S, modify S by assigning S\[0\] := S\[0\] & 0xf8 and +/// S\[31\] := (S\[31\] & 0x1f) | 0x40. /// 5. The result will be /// - kL where S\[0:32\] a 256-bit integer in little-endian byte order. /// - kR where S\[32:64\] diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/lib.rs b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/lib.rs index 70f0fe3d8b..6af52ba41f 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/lib.rs +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/lib.rs @@ -4,7 +4,7 @@ pub mod api; #[allow( - clippy::missing_docs_in_private_items, + clippy::missing_docs_in_private_items, clippy::unwrap_used, clippy::unreachable, clippy::semicolon_if_nothing_returned, From cbe61e4c668a2d262e35bee608f4842cd7fb7850 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Tue, 5 Nov 2024 21:28:43 +0700 Subject: [PATCH 86/89] feat: add to hex functions Signed-off-by: bkioshn --- .../catalyst_key_derivation/rust/Cargo.toml | 1 + .../rust/src/api/key_derivation/mod.rs | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Cargo.toml b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Cargo.toml index 1d618da82f..257bb6b8b7 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Cargo.toml +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/Cargo.toml @@ -18,6 +18,7 @@ anyhow = "1.0.91" bip39 = "2.0.0" sha2 = "0.10" bip32 = "0.5.1" +hex = "0.4.3" [lints.rust] warnings = "deny" diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs index 23c26b86ed..6496d1c850 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/rust/src/api/key_derivation/mod.rs @@ -34,6 +34,12 @@ impl Bip32Ed25519XPrivateKey { Bip32Ed25519XPrivateKey(xprv_bytes) } + /// Convert to a hex string. + #[frb(sync)] + pub fn to_hex(&self) -> String { + hex::encode(&self.0) + } + /// Get the inner bytes. #[frb(getter, sync)] pub fn get_inner(&self) -> [u8; 96] { @@ -200,6 +206,12 @@ impl Bip32Ed25519XPublicKey { Bip32Ed25519XPublicKey(xpub_bytes) } + /// Convert to a hex string. + #[frb(sync)] + pub fn to_hex(&self) -> String { + hex::encode(&self.0) + } + /// Get the inner bytes. #[frb(getter, sync)] pub fn get_inner(&self) -> [u8; 64] { @@ -276,6 +288,12 @@ impl Bip32Ed25519Signature { Bip32Ed25519Signature(sig_bytes) } + /// Convert to a hex string. + #[frb(sync)] + pub fn to_hex(&self) -> String { + hex::encode(&self.0) + } + /// Get the inner bytes. #[frb(getter, sync)] pub fn get_inner(&self) -> [u8; 64] { From f22ddcf32019e64ec618a5316f20b9670a87a74a Mon Sep 17 00:00:00 2001 From: bkioshn Date: Tue, 5 Nov 2024 21:30:39 +0700 Subject: [PATCH 87/89] fix: auto gen file Signed-off-by: bkioshn --- .../lib/src/rust/api/key_derivation.dart | 9 ++ .../lib/src/rust/frb_generated.dart | 139 ++++++++++++++++-- 2 files changed, 132 insertions(+), 16 deletions(-) diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart index b36a989f77..1ed912fe8a 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/api/key_derivation.dart @@ -41,6 +41,9 @@ abstract class Bip32Ed25519Signature implements RustOpaqueInterface { factory Bip32Ed25519Signature({required U8Array64 sigBytes}) => RustLib.instance.api .crateApiKeyDerivationBip32Ed25519SignatureNew(sigBytes: sigBytes); + + /// Convert to a hex string. + String toHex(); } // Rust type: RustOpaqueMoi> @@ -104,6 +107,9 @@ abstract class Bip32Ed25519XPrivateKey implements RustOpaqueInterface { /// Returns an error if the extended private key is invalid. Future signData({required List data}); + /// Convert to a hex string. + String toHex(); + /// Verify the signature on the given data using extended private key. /// /// # Arguments @@ -160,6 +166,9 @@ abstract class Bip32Ed25519XPublicKey implements RustOpaqueInterface { RustLib.instance.api .crateApiKeyDerivationBip32Ed25519XPublicKeyNew(xpubBytes: xpubBytes); + /// Convert to a hex string. + String toHex(); + /// Verify the signature on the given data using extended public key. /// /// # Arguments diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart index 7e18c1b93f..fd8ab0d0cd 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart @@ -66,7 +66,7 @@ class RustLib extends BaseEntrypoint { String get codegenVersion => '2.5.1'; @override - int get rustContentHash => -1380090306; + int get rustContentHash => -1976079523; static const kDefaultExternalLibraryLoaderConfig = ExternalLibraryLoaderConfig( @@ -83,6 +83,9 @@ abstract class RustLibApi extends BaseApi { Bip32Ed25519Signature crateApiKeyDerivationBip32Ed25519SignatureNew( {required U8Array64 sigBytes}); + String crateApiKeyDerivationBip32Ed25519SignatureToHex( + {required Bip32Ed25519Signature that}); + Future crateApiKeyDerivationBip32Ed25519XPrivateKeyDeriveXprv( {required Bip32Ed25519XPrivateKey that, required String path}); @@ -106,6 +109,9 @@ abstract class RustLibApi extends BaseApi { crateApiKeyDerivationBip32Ed25519XPrivateKeySignData( {required Bip32Ed25519XPrivateKey that, required List data}); + String crateApiKeyDerivationBip32Ed25519XPrivateKeyToHex( + {required Bip32Ed25519XPrivateKey that}); + Future crateApiKeyDerivationBip32Ed25519XPrivateKeyVerifySignature( {required Bip32Ed25519XPrivateKey that, required List data, @@ -127,6 +133,9 @@ abstract class RustLibApi extends BaseApi { Bip32Ed25519XPublicKey crateApiKeyDerivationBip32Ed25519XPublicKeyNew( {required U8Array64 xpubBytes}); + String crateApiKeyDerivationBip32Ed25519XPublicKeyToHex( + {required Bip32Ed25519XPublicKey that}); + Future crateApiKeyDerivationBip32Ed25519XPublicKeyVerifySignature( {required Bip32Ed25519XPublicKey that, required List data, @@ -224,6 +233,32 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { argNames: ["sigBytes"], ); + @override + String crateApiKeyDerivationBip32Ed25519SignatureToHex( + {required Bip32Ed25519Signature that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 3)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_String, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationBip32Ed25519SignatureToHexConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiKeyDerivationBip32Ed25519SignatureToHexConstMeta => + const TaskConstMeta( + debugName: "Bip32Ed25519Signature_to_hex", + argNames: ["that"], + ); + @override Future crateApiKeyDerivationBip32Ed25519XPrivateKeyDeriveXprv( @@ -235,7 +270,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { that, serializer); sse_encode_String(path, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 3, port: port_); + funcId: 4, port: port_); }, codec: SseCodec( decodeSuccessData: @@ -264,7 +299,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 4)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 5)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -291,7 +326,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 5)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 6)!; }, codec: SseCodec( decodeSuccessData: sse_decode_u_8_array_32, @@ -319,7 +354,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 6)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 7)!; }, codec: SseCodec( decodeSuccessData: sse_decode_u_8_array_64, @@ -347,7 +382,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 7)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 8)!; }, codec: SseCodec( decodeSuccessData: sse_decode_u_8_array_96, @@ -373,7 +408,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_u_8_array_96(xprvBytes, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 8)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 9)!; }, codec: SseCodec( decodeSuccessData: @@ -403,7 +438,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { that, serializer); sse_encode_list_prim_u_8_loose(data, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 9, port: port_); + funcId: 10, port: port_); }, codec: SseCodec( decodeSuccessData: @@ -423,6 +458,33 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { argNames: ["that", "data"], ); + @override + String crateApiKeyDerivationBip32Ed25519XPrivateKeyToHex( + {required Bip32Ed25519XPrivateKey that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 11)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_String, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationBip32Ed25519XPrivateKeyToHexConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta + get kCrateApiKeyDerivationBip32Ed25519XPrivateKeyToHexConstMeta => + const TaskConstMeta( + debugName: "Bip32Ed25519XPrivateKey_to_hex", + argNames: ["that"], + ); + @override Future crateApiKeyDerivationBip32Ed25519XPrivateKeyVerifySignature( {required Bip32Ed25519XPrivateKey that, @@ -437,7 +499,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( signature, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 10, port: port_); + funcId: 12, port: port_); }, codec: SseCodec( decodeSuccessData: sse_decode_bool, @@ -467,7 +529,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPrivateKey( that, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 11, port: port_); + funcId: 13, port: port_); }, codec: SseCodec( decodeSuccessData: @@ -496,7 +558,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 12)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 14)!; }, codec: SseCodec( decodeSuccessData: sse_decode_u_8_array_32, @@ -524,7 +586,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 13)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 15)!; }, codec: SseCodec( decodeSuccessData: sse_decode_u_8_array_64, @@ -551,7 +613,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 14)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 16)!; }, codec: SseCodec( decodeSuccessData: sse_decode_u_8_array_32, @@ -578,7 +640,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_u_8_array_64(xpubBytes, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 15)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 17)!; }, codec: SseCodec( decodeSuccessData: @@ -597,6 +659,33 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { argNames: ["xpubBytes"], ); + @override + String crateApiKeyDerivationBip32Ed25519XPublicKeyToHex( + {required Bip32Ed25519XPublicKey that}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519XPublicKey( + that, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 18)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_String, + decodeErrorData: null, + ), + constMeta: kCrateApiKeyDerivationBip32Ed25519XPublicKeyToHexConstMeta, + argValues: [that], + apiImpl: this, + )); + } + + TaskConstMeta + get kCrateApiKeyDerivationBip32Ed25519XPublicKeyToHexConstMeta => + const TaskConstMeta( + debugName: "Bip32Ed25519XPublicKey_to_hex", + argNames: ["that"], + ); + @override Future crateApiKeyDerivationBip32Ed25519XPublicKeyVerifySignature( {required Bip32Ed25519XPublicKey that, @@ -611,7 +700,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerBip32Ed25519Signature( signature, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 16, port: port_); + funcId: 19, port: port_); }, codec: SseCodec( decodeSuccessData: sse_decode_bool, @@ -640,7 +729,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_String(mnemonic, serializer); sse_encode_opt_String(passphrase, serializer); pdeCallFfi(generalizedFrbRustBinding, serializer, - funcId: 17, port: port_); + funcId: 20, port: port_); }, codec: SseCodec( decodeSuccessData: @@ -1235,6 +1324,12 @@ class Bip32Ed25519SignatureImpl extends RustOpaque RustLib.instance.api.crateApiKeyDerivationBip32Ed25519SignatureGetInner( that: this, ); + + /// Convert to a hex string. + String toHex() => + RustLib.instance.api.crateApiKeyDerivationBip32Ed25519SignatureToHex( + that: this, + ); } @sealed @@ -1329,6 +1424,12 @@ class Bip32Ed25519XPrivateKeyImpl extends RustOpaque RustLib.instance.api.crateApiKeyDerivationBip32Ed25519XPrivateKeySignData( that: this, data: data); + /// Convert to a hex string. + String toHex() => + RustLib.instance.api.crateApiKeyDerivationBip32Ed25519XPrivateKeyToHex( + that: this, + ); + /// Verify the signature on the given data using extended private key. /// /// # Arguments @@ -1415,6 +1516,12 @@ class Bip32Ed25519XPublicKeyImpl extends RustOpaque that: this, ); + /// Convert to a hex string. + String toHex() => + RustLib.instance.api.crateApiKeyDerivationBip32Ed25519XPublicKeyToHex( + that: this, + ); + /// Verify the signature on the given data using extended public key. /// /// # Arguments From 348bd6300770f81cf826803e0b570dc642d02cbc Mon Sep 17 00:00:00 2001 From: bkioshn Date: Tue, 5 Nov 2024 21:30:58 +0700 Subject: [PATCH 88/89] fix: add toHex example to dart Signed-off-by: bkioshn --- .../libs/catalyst_key_derivation/example/lib/main.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/example/lib/main.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/example/lib/main.dart index 4fdb88e77c..6c128ed434 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/example/lib/main.dart +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/example/lib/main.dart @@ -56,9 +56,11 @@ class MyApp extends StatelessWidget { const path = "m/1852'/1815'/0'/2/0"; final childXprv = await xprv.deriveXprv(path: path); - print('Derive xprv with $path: ${childXprv.inner}'); + final childXprvHex = childXprv.toHex(); + print('Master xprv hex $childXprvHex'); + xprv.drop(); print('Master xprv dropped ${xprv.inner}'); } From df6b7e00a8c4f265a44151e539cca694885ed611 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Wed, 6 Nov 2024 20:41:32 +0700 Subject: [PATCH 89/89] fix: code-generator Signed-off-by: bkioshn --- .../packages/libs/catalyst_key_derivation/Earthfile | 7 +++---- .../lib/src/rust/frb_generated.dart | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/Earthfile b/catalyst_voices/packages/libs/catalyst_key_derivation/Earthfile index d8b04eed68..31f1c292ea 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/Earthfile +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/Earthfile @@ -12,13 +12,12 @@ code-generator: FROM +builder DO flutter_rust_bridge+CODE_GENERATOR_WEB - IF $local - SAVE ARTIFACT ./web/pkg AS LOCAL ./example/web/pkg + IF [ $local = true ] + SAVE ARTIFACT ./assets/js AS LOCAL ./assets/js SAVE ARTIFACT ./rust/src/frb_generated.rs AS LOCAL ./rust/src/frb_generated.rs SAVE ARTIFACT ./lib/src AS LOCAL ./lib/src ELSE - SAVE ARTIFACT ./web/pkg pkg + SAVE ARTIFACT ./assets/js assets_js SAVE ARTIFACT ./rust/src/frb_generated.rs frb_generated.rs SAVE ARTIFACT ./lib/src src END - diff --git a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart index fd8ab0d0cd..3bec0b3540 100644 --- a/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart +++ b/catalyst_voices/packages/libs/catalyst_key_derivation/lib/src/rust/frb_generated.dart @@ -72,7 +72,7 @@ class RustLib extends BaseEntrypoint { ExternalLibraryLoaderConfig( stem: 'catalyst_key_derivation', ioDirectory: 'rust/target/release/', - webPrefix: 'pkg/', + webPrefix: '/assets/packages/catalyst_key_derivation/assets/js/', ); }