diff --git a/README.md b/README.md index 3a66a87..15c01c5 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [github](https://github.com/aspectron/kaspa-ng) +


RUSTY KASPA P2P NODE • KASPA WALLET • BLOCKDAG VISUALIZER

@@ -78,4 +79,3 @@ additional terms or conditions. If you are a Kaspa investor, please consider supporting this project. The funds will be used to cover operational costs and further the project's functionality. `kaspa:qq2efzv0j7vt9gz9gfq44e6ggemjvvcuewhzqpm4ekf4fs5smruvs3c8ur9rp` - diff --git a/Servers.toml b/Servers.toml index 1755668..099c3c0 100644 --- a/Servers.toml +++ b/Servers.toml @@ -25,21 +25,21 @@ name = "kaspa-ng.org" location = "US" protocol = "borsh" network = "mainnet" -address = "wss://us-west-1.kaspa-ng.org/mainnet" +address = "wss://us-1.kaspa-ng.org/mainnet" [[server]] name = "kaspa-ng.org" location = "US" protocol = "borsh" network = "testnet-10" -address = "wss://us-west-1.kaspa-ng.org/testnet-10" +address = "wss://us-1.kaspa-ng.org/testnet-10" [[server]] name = "kaspa-ng.org" location = "US" protocol = "borsh" network = "testnet-11" -address = "wss://us-west-1.kaspa-ng.org/testnet-11" +address = "wss://us-1.kaspa-ng.org/testnet-11" [[server]] name = "kaspa-ng.io" diff --git a/core/src/app.rs b/core/src/app.rs index 8e468d9..47fe421 100644 --- a/core/src/app.rs +++ b/core/src/app.rs @@ -9,7 +9,7 @@ use workflow_i18n::*; use workflow_log::*; // pub const KASPA_NG_ICON_SVG: &[u8] = include_bytes!("../../resources/images/kaspa.svg"); -pub const KASPA_NG_ICON_SVG: &[u8] = include_bytes!("../../resources/images/kaspa-node.svg"); +pub const KASPA_NG_ICON_SVG: &[u8] = include_bytes!("../../resources/images/kaspa-node-dark.svg"); pub const KASPA_NG_LOGO_SVG: &[u8] = include_bytes!("../../resources/images/kaspa-ng.svg"); pub const I18N_EMBEDDED: &str = include_str!("../../resources/i18n/i18n.json"); pub const BUILD_TIMESTAMP: &str = env!("VERGEN_BUILD_TIMESTAMP"); diff --git a/core/src/egui/theme/color.rs b/core/src/egui/theme/color.rs index 689aa0a..b550077 100644 --- a/core/src/egui/theme/color.rs +++ b/core/src/egui/theme/color.rs @@ -203,7 +203,7 @@ impl ThemeColor { block_dag_block_fill_color: Color32::from_rgb(201, 230, 240), block_dag_block_stroke_color: Color32::from_rgb(42, 51, 50), block_dag_vspc_connect_color: Color32::from_rgb(11, 77, 70), - block_dag_parent_connect_color: Color32::from_rgba_premultiplied(0, 0, 0, 220), + block_dag_parent_connect_color: Color32::from_rgba_premultiplied(0, 0, 0, 64), } } } diff --git a/core/src/modules/mod.rs b/core/src/modules/mod.rs index a8485d9..f81849f 100644 --- a/core/src/modules/mod.rs +++ b/core/src/modules/mod.rs @@ -8,7 +8,6 @@ kaspa_ng_macros::register_modules!( account_create, account_manager, block_dag, - changelog, donations, export, import, @@ -27,7 +26,7 @@ kaspa_ng_macros::register_modules!( ); #[cfg(not(target_arch = "wasm32"))] -kaspa_ng_macros::register_modules!(register_native_modules, [logs, node,]); +kaspa_ng_macros::register_modules!(register_native_modules, [changelog, logs, node,]); pub enum ModuleStyle { Mobile, diff --git a/core/src/modules/welcome.rs b/core/src/modules/welcome.rs index 619aa0d..ac7f0c7 100644 --- a/core/src/modules/welcome.rs +++ b/core/src/modules/welcome.rs @@ -162,7 +162,13 @@ impl Welcome { self.runtime.kaspa_service().update_services(&self.settings.node, None); core.settings = settings.clone(); core.get_mut::().load(settings); - core.select::(); + cfg_if!{ + if #[cfg(not(target_arch = "wasm32"))] { + core.select::(); + } else { + core.select::(); + } + } } }); } diff --git a/resources/images/kaspa-node-dark.svg b/resources/images/kaspa-node-dark.svg new file mode 100644 index 0000000..046f234 --- /dev/null +++ b/resources/images/kaspa-node-dark.svg @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/images/kaspa-node-light.svg b/resources/images/kaspa-node-light.svg new file mode 100644 index 0000000..d1a9f43 --- /dev/null +++ b/resources/images/kaspa-node-light.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/images/kaspa-node-transparent.svg b/resources/images/kaspa-node-transparent.svg new file mode 100644 index 0000000..46164fc --- /dev/null +++ b/resources/images/kaspa-node-transparent.svg @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/images/kaspa-node.svg b/resources/images/kaspa-node.svg deleted file mode 100644 index 3db497a..0000000 --- a/resources/images/kaspa-node.svg +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - -