Display Public key and Key path
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabView.xaml
<DataTemplate>
<Grid>
<Expander ExpandDirection="Down" IsExpanded="{Binding IsExpanded}">
- <Panel>
- <Panel Width="240" Background="#FFFEFEFE">
- <controls:QrCode Matrix="{Binding QrCode}" HorizontalAlignment="Center" Margin="20" />
- </Panel>
+ <StackPanel Orientation="Horizontal" Spacing="16" Margin="35 10 0 25">
+ <Panel Height="180" Background="#FFFEFEFE">
+ <controls:QrCode Matrix="{Binding QrCode}" HorizontalAlignment="Left" Margin="14" />
</Panel>
+ <Grid ColumnDefinitions="140, *" RowDefinitions="22,22" Margin="6">
+ <TextBlock Text="Public key:" Grid.Row="0" Grid.Column="0" />
+ <TextBlock Text="{Binding Pubkey}" Grid.Row="0" Grid.Column="1" />
+ <TextBlock Text="Key path:" Grid.Row="1" Grid.Column="0" />
+ <TextBlock Text="{Binding KeyPath}" Grid.Row="1" Grid.Column="1" />
+ </Grid>
+ </StackPanel>
</Expander>
<Grid ColumnDefinitions="400, *, 100" Margin="30 0 0 0">
<TextBlock Text="{Binding Address}">

MODIFY
WalletWasabi.Gui/ViewModels/AddressViewModel.cs
WalletWasabi.Gui/ViewModels/AddressViewModel.cs
@@ -39,6 +39,10 @@ namespace WalletWasabi.Gui.ViewModels
public string Address => Model.GetP2wpkhAddress(Global.Network).ToString();
+ public string Pubkey => Model.PubKey.ToString();
+
+ public string KeyPath => Model.FullKeyPath.ToString();
+
public bool[,] QrCode
{
get => _qrCode;

Display Public key and Key path