diff --git a/Aptos.Examples/Aptos.Examples.csproj b/Aptos.Examples/Aptos.Examples.csproj
index 3c42056..8584ba3 100644
--- a/Aptos.Examples/Aptos.Examples.csproj
+++ b/Aptos.Examples/Aptos.Examples.csproj
@@ -3,8 +3,10 @@
$(DefaultTargetFrameworks)
Exe
- enable
- enable
+ false
+
+
+
0
diff --git a/Aptos.Indexer/Aptos.Indexer.csproj b/Aptos.Indexer/Aptos.Indexer.csproj
index 9fa021f..f9fe0dc 100644
--- a/Aptos.Indexer/Aptos.Indexer.csproj
+++ b/Aptos.Indexer/Aptos.Indexer.csproj
@@ -1,12 +1,10 @@
+
+
- Exe
$(DefaultTargetFrameworks)
- enable
- enable
- true
- true
+ Exe
diff --git a/Aptos.Poseidon/Aptos.Poseidon.csproj b/Aptos.Poseidon/Aptos.Poseidon.csproj
index 8150582..c00ecb7 100644
--- a/Aptos.Poseidon/Aptos.Poseidon.csproj
+++ b/Aptos.Poseidon/Aptos.Poseidon.csproj
@@ -1,11 +1,9 @@
+
+
$(DefaultTargetFrameworks)
- enable
- enable
- true
- true
diff --git a/Aptos.Tests/Aptos.Tests.csproj b/Aptos.Tests/Aptos.Tests.csproj
index 60a8227..433af4c 100644
--- a/Aptos.Tests/Aptos.Tests.csproj
+++ b/Aptos.Tests/Aptos.Tests.csproj
@@ -2,8 +2,6 @@
$(DefaultTestingFrameworks)
- enable
- enable
false
true
@@ -24,6 +22,7 @@
+
diff --git a/Aptos.Tests/xunit.runner.json b/Aptos.Tests/xunit.runner.json
new file mode 100644
index 0000000..b2452d2
--- /dev/null
+++ b/Aptos.Tests/xunit.runner.json
@@ -0,0 +1,6 @@
+{
+ "$schema": "https://xunit.net/schema/current/xunit.runner.schema.json",
+ "longRunningTestSeconds": 60,
+ "showLiveOutput": true,
+ "stopOnFail": true
+}
diff --git a/Aptos/Aptos.Api/TransactionResponse.cs b/Aptos/Aptos.Api/TransactionResponse.cs
index 2e6fdae..6fadab7 100644
--- a/Aptos/Aptos.Api/TransactionResponse.cs
+++ b/Aptos/Aptos.Api/TransactionResponse.cs
@@ -62,14 +62,6 @@ JsonSerializer serializer
var jsonObject = JObject.Load(reader);
var type = jsonObject["type"]?.ToString();
- // If the type is `null`, it is a transaction simulation.
- // In this case, we override to "user_transaction".
- if (type == null)
- {
- type = "user_transaction";
- jsonObject["type"] = "user_transaction";
- }
-
return type switch
{
"user_transaction" => JsonConvert.DeserializeObject(
diff --git a/Aptos/Aptos.Clients/TransactionClient.cs b/Aptos/Aptos.Clients/TransactionClient.cs
index ef20aed..e09600b 100644
--- a/Aptos/Aptos.Clients/TransactionClient.cs
+++ b/Aptos/Aptos.Clients/TransactionClient.cs
@@ -378,7 +378,7 @@ await GenerateTransaction(
///
/// The transaction data to simulate.
/// The simulated transaction responses.
- public async Task> Simulate(SimulateTransactionData data)
+ public async Task> Simulate(SimulateTransactionData data)
{
var signedTransaction = GenerateSignedTransactionForSimulation(data);
@@ -405,7 +405,7 @@ public async Task> Simulate(SimulateTransactionDat
);
}
- var response = await _client.PostFullNode>(
+ var response = await _client.PostFullNode>(
new(
path: "transactions/simulate",
originMethod: "simulateTransaction",
diff --git a/Aptos/Aptos.csproj b/Aptos/Aptos.csproj
index 21da0fc..ae9083a 100644
--- a/Aptos/Aptos.csproj
+++ b/Aptos/Aptos.csproj
@@ -1,12 +1,21 @@
+
+
$(DefaultTargetFrameworks)
- $(DefaultVersion)
- enable
- enable
+ Aptos
+ Aptos
+ Aptos
+ Aptos Web3 .NET SDK built by Aptos Labs.
+ aptos web3 blockchain unity godot
+ README.md
+
+
+
+
@@ -17,12 +26,6 @@
-
- latest
- true
- enable
-
-
diff --git a/Directory.Build.props b/Directory.Build.props
index bd0d539..293c7dc 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -10,5 +10,8 @@
latest
true
enable
+ enable
+ true
+ true
\ No newline at end of file
diff --git a/Package.props b/Package.props
new file mode 100644
index 0000000..1a5c8a8
--- /dev/null
+++ b/Package.props
@@ -0,0 +1,25 @@
+
+
+
+
+ git
+ https://github.com/aptos-labs/aptos-dotnet-sdk
+
+
+
+ Aptos Labs
+ $(DefaultVersion)
+ $(DefaultVersion)
+ Apache-2.0
+ http://aptoslabs.dev/
+ icon.jpg
+ $(DefaultVersion)-beta.1
+ Copyright (c) Aptos Labs 2024
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 9df61ec..e09f4d3 100644
--- a/README.md
+++ b/README.md
@@ -74,7 +74,7 @@ var committedTransaction = await client.Transaction.WaitForTransaction(pendingTr
## Examples
-Examples can be found in the [`Aptos.Examples`](./Aptos.Examples) project. Run the examples by using the following command:
+Examples can be found in the [`Aptos.Examples`](https://github.com/aptos-labs/aptos-dotnet-sdk/tree/main/Aptos.Examples) project. Run the examples by using the following command:
```bash
dotnet run --project ./Aptos.Examples --framework net8.0
@@ -82,6 +82,6 @@ dotnet run --project ./Aptos.Examples --framework net8.0
This will prompt the follow console. You can select an example to run by entering the corresponding number or using the arrow keys to navigate the menu.
-![examples-demonstration](./assets/examples_demo.png)
+![examples-demonstration](https://i.imgur.com/YS140Zb.png)
-[github-license]: https://img.shields.io/github/license/aptos-labs/aptos-ts-sdk
\ No newline at end of file
+[github-license]: https://img.shields.io/github/license/aptos-labs/aptos-ts-sdk
diff --git a/artifacts/Aptos.0.0.1-beta.1.nupkg b/artifacts/Aptos.0.0.1-beta.1.nupkg
new file mode 100644
index 0000000..c7dfb20
Binary files /dev/null and b/artifacts/Aptos.0.0.1-beta.1.nupkg differ
diff --git a/artifacts/Aptos.Indexer.0.0.1-beta.1.nupkg b/artifacts/Aptos.Indexer.0.0.1-beta.1.nupkg
new file mode 100644
index 0000000..d8e380b
Binary files /dev/null and b/artifacts/Aptos.Indexer.0.0.1-beta.1.nupkg differ
diff --git a/artifacts/Aptos.Poseidon.0.0.1-beta.1.nupkg b/artifacts/Aptos.Poseidon.0.0.1-beta.1.nupkg
new file mode 100644
index 0000000..c856920
Binary files /dev/null and b/artifacts/Aptos.Poseidon.0.0.1-beta.1.nupkg differ
diff --git a/assets/examples_demo.png b/assets/examples_demo.png
deleted file mode 100644
index e50578c..0000000
Binary files a/assets/examples_demo.png and /dev/null differ
diff --git a/assets/icon.jpg b/assets/icon.jpg
new file mode 100644
index 0000000..9a936a4
Binary files /dev/null and b/assets/icon.jpg differ