-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tron.Net.Crypto.ECKey exception #1
Comments
Which framework are you targeting? |
I have tried creating a new WalletAddress with a .net core and .net 4.7.1 framework
All the dependencies where correctly installed
|
Hello. My project is targeting .Net 4.5 Framework. I first installed the Tron.Net.Protocol from the following NuGet command And then Tron.Net.Client from the following NuGet command I could use all the other methods just fine. Only the following code is giving me trouble |
Hello. I changed my project target to 4.7.1 and I'm still receiving the following error. Error: |
I've tried with several .net frameworks starting at .net4.5 all the way to .net 4.7.2. It is the same error Error: |
hi |
Hello.
I installed the Tron.Net.Client library from the following URL
https://www.nuget.org/packages/Tron.Net.Client
The following line is throwing an error.
Tron.Net.Client.WalletAddress newAddress = Tron.Net.Client.WalletAddress.MainNetWalletAddress();
Error:
The type initializer for ‘Tron.Net.Crypto.ECKey’ threw an exception.
at Tron.Net.Crypto.ECKey..ctor()
at Tron.Net.Client.WalletAddress.MainNetWalletAddress(ECKey key)
at TelegramBot.TRON.TRON.TestTRON() in ………
Also, the lib BouncyCastle.Crypto wasn't included in the above nuget pakage.
Thanks for your help.
The text was updated successfully, but these errors were encountered: