From 6acd9884274a3886f772ff4aefa517570c47bb25 Mon Sep 17 00:00:00 2001 From: itailiors <78041027+itailiors@users.noreply.github.com> Date: Sat, 3 Aug 2024 21:54:06 +0300 Subject: [PATCH 1/8] Add button to display raw transaction JSON for addresses and amounts --- src/Angor/Client/Pages/Wallet.razor | 130 +++++++++++++++++++--------- 1 file changed, 90 insertions(+), 40 deletions(-) diff --git a/src/Angor/Client/Pages/Wallet.razor b/src/Angor/Client/Pages/Wallet.razor index 14cbad59..8331e6d2 100644 --- a/src/Angor/Client/Pages/Wallet.razor +++ b/src/Angor/Client/Pages/Wallet.razor @@ -621,52 +621,55 @@ else
- @foreach (var addressInfo in accountBalanceInfo.AccountInfo.AllAddresses()) - { - var total = addressInfo.Balance; - var count = addressInfo.UtxoData.Count(); + @foreach (var addressInfo in accountBalanceInfo.AccountInfo.AllAddresses()) + { + var total = addressInfo.Balance; + var count = addressInfo.UtxoData.Count(); - if (total > 0) + if (total > 0) + { +Coin | -Amount | -
---|---|
@($"{addressUtxoItem.outpoint}") | -@Money.Satoshis(addressUtxoItem.value).ToUnit(MoneyUnit.BTC) @network.CoinTicker | -
Coin | +Amount | +
---|---|
@($"{addressUtxoItem.outpoint}") | +@Money.Satoshis(addressUtxoItem.value).ToUnit(MoneyUnit.BTC) @network.CoinTicker | +
Coin | -Amount | -|||||||||
---|---|---|---|---|---|---|---|---|---|---|
@addressInfo.Address | +@Money.Satoshis(total).ToUnit(MoneyUnit.BTC) @network.CoinTicker | +@addressInfo.HdPath | +@count | ++ + | +||||||
+
+
+
+
+
@($"{addressUtxoItem.outpoint}") |
+ @Money.Satoshis(addressUtxoItem.value).ToUnit(MoneyUnit.BTC) @network.CoinTicker |
+ |
Coin | -Amount | -||
---|---|---|---|
@($"{addressUtxoItem.outpoint}") | -@Money.Satoshis(addressUtxoItem.value).ToUnit(MoneyUnit.BTC) @network.CoinTicker | +Coin | +Amount |
@($"{addressUtxoItem.outpoint}") | +@Money.Satoshis(addressUtxoItem.value).ToUnit(MoneyUnit.BTC) @network.CoinTicker | +
@rawTransactionJson
@TotalFundedProjects
@@ -86,7 +85,7 @@@Money.Satoshis(TotalInvested).ToUnit(MoneyUnit.BTC) @network.CoinTicker
@@ -97,7 +96,7 @@@Money.Satoshis(TotalWallet).ToUnit(MoneyUnit.BTC) @network.CoinTicker
@@ -108,7 +107,7 @@@Money.Satoshis(TotalInRecovery).ToUnit(MoneyUnit.BTC) @network.CoinTicker
@@ -137,7 +136,6 @@