├── .gitattributes ├── .gitignore ├── LICENSE.md ├── Nethereum.StandardToken.Desktop ├── Designers │ ├── StandardTokenBalanceOfViewModelDesigner.cs │ └── StandardTokenTransferViewModelDesigner.cs ├── Nethereum.StandardToken.Desktop.csproj ├── StandardTokenBalanceOfUserControl.xaml ├── StandardTokenBalanceOfUserControl.xaml.cs ├── StandardTokenTransferUserControl.xaml ├── StandardTokenTransferUserControl.xaml.cs ├── StandardTokenUserControl.xaml └── StandardTokenUserControl.xaml.cs ├── Nethereum.StandardToken.UI ├── FodyWeavers.xml ├── FodyWeavers.xsd ├── Nethereum.StandardToken.UI.csproj ├── SmartContractMessages │ ├── BalanceOfFunction.cs │ └── TransferFunction.cs └── ViewModels │ ├── StandardTokenBalanceOfViewModel.cs │ ├── StandardTokenTransferViewModel.cs │ └── StandardTokenViewModel.cs ├── Nethereum.UI.Desktop.Common ├── ContractAddressUserControl.xaml ├── ContractAddressUserControl.xaml.cs ├── Converters │ ├── NullableDecimalConverter.cs │ ├── NullableUInt64Converter.cs │ └── NullableValueConvertor.cs ├── Designers │ └── ContractAddressModelDesigner.cs └── Nethereum.UI.Desktop.Common.csproj ├── Nethereum.UI.Desktop.sln ├── Nethereum.UI.Desktop ├── App.xaml ├── App.xaml.cs ├── Assets │ ├── logo.ico │ └── logo192x192t.png ├── FodyWeavers.xml ├── Nethereum.UI.Desktop.csproj ├── Program.cs ├── Styles │ ├── Icons.xaml │ ├── SideBar.xaml │ └── Styles.xaml ├── ViewLocator.cs ├── ViewModels │ ├── MainWindowViewModel.cs │ └── ViewModelBase.cs ├── Views │ ├── AccountUserControl.xaml │ ├── AccountUserControl.xaml.cs │ ├── AccountsUserControl.xaml │ ├── AccountsUserControl.xaml.cs │ ├── Designers │ │ ├── AccountViewModelDesigner.cs │ │ ├── AccountsViewModelDesigner.cs │ │ ├── HdWalletAccountLoaderViewModelDesigner.cs │ │ ├── KeyStoreLoaderViewModelDesigner.cs │ │ ├── PrivateKeyAccountLoaderViewModelDesigner.cs │ │ ├── SendTransactionViewModelDesigner.cs │ │ ├── TransactionsViewModelDesigner.cs │ │ └── UrlSettingModelDesigner.cs │ ├── HdWalletUserControl.xaml │ ├── HdWalletUserControl.xaml.cs │ ├── KeystoreAccountLoaderUserControl.xaml │ ├── KeystoreAccountLoaderUserControl.xaml.cs │ ├── MainWindow.xaml │ ├── MainWindow.xaml.cs │ ├── PrivateKeyAccountLoaderUserControl.xaml │ ├── PrivateKeyAccountLoaderUserControl.xaml.cs │ ├── SendTransactionUserControl.xaml │ ├── SendTransactionUserControl.xaml.cs │ ├── TransactionsUserControl.xaml │ ├── TransactionsUserControl.xaml.cs │ ├── UrlSettingUserControl.xaml │ └── UrlSettingUserControl.xaml.cs └── nuget.config ├── Nethereum.UI.HostProvider ├── AppState │ └── EthereumConnection.cs ├── FodyWeavers.xml ├── FodyWeavers.xsd ├── Nethereum.UI.HostProvider.csproj ├── NethereumHostProvider.cs ├── Services │ └── AccountsService.cs └── ViewModels │ ├── AccountItemViewModel.cs │ ├── AccountViewModel.cs │ ├── AccountsViewModel.cs │ ├── AddAccount │ ├── HdWalletAccountLoaderViewModel.cs │ ├── HdWalletViewModel.cs │ ├── KeyStoreLoaderViewModel.cs │ └── PrivateKeyLoaderViewModel.cs │ └── UrlSettingViewModel.cs ├── Nethereum.UI ├── FodyWeavers.xml ├── FodyWeavers.xsd ├── IEthereumHostProvider.cs ├── Model │ └── CurrentAccountTransaction.cs ├── Nethereum.UI.csproj ├── NethereumAuthenticator.cs ├── Services │ ├── ContractService.cs │ ├── CurrentAccountTransactionsService.cs │ └── IContractService.cs ├── Util │ └── Utils.cs ├── Validation │ └── EthereumRules.cs └── ViewModels │ ├── Contracts │ └── ContractAdddressViewModel.cs │ └── Transactions │ ├── SendTransactionViewModel.cs │ ├── TransactionViewModel.cs │ └── TransactionsViewModel.cs ├── README.md └── Screenshots └── simpleDemo.gif /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | #Backup 5 | 6 | Backup/ 7 | 8 | # User-specific files 9 | *.suo 10 | *.user 11 | *.userosscache 12 | *.sln.docstates 13 | 14 | # User-specific files (MonoDevelop/Xamarin Studio) 15 | *.userprefs 16 | 17 | # Build results 18 | [Dd]ebug/ 19 | [Dd]ebugPublic/ 20 | [Rr]elease/ 21 | [Rr]eleases/ 22 | x64/ 23 | x86/ 24 | build/ 25 | bld/ 26 | [Bb]in/ 27 | [Oo]bj/ 28 | devChainRPCTests/ 29 | testchain/clique/devChain/geth 30 | testchain/devChain/geth 31 | geth.exe 32 | 33 | 34 | # Visual Studio 2015 cache/options directory 35 | .vs/ 36 | # Uncomment if you have tasks that create the project's static files in wwwroot 37 | #wwwroot/ 38 | 39 | # MSTest test Results 40 | [Tt]est[Rr]esult*/ 41 | [Bb]uild[Ll]og.* 42 | 43 | # NUNIT 44 | *.VisualState.xml 45 | TestResult.xml 46 | 47 | # Build Results of an ATL Project 48 | [Dd]ebugPS/ 49 | [Rr]eleasePS/ 50 | dlldata.c 51 | 52 | # DNX 53 | project.lock.json 54 | artifacts/ 55 | 56 | *_i.c 57 | *_p.c 58 | *_i.h 59 | *.ilk 60 | *.meta 61 | *.obj 62 | *.pch 63 | *.pdb 64 | *.pgc 65 | *.pgd 66 | *.rsp 67 | *.sbr 68 | *.tlb 69 | *.tli 70 | *.tlh 71 | *.tmp 72 | *.tmp_proj 73 | *.log 74 | *.vspscc 75 | *.vssscc 76 | .builds 77 | *.pidb 78 | *.svclog 79 | *.scc 80 | 81 | # Chutzpah Test files 82 | _Chutzpah* 83 | 84 | # Visual C++ cache files 85 | ipch/ 86 | *.aps 87 | *.ncb 88 | *.opensdf 89 | *.sdf 90 | *.cachefile 91 | 92 | # Visual Studio profiler 93 | *.psess 94 | *.vsp 95 | *.vspx 96 | *.sap 97 | 98 | # TFS 2012 Local Workspace 99 | $tf/ 100 | 101 | # Guidance Automation Toolkit 102 | *.gpState 103 | 104 | # ReSharper is a .NET coding add-in 105 | _ReSharper*/ 106 | *.[Rr]e[Ss]harper 107 | *.DotSettings.user 108 | 109 | # JustCode is a .NET coding add-in 110 | .JustCode 111 | 112 | # TeamCity is a build add-in 113 | _TeamCity* 114 | 115 | # DotCover is a Code Coverage Tool 116 | *.dotCover 117 | 118 | # NCrunch 119 | _NCrunch_* 120 | .*crunch*.local.xml 121 | nCrunchTemp_* 122 | 123 | # MightyMoose 124 | *.mm.* 125 | AutoTest.Net/ 126 | 127 | # Web workbench (sass) 128 | .sass-cache/ 129 | 130 | # Installshield output folder 131 | [Ee]xpress/ 132 | 133 | # DocProject is a documentation generator add-in 134 | DocProject/buildhelp/ 135 | DocProject/Help/*.HxT 136 | DocProject/Help/*.HxC 137 | DocProject/Help/*.hhc 138 | DocProject/Help/*.hhk 139 | DocProject/Help/*.hhp 140 | DocProject/Help/Html2 141 | DocProject/Help/html 142 | 143 | # Click-Once directory 144 | publish/ 145 | 146 | # Publish Web Output 147 | *.[Pp]ublish.xml 148 | *.azurePubxml 149 | # TODO: Comment the next line if you want to checkin your web deploy settings 150 | # but database connection strings (with potential passwords) will be unencrypted 151 | *.pubxml 152 | *.publishproj 153 | 154 | # NuGet Packages 155 | *.nupkg 156 | # The packages folder can be ignored because of Package Restore 157 | **/packages/* 158 | # except build/, which is used as an MSBuild target. 159 | !**/packages/build/ 160 | # Uncomment if necessary however generally it will be regenerated when needed 161 | #!**/packages/repositories.config 162 | 163 | # Windows Azure Build Output 164 | csx/ 165 | *.build.csdef 166 | 167 | # Windows Azure Emulator 168 | efc/ 169 | rfc/ 170 | 171 | # Windows Store app package directory 172 | AppPackages/ 173 | 174 | # Visual Studio cache files 175 | # files ending in .cache can be ignored 176 | *.[Cc]ache 177 | # but keep track of directories ending in .cache 178 | !*.[Cc]ache/ 179 | 180 | # Others 181 | ClientBin/ 182 | [Ss]tyle[Cc]op.* 183 | ~$* 184 | *~ 185 | *.dbmdl 186 | *.dbproj.schemaview 187 | *.pfx 188 | *.publishsettings 189 | node_modules/ 190 | orleans.codegen.cs 191 | 192 | # RIA/Silverlight projects 193 | Generated_Code/ 194 | 195 | # Backup & report files from converting an old project file 196 | # to a newer Visual Studio version. Backup files are not needed, 197 | # because we have git ;-) 198 | _UpgradeReport_Files/ 199 | Backup*/ 200 | UpgradeLog*.XML 201 | UpgradeLog*.htm 202 | 203 | # SQL Server files 204 | *.mdf 205 | *.ldf 206 | 207 | # Business Intelligence projects 208 | *.rdl.data 209 | *.bim.layout 210 | *.bim_*.settings 211 | 212 | # Microsoft Fakes 213 | FakesAssemblies/ 214 | 215 | # GhostDoc plugin setting file 216 | *.GhostDoc.xml 217 | 218 | # Node.js Tools for Visual Studio 219 | .ntvs_analysis.dat 220 | 221 | # Visual Studio 6 build log 222 | *.plg 223 | 224 | # Visual Studio 6 workspace options file 225 | *.opt 226 | 227 | # Visual Studio LightSwitch build output 228 | **/*.HTMLClient/GeneratedArtifacts 229 | **/*.DesktopClient/GeneratedArtifacts 230 | **/*.DesktopClient/ModelManifest.xml 231 | **/*.Server/GeneratedArtifacts 232 | **/*.Server/ModelManifest.xml 233 | _Pvt_Extensions 234 | 235 | # Paket dependency manager 236 | .paket/paket.exe 237 | 238 | # FAKE - F# Make 239 | .fake/ 240 | 241 | # Windows image file caches 242 | Thumbs.db 243 | ehthumbs.db 244 | 245 | # Folder config file 246 | Desktop.ini 247 | 248 | # Recycle Bin used on file shares 249 | 250 | $RECYCLE.BIN/ 251 | 252 | # Windows Installer files 253 | *.cab 254 | *.msi 255 | *.msm 256 | *.msp 257 | 258 | # Windows shortcuts 259 | *.lnk 260 | 261 | # ========================= 262 | # Operating System Files 263 | # ========================= 264 | 265 | # OSX 266 | # ========================= 267 | 268 | .DS_Store 269 | .AppleDouble 270 | .LSOverride 271 | 272 | # Thumbnails 273 | ._* 274 | 275 | # Files that might appear on external disk 276 | .Spotlight-V100 277 | .Trashes 278 | 279 | # Directories potentially created on remote AFP share 280 | .AppleDB 281 | .AppleDesktop 282 | Network Trash Folder 283 | Temporary Items 284 | .apdisk 285 | 286 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Nethereum.com (Juan Blanco) , Logo by Cass (https://github.com/cassiopaia) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or ANY portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /Nethereum.StandardToken.Desktop/Designers/StandardTokenBalanceOfViewModelDesigner.cs: -------------------------------------------------------------------------------- 1 | using Nethereum.StandardToken.UI.ViewModels; 2 | 3 | namespace Nethereum.StandardToken.Desktop.Designers 4 | { 5 | public class StandardTokenBalanceOfViewModelDesigner : StandardTokenBalanceOfViewModel 6 | { 7 | public StandardTokenBalanceOfViewModelDesigner() 8 | { 9 | this.AccountAddress = "0xkfljas324908789fiofoisudfsfslkfjls"; 10 | this.Balance = 100; 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Nethereum.StandardToken.Desktop/Designers/StandardTokenTransferViewModelDesigner.cs: -------------------------------------------------------------------------------- 1 | using Nethereum.StandardToken.UI.ViewModels; 2 | using Nethereum.UI.ViewModels; 3 | 4 | namespace Nethereum.StandardToken.Desktop.Designers 5 | { 6 | public class StandardTokenTransferViewModelDesigner : StandardTokenTransferViewModel 7 | { 8 | public StandardTokenTransferViewModelDesigner() 9 | { 10 | this.AddressTo = "0x13f022d72158410433cbd66f5dd8bf6d2d129924"; 11 | this.Amount = 100; 12 | 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /Nethereum.StandardToken.Desktop/Nethereum.StandardToken.Desktop.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | netstandard2.1 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Nethereum.StandardToken.Desktop/StandardTokenBalanceOfUserControl.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 | -------------------------------------------------------------------------------- /Nethereum.StandardToken.Desktop/StandardTokenBalanceOfUserControl.xaml.cs: -------------------------------------------------------------------------------- 1 | using Avalonia.Controls; 2 | using Avalonia.Markup.Xaml; 3 | 4 | namespace Nethereum.StandardToken.Desktop 5 | { 6 | public class StandardTokenBalanceOfUserControl : UserControl 7 | { 8 | public StandardTokenBalanceOfUserControl() 9 | { 10 | this.InitializeComponent(); 11 | } 12 | 13 | private void InitializeComponent() 14 | { 15 | AvaloniaXamlLoader.Load(this); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Nethereum.StandardToken.Desktop/StandardTokenTransferUserControl.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Nethereum.UI.Desktop/Views/AccountUserControl.xaml.cs: -------------------------------------------------------------------------------- 1 | using Avalonia.Controls; 2 | using Avalonia.Markup.Xaml; 3 | 4 | namespace Nethereum.UI.Desktop.Views 5 | { 6 | public class AccountUserControl : UserControl 7 | { 8 | public AccountUserControl() 9 | { 10 | this.InitializeComponent(); 11 | } 12 | 13 | private void InitializeComponent() 14 | { 15 | AvaloniaXamlLoader.Load(this); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Nethereum.UI.Desktop/Views/AccountsUserControl.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 20 | 22 | 23 | 24 | 27 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /Nethereum.UI.Desktop/Views/AccountsUserControl.xaml.cs: -------------------------------------------------------------------------------- 1 | using Avalonia.Controls; 2 | using Avalonia.Markup.Xaml; 3 | 4 | namespace Nethereum.UI.Desktop.Views 5 | { 6 | public class AccountsUserControl : UserControl 7 | { 8 | public AccountsUserControl() 9 | { 10 | this.InitializeComponent(); 11 | } 12 | 13 | 14 | private void InitializeComponent() 15 | { 16 | AvaloniaXamlLoader.Load(this); 17 | } 18 | 19 | 20 | 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Nethereum.UI.Desktop/Views/Designers/AccountViewModelDesigner.cs: -------------------------------------------------------------------------------- 1 | using Nethereum.UI.ViewModels; 2 | 3 | namespace Nethereum.UI.Desktop.Views 4 | { 5 | public class AccountViewModelDesigner : AccountViewModel 6 | { 7 | public AccountViewModelDesigner() 8 | { 9 | this.Address = "0xkfljas324908789fiofoisudfsfslkfjls"; 10 | this.Balance = 100; 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /Nethereum.UI.Desktop/Views/Designers/AccountsViewModelDesigner.cs: -------------------------------------------------------------------------------- 1 | using DynamicData; 2 | using Nethereum.UI.ViewModels; 3 | 4 | namespace Nethereum.UI.Desktop.Views 5 | { 6 | public class AccountsViewModelDesigner : AccountsViewModel 7 | { 8 | public AccountsViewModelDesigner() 9 | { 10 | Accounts.Add(new[] { new AccountItemViewModel() 11 | { 12 | Address = "0x13f022d72158410433cbd66f5dd8bf6d2d129924", 13 | Balance = 100 14 | }, 15 | new AccountItemViewModel() 16 | { 17 | Address = "0x13f022d72158410433cbd66f5dd8bf6d2d129924", 18 | Balance = 10000 19 | } }); ; 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /Nethereum.UI.Desktop/Views/Designers/HdWalletAccountLoaderViewModelDesigner.cs: -------------------------------------------------------------------------------- 1 | using Nethereum.UI.ViewModels; 2 | 3 | namespace Nethereum.UI.Desktop.Views 4 | { 5 | public class HdWalletAccountLoaderViewModelDesigner : HdWalletAccountLoaderViewModel 6 | { 7 | public HdWalletAccountLoaderViewModelDesigner() 8 | { 9 | this.Words = "ripple scissors kick mammal hire column oak again sun offer wealth tomorrow wagon turn fatal"; 10 | this.SeedPassword = "Password"; 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /Nethereum.UI.Desktop/Views/Designers/KeyStoreLoaderViewModelDesigner.cs: -------------------------------------------------------------------------------- 1 | using Nethereum.UI.ViewModels; 2 | 3 | namespace Nethereum.UI.Desktop.Views 4 | { 5 | public class KeyStoreLoaderViewModelDesigner : KeyStoreLoaderViewModel 6 | { 7 | public KeyStoreLoaderViewModelDesigner() 8 | { 9 | this.FileName = "C:/test/test"; 10 | this.Password = "Password"; 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Nethereum.UI.Desktop/Views/Designers/PrivateKeyAccountLoaderViewModelDesigner.cs: -------------------------------------------------------------------------------- 1 | using Nethereum.UI.ViewModels; 2 | 3 | namespace Nethereum.UI.Desktop.Views 4 | { 5 | public class PrivateKeyAccountLoaderViewModelDesigner: PrivateKeyLoaderViewModel 6 | { 7 | public PrivateKeyAccountLoaderViewModelDesigner() 8 | { 9 | this.PrivateKey = "0xb5b1870957d373ef0eeffecc6e4812c0fd08f554b37b233526acc331bf1544f7"; 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Nethereum.UI.Desktop/Views/Designers/SendTransactionViewModelDesigner.cs: -------------------------------------------------------------------------------- 1 | using Nethereum.UI.ViewModels; 2 | 3 | namespace Nethereum.UI.Desktop.Views.Designers 4 | { 5 | public class SendTransactionViewModelDesigner : SendTransactionViewModel 6 | { 7 | public SendTransactionViewModelDesigner() 8 | { 9 | this.AddressTo = "0x13f022d72158410433cbd66f5dd8bf6d2d129924"; 10 | this.AmountInEther = 100; 11 | this.Gas = (ulong)Nethereum.Signer.Transaction.DEFAULT_GAS_LIMIT; 12 | this.GasPrice = (ulong)Nethereum.Signer.Transaction.DEFAULT_GAS_PRICE; 13 | this.Nonce = 1; 14 | 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Nethereum.UI.Desktop/Views/Designers/TransactionsViewModelDesigner.cs: -------------------------------------------------------------------------------- 1 | using DynamicData; 2 | using Nethereum.UI.ViewModels; 3 | 4 | namespace Nethereum.UI.Desktop.Views 5 | { 6 | public class TransactionsViewModelDesigner : TransactionsViewModel 7 | { 8 | public TransactionsViewModelDesigner() 9 | { 10 | Transactions.Add(new[] { new TransactionViewModel() 11 | { 12 | Amount = 10, 13 | BlockHash = "0x13f022d72158410433cbd66f5dd8bf6d2d129924", 14 | TransactionHash = "0x13f022d72158410433cbd66f5dd8bf6d2d129924", 15 | To= "0x13f022d72158410433cbd66f5dd8bf6d2d129924", 16 | From = "0x13f022d72158410433cbd66f5dd8bf6d2d129924", 17 | Gas = 12345, 18 | Nonce = 2, 19 | Status = TransactionViewModel.STATUS_INPROGRESS 20 | 21 | }, 22 | 23 | new TransactionViewModel() 24 | { 25 | Amount = 15, 26 | BlockHash = "0x13f022d72158410433cbd66f5dd8bf6d2d129924", 27 | TransactionHash = "0x13f022d72158410433cbd66f5dd8bf6d2d129924", 28 | To = "0x13f022d72158410433cbd66f5dd8bf6d2d129924", 29 | From = "0x13f022d72158410433cbd66f5dd8bf6d2d129924", 30 | Gas = 345678, 31 | Nonce = 1, 32 | Status = TransactionViewModel.STATUS_COMPLETED 33 | 34 | }}); 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /Nethereum.UI.Desktop/Views/Designers/UrlSettingModelDesigner.cs: -------------------------------------------------------------------------------- 1 | using Nethereum.UI.ViewModels; 2 | 3 | namespace Nethereum.UI.Desktop.Views 4 | { 5 | public class UrlSettingModelDesigner : UrlSettingViewModel 6 | { 7 | public UrlSettingModelDesigner() 8 | { 9 | this.Url = "http://localhost:8545"; 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /Nethereum.UI.Desktop/Views/HdWalletUserControl.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Nethereum.UI.Desktop/Views/HdWalletUserControl.xaml.cs: -------------------------------------------------------------------------------- 1 | using Avalonia.Controls; 2 | using Avalonia.Markup.Xaml; 3 | using Nethereum.UI.ViewModels; 4 | 5 | namespace Nethereum.UI.Desktop.Views 6 | { 7 | public class HdWalletUserControl : UserControl 8 | { 9 | public HdWalletUserControl() 10 | { 11 | this.InitializeComponent(); 12 | } 13 | 14 | private void InitializeComponent() 15 | { 16 | AvaloniaXamlLoader.Load(this); 17 | } 18 | 19 | Window GetWindow() => (Window)this.VisualRoot; 20 | 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Nethereum.UI.Desktop/Views/KeystoreAccountLoaderUserControl.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |