File tree Expand file tree Collapse file tree 5 files changed +17
-5
lines changed
csharp/IotaWalletNet/IotaWalletNet.Main Expand file tree Collapse file tree 5 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public static async Task Run()
6969 SyncAccountResponse syncAccountResponse = await account . SyncAccountAsync ( ) ;
7070 Console . WriteLine ( $ "SyncAccountAsync: { syncAccountResponse } ") ;
7171
72- await account . ConsolidateOutputsAsync ( true ) ;
72+ // await account.ConsolidateOutputsAsync(true);
7373
7474 GetBalanceResponse getBalanceResponse = await account . GetBalanceAsync ( ) ;
7575 Console . WriteLine ( $ "GetBalanceAsync: { getBalanceResponse } ") ;
Original file line number Diff line number Diff line change @@ -56,8 +56,10 @@ public static async Task Run()
5656 //Sync account
5757 await account . SyncAccountAsync ( ) ;
5858
59+ Console . WriteLine ( await account . GetBalanceAsync ( ) ) ;
60+
5961 //TODO: Replace with an nft output id from your accounts.
60- string outputId = "0x9c5fc8b575e29377e0401d2cd6138c0f4859fbb95b5acf0ea81b3354de6eb2e70100 " ;
62+ string outputId = "0xbb237bab9e5277867c99cb05ce89176838a57bce230a9cd593aee586bffa11b50000 " ;
6163
6264 var nftId = outputId . ComputeBlake2bHash ( ) ;
6365
Original file line number Diff line number Diff line change @@ -57,12 +57,13 @@ public static async Task Run()
5757
5858 await account . SyncAccountAsync ( ) ;
5959
60+ Console . WriteLine ( await account . GetBalanceAsync ( ) ) ;
6061
6162 //TODO: Replace with the address of your choice!
6263 string receiverAddress = "rms1qz8wf6jrchvsfmcnsfhlf6s53x3u85y0j4hvwth9a5ff3xhrxtmvvyc9ae7" ;
6364
6465 //TODO: Replace with an nft output id from your accounts.
65- string outputId = "0x9c5fc8b575e29377e0401d2cd6138c0f4859fbb95b5acf0ea81b3354de6eb2e70000 " ;
66+ string outputId = "0xbb237bab9e5277867c99cb05ce89176838a57bce230a9cd593aee586bffa11b50100 " ;
6667
6768 var nftId = outputId . ComputeBlake2bHash ( ) ;
6869
Original file line number Diff line number Diff line change 1010 <ItemGroup >
1111 <PackageReference Include =" Microsoft.Extensions.DependencyInjection" Version =" 6.0.0" />
1212 <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 6.0.0" />
13- <PackageReference Include =" SiaSkynet" Version =" 3.5 .0" />
13+ <PackageReference Include =" SiaSkynet" Version =" 3.6 .0" />
1414 </ItemGroup >
1515
1616 <ItemGroup >
Original file line number Diff line number Diff line change 11using IotaWalletNet . Main . Examples . Accounts_and_Addresses ;
22using IotaWalletNet . Main . Examples . Accounts_and_Addresses . Check_Balance ;
3+ using IotaWalletNet . Main . Examples . Accounts_and_Addresses . Generate_an_Address ;
4+ using IotaWalletNet . Main . Examples . Events . Subscribe ;
35using IotaWalletNet . Main . Examples . Events . WaitForTransactionConfirmation ;
6+ using IotaWalletNet . Main . Examples . Native_Tokens . Melt ;
7+ using IotaWalletNet . Main . Examples . Native_Tokens . Mint ;
8+ using IotaWalletNet . Main . Examples . Native_Tokens . Send ;
9+ using IotaWalletNet . Main . Examples . NFTs . Burn ;
10+ using IotaWalletNet . Main . Examples . NFTs . Mint ;
11+ using IotaWalletNet . Main . Examples . NFTs . Send ;
412using IotaWalletNet . Main . Examples . Outputs_and_Transactions . Periodic_Syncing ;
513using IotaWalletNet . Main . Examples . Outputs_and_Transactions . Request_Tokens_from_Faucet ;
14+ using IotaWalletNet . Main . Examples . Outputs_and_Transactions . Send_a_Transaction ;
615
716namespace IotaWalletNet . Main
817{
@@ -13,7 +22,7 @@ private static async Task Main(string[] args)
1322
1423 //await CreateAWalletAndAccountExample.Run();
1524
16- await RequestTokensFromFaucetExample . Run ( ) ;
25+ // await RequestTokensFromFaucetExample.Run();
1726
1827 //await CheckBalanceExample.Run();
1928
You can’t perform that action at this time.
0 commit comments