Skip to content

Commit 7f6c2df

Browse files
committed
upgraded siaskynet nuget
1 parent 11ef883 commit 7f6c2df

File tree

5 files changed

+17
-5
lines changed

5 files changed

+17
-5
lines changed

csharp/IotaWalletNet/IotaWalletNet.Main/Examples/Events/Subscribe/EventsExample.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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}");

csharp/IotaWalletNet/IotaWalletNet.Main/Examples/NFTs/Burn/BurnNftExample.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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

csharp/IotaWalletNet/IotaWalletNet.Main/Examples/NFTs/Send/SendNftExample.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

csharp/IotaWalletNet/IotaWalletNet.Main/IotaWalletNet.Main.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
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>

csharp/IotaWalletNet/IotaWalletNet.Main/Program.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
using IotaWalletNet.Main.Examples.Accounts_and_Addresses;
22
using 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;
35
using 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;
412
using IotaWalletNet.Main.Examples.Outputs_and_Transactions.Periodic_Syncing;
513
using IotaWalletNet.Main.Examples.Outputs_and_Transactions.Request_Tokens_from_Faucet;
14+
using IotaWalletNet.Main.Examples.Outputs_and_Transactions.Send_a_Transaction;
615

716
namespace 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

0 commit comments

Comments
 (0)