From 8c5573327ff9dba5f2438dde692b70ac9f0c7c2e Mon Sep 17 00:00:00 2001 From: Raymen Scholten Date: Fri, 10 Nov 2023 11:27:12 +0100 Subject: [PATCH] Rename to Nexutron --- .github/workflows/dotnet.yml | 13 ++++++++++--- TronDotNet.sln => Nexutron.sln | 4 ++-- TestTronDotNet/Program.cs | 10 +++++----- TestTronDotNet/TestTronDotNet.csproj | 6 ++---- WebApplication-Host/Controllers/HomeController.cs | 6 +++--- WebApplication-Host/Startup.cs | 2 +- WebApplication-Host/WebApplication-Host.csproj | 2 +- .../Nexutron.Protocol.csproj} | 0 .../Protos/api/api.proto | 2 +- .../Protos/api/zksnark.proto | 2 +- .../Protos/core/Discover.proto | 2 +- .../Protos/core/Tron.proto | 2 +- .../Protos/core/TronInventoryItems.proto | 2 +- .../Protos/core/contract/account_contract.proto | 2 +- .../Protos/core/contract/asset_issue_contract.proto | 2 +- .../Protos/core/contract/balance_contract.proto | 2 +- .../Protos/core/contract/common.proto | 2 +- .../Protos/core/contract/exchange_contract.proto | 2 +- .../Protos/core/contract/market_contract.proto | 2 +- .../Protos/core/contract/proposal_contract.proto | 2 +- .../Protos/core/contract/shield_contract.proto | 2 +- .../Protos/core/contract/smart_contract.proto | 2 +- .../Protos/core/contract/storage_contract.proto | 2 +- .../Protos/core/contract/vote_asset_contract.proto | 2 +- .../Protos/core/contract/witness_contract.proto | 2 +- .../Protos/core/tron/account.proto | 0 .../Protos/core/tron/block.proto | 0 .../Protos/core/tron/delegated_resource.proto | 0 .../Protos/core/tron/p2p.proto | 0 .../Protos/core/tron/proposal.proto | 0 .../Protos/core/tron/transaction.proto | 0 .../Protos/core/tron/vote.proto | 0 .../Protos/core/tron/witness.proto | 0 .../Protos/google/api/annotations.proto | 0 .../Protos/google/api/http.proto | 0 .../Protos/google/protobuf/descriptor.proto | 0 .../Accounts/ITronAccount.cs | 2 +- .../Accounts/TronAccount.cs | 2 +- .../Contracts/BalanceOfFunction.cs | 2 +- .../Contracts/ContractClientFactory.cs | 2 +- .../Contracts/ContractMessageBase.cs | 2 +- .../Contracts/ContractProtocol.cs | 2 +- .../Contracts/DecimalsFunction.cs | 2 +- .../Contracts/FunctionMessage.cs | 2 +- .../Contracts/GetContractEventsResult.cs | 2 +- .../Contracts/IContractClient.cs | 4 ++-- .../Contracts/IContractClientFactory.cs | 2 +- .../Contracts/TRC20ContractClient.cs | 10 +++++----- .../Contracts/TransferFunction.cs | 2 +- .../Crypto/Base58Encoder.cs | 2 +- src/{TronDotNet => Nexutron}/Crypto/ByteArrary.cs | 2 +- .../Crypto/HashExtension.cs | 2 +- .../Crypto/Sha256Sm3Hash.cs | 2 +- .../Extensions/ArrayExtension.cs | 2 +- .../Extensions/ByteBuffer.cs | 2 +- .../Extensions/ECDSASignatureExtensions.cs | 2 +- .../Extensions/ECKeyExtension.cs | 2 +- .../Extensions/TransactionExtension.cs | 4 ++-- .../Extensions/TronNetServiceExtension.cs | 2 +- src/{TronDotNet => Nexutron}/Extensions/TronUnit.cs | 2 +- src/{TronDotNet => Nexutron}/GrpcChannelClient.cs | 2 +- src/{TronDotNet => Nexutron}/GrpcChannelOption.cs | 2 +- src/{TronDotNet => Nexutron}/IGrpcChannelClient.cs | 2 +- src/{TronDotNet => Nexutron}/ITransactionClient.cs | 4 ++-- src/{TronDotNet => Nexutron}/ITronClient.cs | 4 ++-- src/{TronDotNet => Nexutron}/IWalletClient.cs | 6 +++--- .../TronDotNet.csproj => Nexutron/Nexutron.csproj} | 4 +--- src/{TronDotNet => Nexutron}/TransactionClient.cs | 8 ++++---- src/{TronDotNet => Nexutron}/TronClient.cs | 6 +++--- src/{TronDotNet => Nexutron}/TronECKey.cs | 6 +++--- src/{TronDotNet => Nexutron}/TronNetOptions.cs | 2 +- src/{TronDotNet => Nexutron}/TronNetwork.cs | 2 +- src/{TronDotNet => Nexutron}/WalletClient.cs | 10 +++++----- src/TronDotNet/TronDotNet.csproj.user | 6 ------ 74 files changed, 99 insertions(+), 102 deletions(-) rename TronDotNet.sln => Nexutron.sln (89%) rename src/{TronDotNet.Protocol/TronDotNet.Protocol.csproj => Nexutron.Protocol/Nexutron.Protocol.csproj} (100%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/api/api.proto (99%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/api/zksnark.proto (90%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/Discover.proto (92%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/Tron.proto (99%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/TronInventoryItems.proto (78%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/contract/account_contract.proto (96%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/contract/asset_issue_contract.proto (96%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/contract/balance_contract.proto (96%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/contract/common.proto (76%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/contract/exchange_contract.proto (93%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/contract/market_contract.proto (89%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/contract/proposal_contract.proto (89%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/contract/shield_contract.proto (97%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/contract/smart_contract.proto (97%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/contract/storage_contract.proto (91%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/contract/vote_asset_contract.proto (82%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/contract/witness_contract.proto (90%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/tron/account.proto (100%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/tron/block.proto (100%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/tron/delegated_resource.proto (100%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/tron/p2p.proto (100%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/tron/proposal.proto (100%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/tron/transaction.proto (100%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/tron/vote.proto (100%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/core/tron/witness.proto (100%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/google/api/annotations.proto (100%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/google/api/http.proto (100%) rename src/{TronDotNet.Protocol => Nexutron.Protocol}/Protos/google/protobuf/descriptor.proto (100%) rename src/{TronDotNet => Nexutron}/Accounts/ITronAccount.cs (91%) rename src/{TronDotNet => Nexutron}/Accounts/TronAccount.cs (97%) rename src/{TronDotNet => Nexutron}/Contracts/BalanceOfFunction.cs (93%) rename src/{TronDotNet => Nexutron}/Contracts/ContractClientFactory.cs (95%) rename src/{TronDotNet => Nexutron}/Contracts/ContractMessageBase.cs (93%) rename src/{TronDotNet => Nexutron}/Contracts/ContractProtocol.cs (85%) rename src/{TronDotNet => Nexutron}/Contracts/DecimalsFunction.cs (83%) rename src/{TronDotNet => Nexutron}/Contracts/FunctionMessage.cs (86%) rename src/{TronDotNet => Nexutron}/Contracts/GetContractEventsResult.cs (98%) rename src/{TronDotNet => Nexutron}/Contracts/IContractClient.cs (88%) rename src/{TronDotNet => Nexutron}/Contracts/IContractClientFactory.cs (88%) rename src/{TronDotNet => Nexutron}/Contracts/TRC20ContractClient.cs (98%) rename src/{TronDotNet => Nexutron}/Contracts/TransferFunction.cs (91%) rename src/{TronDotNet => Nexutron}/Crypto/Base58Encoder.cs (99%) rename src/{TronDotNet => Nexutron}/Crypto/ByteArrary.cs (99%) rename src/{TronDotNet => Nexutron}/Crypto/HashExtension.cs (97%) rename src/{TronDotNet => Nexutron}/Crypto/Sha256Sm3Hash.cs (98%) rename src/{TronDotNet => Nexutron}/Extensions/ArrayExtension.cs (95%) rename src/{TronDotNet => Nexutron}/Extensions/ByteBuffer.cs (99%) rename src/{TronDotNet => Nexutron}/Extensions/ECDSASignatureExtensions.cs (95%) rename src/{TronDotNet => Nexutron}/Extensions/ECKeyExtension.cs (97%) rename src/{TronDotNet => Nexutron}/Extensions/TransactionExtension.cs (83%) rename src/{TronDotNet => Nexutron}/Extensions/TronNetServiceExtension.cs (98%) rename src/{TronDotNet => Nexutron}/Extensions/TronUnit.cs (95%) rename src/{TronDotNet => Nexutron}/GrpcChannelClient.cs (97%) rename src/{TronDotNet => Nexutron}/GrpcChannelOption.cs (93%) rename src/{TronDotNet => Nexutron}/IGrpcChannelClient.cs (92%) rename src/{TronDotNet => Nexutron}/ITransactionClient.cs (89%) rename src/{TronDotNet => Nexutron}/ITronClient.cs (88%) rename src/{TronDotNet => Nexutron}/IWalletClient.cs (86%) rename src/{TronDotNet/TronDotNet.csproj => Nexutron/Nexutron.csproj} (83%) rename src/{TronDotNet => Nexutron}/TransactionClient.cs (97%) rename src/{TronDotNet => Nexutron}/TronClient.cs (94%) rename src/{TronDotNet => Nexutron}/TronECKey.cs (97%) rename src/{TronDotNet => Nexutron}/TronNetOptions.cs (96%) rename src/{TronDotNet => Nexutron}/TronNetwork.cs (90%) rename src/{TronDotNet => Nexutron}/WalletClient.cs (94%) delete mode 100644 src/TronDotNet/TronDotNet.csproj.user diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index c73704e..53b7170 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -44,13 +44,20 @@ jobs: - name: Build and Pack NuGet package run: | - dotnet build src/TronDotNet/TronDotNet.csproj -c Release - dotnet pack src/TronDotNet/TronDotNet.csproj -p:Version='${{ steps.gitversion.outputs.SemVer }}' -c Release + dotnet build src/Nexutron/Nexutron.csproj -c Release + dotnet pack src/Nexutron/Nexutron.csproj -p:Version='${{ steps.gitversion.outputs.SemVer }}' -c Release + dotnet build src/Nexutron.Protocol/Nexutron.Protocol.csproj -c Release + dotnet pack src/Nexutron.Protocol/Nexutron.Protocol.csproj -p:Version='${{ steps.gitversion.outputs.SemVer }}' -c Release - name: Upload NuGet package to GitHub uses: actions/upload-artifact@v3 with: name: nugetPackage - path: src/TronDotNet/bin/Release/ + path: src/Nexutron/bin/Release/ + - name: Upload NuGet package to GitHub + uses: actions/upload-artifact@v3 + with: + name: nugetPackage + path: src/Nexutron.Protocol/bin/Release/ release: runs-on: ubuntu-latest diff --git a/TronDotNet.sln b/Nexutron.sln similarity index 89% rename from TronDotNet.sln rename to Nexutron.sln index 549ad3a..f7f68f7 100644 --- a/TronDotNet.sln +++ b/Nexutron.sln @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.30804.86 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TronDotNet.Protocol", "src\TronDotNet.Protocol\TronDotNet.Protocol.csproj", "{2787BE3F-B61E-439C-9CFC-A3E2D3D99489}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nexutron.Protocol", "src\Nexutron.Protocol\Nexutron.Protocol.csproj", "{2787BE3F-B61E-439C-9CFC-A3E2D3D99489}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TronDotNet", "src\TronDotNet\TronDotNet.csproj", "{4FDC1F3A-B612-45CA-B3F4-C8020D25D3CF}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nexutron", "src\Nexutron\Nexutron.csproj", "{4FDC1F3A-B612-45CA-B3F4-C8020D25D3CF}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{52F5F682-1C4D-434D-B5AE-D6A297C9531F}" EndProject diff --git a/TestTronDotNet/Program.cs b/TestTronDotNet/Program.cs index ad222d4..d1e7448 100644 --- a/TestTronDotNet/Program.cs +++ b/TestTronDotNet/Program.cs @@ -3,11 +3,11 @@ using Newtonsoft.Json; using System; using System.Threading.Tasks; -using TronDotNet; -using TronDotNet.Contracts; -using TronDotNet.Crypto; -using TronDotNet.Extensions; -using TronDotNet.Protocol; +using Nexutron; +using Nexutron.Contracts; +using Nexutron.Crypto; +using Nexutron.Extensions; +using Nexutron.Protocol; namespace TestTronDotNet { diff --git a/TestTronDotNet/TestTronDotNet.csproj b/TestTronDotNet/TestTronDotNet.csproj index 9795b78..e3c2114 100644 --- a/TestTronDotNet/TestTronDotNet.csproj +++ b/TestTronDotNet/TestTronDotNet.csproj @@ -10,10 +10,8 @@ - - - - + + diff --git a/WebApplication-Host/Controllers/HomeController.cs b/WebApplication-Host/Controllers/HomeController.cs index aab4517..f29d5cc 100644 --- a/WebApplication-Host/Controllers/HomeController.cs +++ b/WebApplication-Host/Controllers/HomeController.cs @@ -8,9 +8,9 @@ using System.Diagnostics; using System.Linq; using System.Threading.Tasks; -using TronDotNet; -using TronDotNet.Contracts; -using TronDotNet.Extensions; +using Nexutron; +using Nexutron.Contracts; +using Nexutron.Extensions; using WebApplication_Host.Models; namespace WebApplication_Host.Controllers diff --git a/WebApplication-Host/Startup.cs b/WebApplication-Host/Startup.cs index 12cc935..40a8e8f 100644 --- a/WebApplication-Host/Startup.cs +++ b/WebApplication-Host/Startup.cs @@ -8,7 +8,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using TronDotNet; +using Nexutron; namespace WebApplication_Host { diff --git a/WebApplication-Host/WebApplication-Host.csproj b/WebApplication-Host/WebApplication-Host.csproj index 89cd8e9..a8579d1 100644 --- a/WebApplication-Host/WebApplication-Host.csproj +++ b/WebApplication-Host/WebApplication-Host.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/TronDotNet.Protocol/TronDotNet.Protocol.csproj b/src/Nexutron.Protocol/Nexutron.Protocol.csproj similarity index 100% rename from src/TronDotNet.Protocol/TronDotNet.Protocol.csproj rename to src/Nexutron.Protocol/Nexutron.Protocol.csproj diff --git a/src/TronDotNet.Protocol/Protos/api/api.proto b/src/Nexutron.Protocol/Protos/api/api.proto similarity index 99% rename from src/TronDotNet.Protocol/Protos/api/api.proto rename to src/Nexutron.Protocol/Protos/api/api.proto index 4512d91..01e9761 100644 --- a/src/TronDotNet.Protocol/Protos/api/api.proto +++ b/src/Nexutron.Protocol/Protos/api/api.proto @@ -16,7 +16,7 @@ import "Protos/core/contract/shield_contract.proto"; option go_package = "github.com/tronprotocol/grpc-gateway/api"; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; service Wallet { diff --git a/src/TronDotNet.Protocol/Protos/api/zksnark.proto b/src/Nexutron.Protocol/Protos/api/zksnark.proto similarity index 90% rename from src/TronDotNet.Protocol/Protos/api/zksnark.proto rename to src/Nexutron.Protocol/Protos/api/zksnark.proto index e3eccda..ff20531 100644 --- a/src/TronDotNet.Protocol/Protos/api/zksnark.proto +++ b/src/Nexutron.Protocol/Protos/api/zksnark.proto @@ -4,7 +4,7 @@ package protocol; import "Protos/core/Tron.proto"; option go_package = "github.com/tronprotocol/grpc-gateway/api"; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; service TronZksnark { rpc CheckZksnarkProof (ZksnarkRequest) returns (ZksnarkResponse) { diff --git a/src/TronDotNet.Protocol/Protos/core/Discover.proto b/src/Nexutron.Protocol/Protos/core/Discover.proto similarity index 92% rename from src/TronDotNet.Protocol/Protos/core/Discover.proto rename to src/Nexutron.Protocol/Protos/core/Discover.proto index a0e5866..796b59c 100644 --- a/src/TronDotNet.Protocol/Protos/core/Discover.proto +++ b/src/Nexutron.Protocol/Protos/core/Discover.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package protocol; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; option go_package = "github.com/tronprotocol/grpc-gateway/core"; message Endpoint { diff --git a/src/TronDotNet.Protocol/Protos/core/Tron.proto b/src/Nexutron.Protocol/Protos/core/Tron.proto similarity index 99% rename from src/TronDotNet.Protocol/Protos/core/Tron.proto rename to src/Nexutron.Protocol/Protos/core/Tron.proto index ced41e6..ce83b9a 100644 --- a/src/TronDotNet.Protocol/Protos/core/Tron.proto +++ b/src/Nexutron.Protocol/Protos/core/Tron.proto @@ -6,7 +6,7 @@ import "Protos/core/Discover.proto"; package protocol; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; option go_package = "github.com/tronprotocol/grpc-gateway/core"; enum AccountType { diff --git a/src/TronDotNet.Protocol/Protos/core/TronInventoryItems.proto b/src/Nexutron.Protocol/Protos/core/TronInventoryItems.proto similarity index 78% rename from src/TronDotNet.Protocol/Protos/core/TronInventoryItems.proto rename to src/Nexutron.Protocol/Protos/core/TronInventoryItems.proto index 0962077..3c30026 100644 --- a/src/TronDotNet.Protocol/Protos/core/TronInventoryItems.proto +++ b/src/Nexutron.Protocol/Protos/core/TronInventoryItems.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package protocol; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; option go_package = "github.com/tronprotocol/grpc-gateway/core"; message InventoryItems { diff --git a/src/TronDotNet.Protocol/Protos/core/contract/account_contract.proto b/src/Nexutron.Protocol/Protos/core/contract/account_contract.proto similarity index 96% rename from src/TronDotNet.Protocol/Protos/core/contract/account_contract.proto rename to src/Nexutron.Protocol/Protos/core/contract/account_contract.proto index 614718a..121a64f 100644 --- a/src/TronDotNet.Protocol/Protos/core/contract/account_contract.proto +++ b/src/Nexutron.Protocol/Protos/core/contract/account_contract.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package protocol; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; option go_package = "github.com/tronprotocol/grpc-gateway/core"; import "Protos/core/Tron.proto"; diff --git a/src/TronDotNet.Protocol/Protos/core/contract/asset_issue_contract.proto b/src/Nexutron.Protocol/Protos/core/contract/asset_issue_contract.proto similarity index 96% rename from src/TronDotNet.Protocol/Protos/core/contract/asset_issue_contract.proto rename to src/Nexutron.Protocol/Protos/core/contract/asset_issue_contract.proto index 48118fa..0300c4a 100644 --- a/src/TronDotNet.Protocol/Protos/core/contract/asset_issue_contract.proto +++ b/src/Nexutron.Protocol/Protos/core/contract/asset_issue_contract.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package protocol; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; option go_package = "github.com/tronprotocol/grpc-gateway/core"; message AssetIssueContract { diff --git a/src/TronDotNet.Protocol/Protos/core/contract/balance_contract.proto b/src/Nexutron.Protocol/Protos/core/contract/balance_contract.proto similarity index 96% rename from src/TronDotNet.Protocol/Protos/core/contract/balance_contract.proto rename to src/Nexutron.Protocol/Protos/core/contract/balance_contract.proto index 6b54b57..f6fdd4e 100644 --- a/src/TronDotNet.Protocol/Protos/core/contract/balance_contract.proto +++ b/src/Nexutron.Protocol/Protos/core/contract/balance_contract.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package protocol; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; option go_package = "github.com/tronprotocol/grpc-gateway/core"; import "Protos/core/contract/common.proto"; diff --git a/src/TronDotNet.Protocol/Protos/core/contract/common.proto b/src/Nexutron.Protocol/Protos/core/contract/common.proto similarity index 76% rename from src/TronDotNet.Protocol/Protos/core/contract/common.proto rename to src/Nexutron.Protocol/Protos/core/contract/common.proto index 6d25d85..98ff5a0 100644 --- a/src/TronDotNet.Protocol/Protos/core/contract/common.proto +++ b/src/Nexutron.Protocol/Protos/core/contract/common.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package protocol; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; option go_package = "github.com/tronprotocol/grpc-gateway/core"; enum ResourceCode { diff --git a/src/TronDotNet.Protocol/Protos/core/contract/exchange_contract.proto b/src/Nexutron.Protocol/Protos/core/contract/exchange_contract.proto similarity index 93% rename from src/TronDotNet.Protocol/Protos/core/contract/exchange_contract.proto rename to src/Nexutron.Protocol/Protos/core/contract/exchange_contract.proto index 432997c..c6dd4a3 100644 --- a/src/TronDotNet.Protocol/Protos/core/contract/exchange_contract.proto +++ b/src/Nexutron.Protocol/Protos/core/contract/exchange_contract.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package protocol; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; option go_package = "github.com/tronprotocol/grpc-gateway/core"; message ExchangeCreateContract { diff --git a/src/TronDotNet.Protocol/Protos/core/contract/market_contract.proto b/src/Nexutron.Protocol/Protos/core/contract/market_contract.proto similarity index 89% rename from src/TronDotNet.Protocol/Protos/core/contract/market_contract.proto rename to src/Nexutron.Protocol/Protos/core/contract/market_contract.proto index 38d86c8..d62da7e 100644 --- a/src/TronDotNet.Protocol/Protos/core/contract/market_contract.proto +++ b/src/Nexutron.Protocol/Protos/core/contract/market_contract.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package protocol; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; option go_package = "github.com/tronprotocol/grpc-gateway/core"; message MarketSellAssetContract { diff --git a/src/TronDotNet.Protocol/Protos/core/contract/proposal_contract.proto b/src/Nexutron.Protocol/Protos/core/contract/proposal_contract.proto similarity index 89% rename from src/TronDotNet.Protocol/Protos/core/contract/proposal_contract.proto rename to src/Nexutron.Protocol/Protos/core/contract/proposal_contract.proto index b07d775..81afacd 100644 --- a/src/TronDotNet.Protocol/Protos/core/contract/proposal_contract.proto +++ b/src/Nexutron.Protocol/Protos/core/contract/proposal_contract.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package protocol; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; option go_package = "github.com/tronprotocol/grpc-gateway/core"; message ProposalApproveContract { diff --git a/src/TronDotNet.Protocol/Protos/core/contract/shield_contract.proto b/src/Nexutron.Protocol/Protos/core/contract/shield_contract.proto similarity index 97% rename from src/TronDotNet.Protocol/Protos/core/contract/shield_contract.proto rename to src/Nexutron.Protocol/Protos/core/contract/shield_contract.proto index cf07483..cf4d0e2 100644 --- a/src/TronDotNet.Protocol/Protos/core/contract/shield_contract.proto +++ b/src/Nexutron.Protocol/Protos/core/contract/shield_contract.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package protocol; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; option go_package = "github.com/tronprotocol/grpc-gateway/core"; // for shielded transaction diff --git a/src/TronDotNet.Protocol/Protos/core/contract/smart_contract.proto b/src/Nexutron.Protocol/Protos/core/contract/smart_contract.proto similarity index 97% rename from src/TronDotNet.Protocol/Protos/core/contract/smart_contract.proto rename to src/Nexutron.Protocol/Protos/core/contract/smart_contract.proto index 3d5982b..7e9b670 100644 --- a/src/TronDotNet.Protocol/Protos/core/contract/smart_contract.proto +++ b/src/Nexutron.Protocol/Protos/core/contract/smart_contract.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package protocol; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; option go_package = "github.com/tronprotocol/grpc-gateway/core"; diff --git a/src/TronDotNet.Protocol/Protos/core/contract/storage_contract.proto b/src/Nexutron.Protocol/Protos/core/contract/storage_contract.proto similarity index 91% rename from src/TronDotNet.Protocol/Protos/core/contract/storage_contract.proto rename to src/Nexutron.Protocol/Protos/core/contract/storage_contract.proto index 19d7945..dfba2ed 100644 --- a/src/TronDotNet.Protocol/Protos/core/contract/storage_contract.proto +++ b/src/Nexutron.Protocol/Protos/core/contract/storage_contract.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package protocol; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; option go_package = "github.com/tronprotocol/grpc-gateway/core"; message BuyStorageBytesContract { diff --git a/src/TronDotNet.Protocol/Protos/core/contract/vote_asset_contract.proto b/src/Nexutron.Protocol/Protos/core/contract/vote_asset_contract.proto similarity index 82% rename from src/TronDotNet.Protocol/Protos/core/contract/vote_asset_contract.proto rename to src/Nexutron.Protocol/Protos/core/contract/vote_asset_contract.proto index b67b021..9595c0c 100644 --- a/src/TronDotNet.Protocol/Protos/core/contract/vote_asset_contract.proto +++ b/src/Nexutron.Protocol/Protos/core/contract/vote_asset_contract.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package protocol; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; option go_package = "github.com/tronprotocol/grpc-gateway/core"; message VoteAssetContract { diff --git a/src/TronDotNet.Protocol/Protos/core/contract/witness_contract.proto b/src/Nexutron.Protocol/Protos/core/contract/witness_contract.proto similarity index 90% rename from src/TronDotNet.Protocol/Protos/core/contract/witness_contract.proto rename to src/Nexutron.Protocol/Protos/core/contract/witness_contract.proto index 75189bd..78f52d8 100644 --- a/src/TronDotNet.Protocol/Protos/core/contract/witness_contract.proto +++ b/src/Nexutron.Protocol/Protos/core/contract/witness_contract.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package protocol; -option csharp_namespace = "TronDotNet.Protocol"; +option csharp_namespace = "Nexutron.Protocol"; option go_package = "github.com/tronprotocol/grpc-gateway/core"; message WitnessCreateContract { diff --git a/src/TronDotNet.Protocol/Protos/core/tron/account.proto b/src/Nexutron.Protocol/Protos/core/tron/account.proto similarity index 100% rename from src/TronDotNet.Protocol/Protos/core/tron/account.proto rename to src/Nexutron.Protocol/Protos/core/tron/account.proto diff --git a/src/TronDotNet.Protocol/Protos/core/tron/block.proto b/src/Nexutron.Protocol/Protos/core/tron/block.proto similarity index 100% rename from src/TronDotNet.Protocol/Protos/core/tron/block.proto rename to src/Nexutron.Protocol/Protos/core/tron/block.proto diff --git a/src/TronDotNet.Protocol/Protos/core/tron/delegated_resource.proto b/src/Nexutron.Protocol/Protos/core/tron/delegated_resource.proto similarity index 100% rename from src/TronDotNet.Protocol/Protos/core/tron/delegated_resource.proto rename to src/Nexutron.Protocol/Protos/core/tron/delegated_resource.proto diff --git a/src/TronDotNet.Protocol/Protos/core/tron/p2p.proto b/src/Nexutron.Protocol/Protos/core/tron/p2p.proto similarity index 100% rename from src/TronDotNet.Protocol/Protos/core/tron/p2p.proto rename to src/Nexutron.Protocol/Protos/core/tron/p2p.proto diff --git a/src/TronDotNet.Protocol/Protos/core/tron/proposal.proto b/src/Nexutron.Protocol/Protos/core/tron/proposal.proto similarity index 100% rename from src/TronDotNet.Protocol/Protos/core/tron/proposal.proto rename to src/Nexutron.Protocol/Protos/core/tron/proposal.proto diff --git a/src/TronDotNet.Protocol/Protos/core/tron/transaction.proto b/src/Nexutron.Protocol/Protos/core/tron/transaction.proto similarity index 100% rename from src/TronDotNet.Protocol/Protos/core/tron/transaction.proto rename to src/Nexutron.Protocol/Protos/core/tron/transaction.proto diff --git a/src/TronDotNet.Protocol/Protos/core/tron/vote.proto b/src/Nexutron.Protocol/Protos/core/tron/vote.proto similarity index 100% rename from src/TronDotNet.Protocol/Protos/core/tron/vote.proto rename to src/Nexutron.Protocol/Protos/core/tron/vote.proto diff --git a/src/TronDotNet.Protocol/Protos/core/tron/witness.proto b/src/Nexutron.Protocol/Protos/core/tron/witness.proto similarity index 100% rename from src/TronDotNet.Protocol/Protos/core/tron/witness.proto rename to src/Nexutron.Protocol/Protos/core/tron/witness.proto diff --git a/src/TronDotNet.Protocol/Protos/google/api/annotations.proto b/src/Nexutron.Protocol/Protos/google/api/annotations.proto similarity index 100% rename from src/TronDotNet.Protocol/Protos/google/api/annotations.proto rename to src/Nexutron.Protocol/Protos/google/api/annotations.proto diff --git a/src/TronDotNet.Protocol/Protos/google/api/http.proto b/src/Nexutron.Protocol/Protos/google/api/http.proto similarity index 100% rename from src/TronDotNet.Protocol/Protos/google/api/http.proto rename to src/Nexutron.Protocol/Protos/google/api/http.proto diff --git a/src/TronDotNet.Protocol/Protos/google/protobuf/descriptor.proto b/src/Nexutron.Protocol/Protos/google/protobuf/descriptor.proto similarity index 100% rename from src/TronDotNet.Protocol/Protos/google/protobuf/descriptor.proto rename to src/Nexutron.Protocol/Protos/google/protobuf/descriptor.proto diff --git a/src/TronDotNet/Accounts/ITronAccount.cs b/src/Nexutron/Accounts/ITronAccount.cs similarity index 91% rename from src/TronDotNet/Accounts/ITronAccount.cs rename to src/Nexutron/Accounts/ITronAccount.cs index f74c54e..254852b 100644 --- a/src/TronDotNet/Accounts/ITronAccount.cs +++ b/src/Nexutron/Accounts/ITronAccount.cs @@ -4,7 +4,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet.Accounts +namespace Nexutron.Accounts { public interface ITronAccount { diff --git a/src/TronDotNet/Accounts/TronAccount.cs b/src/Nexutron/Accounts/TronAccount.cs similarity index 97% rename from src/TronDotNet/Accounts/TronAccount.cs rename to src/Nexutron/Accounts/TronAccount.cs index 0755ce7..4214f6c 100644 --- a/src/TronDotNet/Accounts/TronAccount.cs +++ b/src/Nexutron/Accounts/TronAccount.cs @@ -5,7 +5,7 @@ using System.Threading.Tasks; using Nethereum.Hex.HexConvertors.Extensions; -namespace TronDotNet.Accounts +namespace Nexutron.Accounts { public class TronAccount : ITronAccount { diff --git a/src/TronDotNet/Contracts/BalanceOfFunction.cs b/src/Nexutron/Contracts/BalanceOfFunction.cs similarity index 93% rename from src/TronDotNet/Contracts/BalanceOfFunction.cs rename to src/Nexutron/Contracts/BalanceOfFunction.cs index 8bb5f13..30d0db8 100644 --- a/src/TronDotNet/Contracts/BalanceOfFunction.cs +++ b/src/Nexutron/Contracts/BalanceOfFunction.cs @@ -1,6 +1,6 @@ using Nethereum.ABI.FunctionEncoding.Attributes; -namespace TronDotNet.Contracts +namespace Nexutron.Contracts { [Function("balanceOf", "uint256")] public class BalanceOfFunction : FunctionMessage diff --git a/src/TronDotNet/Contracts/ContractClientFactory.cs b/src/Nexutron/Contracts/ContractClientFactory.cs similarity index 95% rename from src/TronDotNet/Contracts/ContractClientFactory.cs rename to src/Nexutron/Contracts/ContractClientFactory.cs index 686cb59..d3a47b3 100644 --- a/src/TronDotNet/Contracts/ContractClientFactory.cs +++ b/src/Nexutron/Contracts/ContractClientFactory.cs @@ -1,7 +1,7 @@ using System; using Microsoft.Extensions.DependencyInjection; -namespace TronDotNet.Contracts +namespace Nexutron.Contracts { class ContractClientFactory : IContractClientFactory { diff --git a/src/TronDotNet/Contracts/ContractMessageBase.cs b/src/Nexutron/Contracts/ContractMessageBase.cs similarity index 93% rename from src/TronDotNet/Contracts/ContractMessageBase.cs rename to src/Nexutron/Contracts/ContractMessageBase.cs index 4e1fabd..bf2b9d1 100644 --- a/src/TronDotNet/Contracts/ContractMessageBase.cs +++ b/src/Nexutron/Contracts/ContractMessageBase.cs @@ -5,7 +5,7 @@ using System.Threading.Tasks; using System.Numerics; -namespace TronDotNet.Contracts +namespace Nexutron.Contracts { public abstract class ContractMessageBase { diff --git a/src/TronDotNet/Contracts/ContractProtocol.cs b/src/Nexutron/Contracts/ContractProtocol.cs similarity index 85% rename from src/TronDotNet/Contracts/ContractProtocol.cs rename to src/Nexutron/Contracts/ContractProtocol.cs index 82e6984..a2fb0b4 100644 --- a/src/TronDotNet/Contracts/ContractProtocol.cs +++ b/src/Nexutron/Contracts/ContractProtocol.cs @@ -4,7 +4,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet.Contracts +namespace Nexutron.Contracts { public enum ContractProtocol { diff --git a/src/TronDotNet/Contracts/DecimalsFunction.cs b/src/Nexutron/Contracts/DecimalsFunction.cs similarity index 83% rename from src/TronDotNet/Contracts/DecimalsFunction.cs rename to src/Nexutron/Contracts/DecimalsFunction.cs index b4e8403..96b8e55 100644 --- a/src/TronDotNet/Contracts/DecimalsFunction.cs +++ b/src/Nexutron/Contracts/DecimalsFunction.cs @@ -1,6 +1,6 @@ using Nethereum.ABI.FunctionEncoding.Attributes; -namespace TronDotNet.Contracts +namespace Nexutron.Contracts { [Function("decimals", "uint8")] public class DecimalsFunction : FunctionMessage diff --git a/src/TronDotNet/Contracts/FunctionMessage.cs b/src/Nexutron/Contracts/FunctionMessage.cs similarity index 86% rename from src/TronDotNet/Contracts/FunctionMessage.cs rename to src/Nexutron/Contracts/FunctionMessage.cs index 631ded2..6277f18 100644 --- a/src/TronDotNet/Contracts/FunctionMessage.cs +++ b/src/Nexutron/Contracts/FunctionMessage.cs @@ -4,7 +4,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet.Contracts +namespace Nexutron.Contracts { public class FunctionMessage : ContractMessageBase { diff --git a/src/TronDotNet/Contracts/GetContractEventsResult.cs b/src/Nexutron/Contracts/GetContractEventsResult.cs similarity index 98% rename from src/TronDotNet/Contracts/GetContractEventsResult.cs rename to src/Nexutron/Contracts/GetContractEventsResult.cs index cab865f..37ee799 100644 --- a/src/TronDotNet/Contracts/GetContractEventsResult.cs +++ b/src/Nexutron/Contracts/GetContractEventsResult.cs @@ -5,7 +5,7 @@ using System.Text.Json.Serialization; using System.Threading.Tasks; -namespace TronDotNet.Contracts +namespace Nexutron.Contracts { public class GetContractEventsResult { diff --git a/src/TronDotNet/Contracts/IContractClient.cs b/src/Nexutron/Contracts/IContractClient.cs similarity index 88% rename from src/TronDotNet/Contracts/IContractClient.cs rename to src/Nexutron/Contracts/IContractClient.cs index 69aff8d..34baf51 100644 --- a/src/TronDotNet/Contracts/IContractClient.cs +++ b/src/Nexutron/Contracts/IContractClient.cs @@ -3,9 +3,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -using TronDotNet.Accounts; +using Nexutron.Accounts; -namespace TronDotNet.Contracts +namespace Nexutron.Contracts { public interface IContractClient { diff --git a/src/TronDotNet/Contracts/IContractClientFactory.cs b/src/Nexutron/Contracts/IContractClientFactory.cs similarity index 88% rename from src/TronDotNet/Contracts/IContractClientFactory.cs rename to src/Nexutron/Contracts/IContractClientFactory.cs index bd93713..20166b2 100644 --- a/src/TronDotNet/Contracts/IContractClientFactory.cs +++ b/src/Nexutron/Contracts/IContractClientFactory.cs @@ -4,7 +4,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet.Contracts +namespace Nexutron.Contracts { public interface IContractClientFactory { diff --git a/src/TronDotNet/Contracts/TRC20ContractClient.cs b/src/Nexutron/Contracts/TRC20ContractClient.cs similarity index 98% rename from src/TronDotNet/Contracts/TRC20ContractClient.cs rename to src/Nexutron/Contracts/TRC20ContractClient.cs index 445c4aa..afabff8 100644 --- a/src/TronDotNet/Contracts/TRC20ContractClient.cs +++ b/src/Nexutron/Contracts/TRC20ContractClient.cs @@ -6,12 +6,12 @@ using Nethereum.ABI.Model; using Nethereum.Contracts; using Nethereum.Hex.HexConvertors.Extensions; -using TronDotNet.Accounts; -using TronDotNet.Crypto; -using TronDotNet.Extensions; -using TronDotNet.Protocol; +using Nexutron.Accounts; +using Nexutron.Crypto; +using Nexutron.Extensions; +using Nexutron.Protocol; -namespace TronDotNet.Contracts +namespace Nexutron.Contracts { class TRC20ContractClient : IContractClient { diff --git a/src/TronDotNet/Contracts/TransferFunction.cs b/src/Nexutron/Contracts/TransferFunction.cs similarity index 91% rename from src/TronDotNet/Contracts/TransferFunction.cs rename to src/Nexutron/Contracts/TransferFunction.cs index f4ed8ce..e6ef16c 100644 --- a/src/TronDotNet/Contracts/TransferFunction.cs +++ b/src/Nexutron/Contracts/TransferFunction.cs @@ -1,7 +1,7 @@ using System.Numerics; using Nethereum.ABI.FunctionEncoding.Attributes; -namespace TronDotNet.Contracts +namespace Nexutron.Contracts { [Function("transfer", "bool")] public class TransferFunction : FunctionMessage diff --git a/src/TronDotNet/Crypto/Base58Encoder.cs b/src/Nexutron/Crypto/Base58Encoder.cs similarity index 99% rename from src/TronDotNet/Crypto/Base58Encoder.cs rename to src/Nexutron/Crypto/Base58Encoder.cs index dd34b1f..92fb89b 100644 --- a/src/TronDotNet/Crypto/Base58Encoder.cs +++ b/src/Nexutron/Crypto/Base58Encoder.cs @@ -5,7 +5,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet.Crypto +namespace Nexutron.Crypto { public static class Base58Encoder diff --git a/src/TronDotNet/Crypto/ByteArrary.cs b/src/Nexutron/Crypto/ByteArrary.cs similarity index 99% rename from src/TronDotNet/Crypto/ByteArrary.cs rename to src/Nexutron/Crypto/ByteArrary.cs index c6585f8..2537816 100644 --- a/src/TronDotNet/Crypto/ByteArrary.cs +++ b/src/Nexutron/Crypto/ByteArrary.cs @@ -4,7 +4,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet +namespace Nexutron { public static class ByteArrary { diff --git a/src/TronDotNet/Crypto/HashExtension.cs b/src/Nexutron/Crypto/HashExtension.cs similarity index 97% rename from src/TronDotNet/Crypto/HashExtension.cs rename to src/Nexutron/Crypto/HashExtension.cs index f42bc8f..e3b17e5 100644 --- a/src/TronDotNet/Crypto/HashExtension.cs +++ b/src/Nexutron/Crypto/HashExtension.cs @@ -5,7 +5,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet.Crypto +namespace Nexutron.Crypto { public static class HashExtension { diff --git a/src/TronDotNet/Crypto/Sha256Sm3Hash.cs b/src/Nexutron/Crypto/Sha256Sm3Hash.cs similarity index 98% rename from src/TronDotNet/Crypto/Sha256Sm3Hash.cs rename to src/Nexutron/Crypto/Sha256Sm3Hash.cs index 47488ef..558eebc 100644 --- a/src/TronDotNet/Crypto/Sha256Sm3Hash.cs +++ b/src/Nexutron/Crypto/Sha256Sm3Hash.cs @@ -6,7 +6,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet.Crypto +namespace Nexutron.Crypto { public class Sha256Sm3Hash { diff --git a/src/TronDotNet/Extensions/ArrayExtension.cs b/src/Nexutron/Extensions/ArrayExtension.cs similarity index 95% rename from src/TronDotNet/Extensions/ArrayExtension.cs rename to src/Nexutron/Extensions/ArrayExtension.cs index dce3745..6cb9df3 100644 --- a/src/TronDotNet/Extensions/ArrayExtension.cs +++ b/src/Nexutron/Extensions/ArrayExtension.cs @@ -5,7 +5,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet +namespace Nexutron { public static class ArrayExtension { diff --git a/src/TronDotNet/Extensions/ByteBuffer.cs b/src/Nexutron/Extensions/ByteBuffer.cs similarity index 99% rename from src/TronDotNet/Extensions/ByteBuffer.cs rename to src/Nexutron/Extensions/ByteBuffer.cs index 2538e0b..fa27412 100644 --- a/src/TronDotNet/Extensions/ByteBuffer.cs +++ b/src/Nexutron/Extensions/ByteBuffer.cs @@ -5,7 +5,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet +namespace Nexutron { /// /// This type supports the Fluorine infrastructure and is not intended to be used directly from your code. diff --git a/src/TronDotNet/Extensions/ECDSASignatureExtensions.cs b/src/Nexutron/Extensions/ECDSASignatureExtensions.cs similarity index 95% rename from src/TronDotNet/Extensions/ECDSASignatureExtensions.cs rename to src/Nexutron/Extensions/ECDSASignatureExtensions.cs index e02ba90..91742dc 100644 --- a/src/TronDotNet/Extensions/ECDSASignatureExtensions.cs +++ b/src/Nexutron/Extensions/ECDSASignatureExtensions.cs @@ -2,7 +2,7 @@ using Nethereum.Signer.Crypto; using Org.BouncyCastle.Math; -namespace TronDotNet.Extensions; +namespace Nexutron.Extensions; public static class ECDSASignatureExtensions { diff --git a/src/TronDotNet/Extensions/ECKeyExtension.cs b/src/Nexutron/Extensions/ECKeyExtension.cs similarity index 97% rename from src/TronDotNet/Extensions/ECKeyExtension.cs rename to src/Nexutron/Extensions/ECKeyExtension.cs index 6284206..1475cd3 100644 --- a/src/TronDotNet/Extensions/ECKeyExtension.cs +++ b/src/Nexutron/Extensions/ECKeyExtension.cs @@ -6,7 +6,7 @@ using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Security; -namespace TronDotNet.Extensions; +namespace Nexutron.Extensions; public static class ECKeyExtension { diff --git a/src/TronDotNet/Extensions/TransactionExtension.cs b/src/Nexutron/Extensions/TransactionExtension.cs similarity index 83% rename from src/TronDotNet/Extensions/TransactionExtension.cs rename to src/Nexutron/Extensions/TransactionExtension.cs index 0cfd782..905ad81 100644 --- a/src/TronDotNet/Extensions/TransactionExtension.cs +++ b/src/Nexutron/Extensions/TransactionExtension.cs @@ -1,7 +1,7 @@ using Google.Protobuf; -using TronDotNet.Crypto; +using Nexutron.Crypto; -namespace TronDotNet.Extensions +namespace Nexutron.Extensions { public static class TransactionExtension { diff --git a/src/TronDotNet/Extensions/TronNetServiceExtension.cs b/src/Nexutron/Extensions/TronNetServiceExtension.cs similarity index 98% rename from src/TronDotNet/Extensions/TronNetServiceExtension.cs rename to src/Nexutron/Extensions/TronNetServiceExtension.cs index 9301d06..7a508d5 100644 --- a/src/TronDotNet/Extensions/TronNetServiceExtension.cs +++ b/src/Nexutron/Extensions/TronNetServiceExtension.cs @@ -5,7 +5,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet +namespace Nexutron { public static class TronDotNetServiceExtension { diff --git a/src/TronDotNet/Extensions/TronUnit.cs b/src/Nexutron/Extensions/TronUnit.cs similarity index 95% rename from src/TronDotNet/Extensions/TronUnit.cs rename to src/Nexutron/Extensions/TronUnit.cs index 49149b4..73934ac 100644 --- a/src/TronDotNet/Extensions/TronUnit.cs +++ b/src/Nexutron/Extensions/TronUnit.cs @@ -4,7 +4,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet +namespace Nexutron { public static class TronUnit { diff --git a/src/TronDotNet/GrpcChannelClient.cs b/src/Nexutron/GrpcChannelClient.cs similarity index 97% rename from src/TronDotNet/GrpcChannelClient.cs rename to src/Nexutron/GrpcChannelClient.cs index a8cc4ef..2f5d280 100644 --- a/src/TronDotNet/GrpcChannelClient.cs +++ b/src/Nexutron/GrpcChannelClient.cs @@ -7,7 +7,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet +namespace Nexutron { class GrpcChannelClient : IGrpcChannelClient { diff --git a/src/TronDotNet/GrpcChannelOption.cs b/src/Nexutron/GrpcChannelOption.cs similarity index 93% rename from src/TronDotNet/GrpcChannelOption.cs rename to src/Nexutron/GrpcChannelOption.cs index 81d5d14..47d9aab 100644 --- a/src/TronDotNet/GrpcChannelOption.cs +++ b/src/Nexutron/GrpcChannelOption.cs @@ -4,7 +4,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet +namespace Nexutron { public class GrpcChannelOption { diff --git a/src/TronDotNet/IGrpcChannelClient.cs b/src/Nexutron/IGrpcChannelClient.cs similarity index 92% rename from src/TronDotNet/IGrpcChannelClient.cs rename to src/Nexutron/IGrpcChannelClient.cs index 3b89d6d..0133353 100644 --- a/src/TronDotNet/IGrpcChannelClient.cs +++ b/src/Nexutron/IGrpcChannelClient.cs @@ -4,7 +4,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet +namespace Nexutron { public interface IGrpcChannelClient { diff --git a/src/TronDotNet/ITransactionClient.cs b/src/Nexutron/ITransactionClient.cs similarity index 89% rename from src/TronDotNet/ITransactionClient.cs rename to src/Nexutron/ITransactionClient.cs index 4dcaa7f..aa04059 100644 --- a/src/TronDotNet/ITransactionClient.cs +++ b/src/Nexutron/ITransactionClient.cs @@ -3,9 +3,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -using TronDotNet.Protocol; +using Nexutron.Protocol; -namespace TronDotNet +namespace Nexutron { public interface ITransactionClient { diff --git a/src/TronDotNet/ITronClient.cs b/src/Nexutron/ITronClient.cs similarity index 88% rename from src/TronDotNet/ITronClient.cs rename to src/Nexutron/ITronClient.cs index 1085106..bd7933e 100644 --- a/src/TronDotNet/ITronClient.cs +++ b/src/Nexutron/ITronClient.cs @@ -3,9 +3,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -using TronDotNet.Contracts; +using Nexutron.Contracts; -namespace TronDotNet +namespace Nexutron { public interface ITronClient { diff --git a/src/TronDotNet/IWalletClient.cs b/src/Nexutron/IWalletClient.cs similarity index 86% rename from src/TronDotNet/IWalletClient.cs rename to src/Nexutron/IWalletClient.cs index b7551a7..1650081 100644 --- a/src/TronDotNet/IWalletClient.cs +++ b/src/Nexutron/IWalletClient.cs @@ -5,10 +5,10 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -using TronDotNet.Accounts; -using TronDotNet.Protocol; +using Nexutron.Accounts; +using Nexutron.Protocol; -namespace TronDotNet +namespace Nexutron { public interface IWalletClient { diff --git a/src/TronDotNet/TronDotNet.csproj b/src/Nexutron/Nexutron.csproj similarity index 83% rename from src/TronDotNet/TronDotNet.csproj rename to src/Nexutron/Nexutron.csproj index 4e5a026..df589c2 100644 --- a/src/TronDotNet/TronDotNet.csproj +++ b/src/Nexutron/Nexutron.csproj @@ -16,9 +16,7 @@ TronDotNet makes it easy to build TRON applications with .net. - - - + diff --git a/src/TronDotNet/TransactionClient.cs b/src/Nexutron/TransactionClient.cs similarity index 97% rename from src/TronDotNet/TransactionClient.cs rename to src/Nexutron/TransactionClient.cs index d2ffb81..cb55c00 100644 --- a/src/TronDotNet/TransactionClient.cs +++ b/src/Nexutron/TransactionClient.cs @@ -4,12 +4,12 @@ using System.Threading.Tasks; using Nethereum.Hex.HexConvertors.Extensions; using Nethereum.Signer.Crypto; -using TronDotNet.Protocol; +using Nexutron.Protocol; using Nethereum.Util; -using TronDotNet.Crypto; -using TronDotNet.Extensions; +using Nexutron.Crypto; +using Nexutron.Extensions; -namespace TronDotNet +namespace Nexutron { class TransactionClient : ITransactionClient { diff --git a/src/TronDotNet/TronClient.cs b/src/Nexutron/TronClient.cs similarity index 94% rename from src/TronDotNet/TronClient.cs rename to src/Nexutron/TronClient.cs index 3e56749..636a9ef 100644 --- a/src/TronDotNet/TronClient.cs +++ b/src/Nexutron/TronClient.cs @@ -5,10 +5,10 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -using TronDotNet.Contracts; -using TronDotNet.Protocol; +using Nexutron.Contracts; +using Nexutron.Protocol; -namespace TronDotNet +namespace Nexutron { class TronClient : ITronClient { diff --git a/src/TronDotNet/TronECKey.cs b/src/Nexutron/TronECKey.cs similarity index 97% rename from src/TronDotNet/TronECKey.cs rename to src/Nexutron/TronECKey.cs index 65987f6..83acee9 100644 --- a/src/TronDotNet/TronECKey.cs +++ b/src/Nexutron/TronECKey.cs @@ -1,9 +1,9 @@ using System; using Nethereum.Signer.Crypto; -using TronDotNet.Crypto; -using TronDotNet.Extensions; +using Nexutron.Crypto; +using Nexutron.Extensions; -namespace TronDotNet +namespace Nexutron { public class TronECKey { diff --git a/src/TronDotNet/TronNetOptions.cs b/src/Nexutron/TronNetOptions.cs similarity index 96% rename from src/TronDotNet/TronNetOptions.cs rename to src/Nexutron/TronNetOptions.cs index c95113f..a56bb2b 100644 --- a/src/TronDotNet/TronNetOptions.cs +++ b/src/Nexutron/TronNetOptions.cs @@ -5,7 +5,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet +namespace Nexutron { public class TronDotNetOptions { diff --git a/src/TronDotNet/TronNetwork.cs b/src/Nexutron/TronNetwork.cs similarity index 90% rename from src/TronDotNet/TronNetwork.cs rename to src/Nexutron/TronNetwork.cs index 10e9743..252bed0 100644 --- a/src/TronDotNet/TronNetwork.cs +++ b/src/Nexutron/TronNetwork.cs @@ -4,7 +4,7 @@ using System.Text; using System.Threading.Tasks; -namespace TronDotNet +namespace Nexutron { public enum TronNetwork { diff --git a/src/TronDotNet/WalletClient.cs b/src/Nexutron/WalletClient.cs similarity index 94% rename from src/TronDotNet/WalletClient.cs rename to src/Nexutron/WalletClient.cs index f399971..dfe909e 100644 --- a/src/TronDotNet/WalletClient.cs +++ b/src/Nexutron/WalletClient.cs @@ -2,12 +2,12 @@ using Grpc.Core; using Microsoft.Extensions.Options; using System; -using TronDotNet.Accounts; -using TronDotNet.Crypto; -using TronDotNet.Extensions; -using TronDotNet.Protocol; +using Nexutron.Accounts; +using Nexutron.Crypto; +using Nexutron.Extensions; +using Nexutron.Protocol; -namespace TronDotNet +namespace Nexutron { class WalletClient : IWalletClient { diff --git a/src/TronDotNet/TronDotNet.csproj.user b/src/TronDotNet/TronDotNet.csproj.user deleted file mode 100644 index 966b4ff..0000000 --- a/src/TronDotNet/TronDotNet.csproj.user +++ /dev/null @@ -1,6 +0,0 @@ - - - - true - - \ No newline at end of file