diff --git a/README.md b/README.md index 95d3152..65ba118 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,20 @@ This project was created for the [Hack the Weave](https://www.weaversofficial.co This project is build with C#, using the Blazor framework and compiled to WebAssembly. Compiling to WebAssembly results in an application that only contains static files that can be hosted anywhere, also on Arweave! ## Screenshots +Start +![Start](screenshots/01_start.png) +Wallets +![Wallets](screenshots/02_wallets.png) + +Balances and Transactions +![Balances and Transactions](screenshots/03_transactions.png) + +Transfer Tokens +![Transfer Tokens](screenshots/04_transfer.png) + +Token Explorer +![Token Explorer](screenshots/05_token_explorer.png) ## Install for local development diff --git a/screenshots/01_start.png b/screenshots/01_start.png new file mode 100644 index 0000000..a41b8a2 Binary files /dev/null and b/screenshots/01_start.png differ diff --git a/screenshots/02_wallets.png b/screenshots/02_wallets.png new file mode 100644 index 0000000..5141982 Binary files /dev/null and b/screenshots/02_wallets.png differ diff --git a/screenshots/03_transactions.png b/screenshots/03_transactions.png new file mode 100644 index 0000000..a6249f9 Binary files /dev/null and b/screenshots/03_transactions.png differ diff --git a/screenshots/04_transfer.png b/screenshots/04_transfer.png new file mode 100644 index 0000000..b23f397 Binary files /dev/null and b/screenshots/04_transfer.png differ diff --git a/screenshots/05_token_explorer.png b/screenshots/05_token_explorer.png new file mode 100644 index 0000000..19d896e Binary files /dev/null and b/screenshots/05_token_explorer.png differ diff --git a/src/aoWebWallet/Pages/WalletDetail.razor b/src/aoWebWallet/Pages/WalletDetail.razor index 0ac17c0..586b409 100644 --- a/src/aoWebWallet/Pages/WalletDetail.razor +++ b/src/aoWebWallet/Pages/WalletDetail.razor @@ -107,7 +107,8 @@ @if (!(BindingContext.SelectedWallet?.IsReadOnly ?? true) && (BindingContext.SelectedWallet?.IsConnected ?? false)) { - + var hasBalance = balance.Data?.BalanceData?.Balance ?? 0; + } @@ -118,6 +119,9 @@ + + + @@ -221,6 +225,12 @@ DialogService.Show("Transfer Token", options); } + private async Task RefreshTransactions() + { + if(BindingContext.SelectedAddress != null) + await BindingContext.LoadTokenTransferList(BindingContext.SelectedAddress); + } + private async Task AddWalletAsReadonly() { await BindingContext.AddWalletAsReadonly(); diff --git a/src/aoWebWallet/Shared/SendTokenDialog.razor b/src/aoWebWallet/Shared/SendTokenDialog.razor index 2aa9418..37238a7 100644 --- a/src/aoWebWallet/Shared/SendTokenDialog.razor +++ b/src/aoWebWallet/Shared/SendTokenDialog.razor @@ -152,6 +152,7 @@ if (!string.IsNullOrEmpty(BindingContext.SelectedAddress)) { await BindingContext.LoadBalanceDataList(BindingContext.SelectedAddress); + await BindingContext.LoadTokenTransferList(BindingContext.SelectedAddress); } if (TransactionId != null)