question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Existing Chaos.NaCl.Ed25519 conflict with dotnet-stellar-sdk

See original GitHub issue

On an existing .NET 4.6.2 console application, I have dlech.Chaos.NaCl package installed (version 0.1.0). In my existing code there is a line:

var buf = new byte[32];
Chaos.NaCl.Ed25519.KeyPairFromSeed(out byte[] publicKey, out byte[] expandedPrivateKey, buf);

After installing the dotnet-stellar-sdk, and trying to compile I get an error (on the reference to Chaos.NaCl.Ed25519):

Error CS0433 The type 'Ed25519' exists in both 'Chaos.NaCl, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null' and 'stellar-dotnetstandard-sdk, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' Stellar D:\Projects\Stellar\Encryption.cs

What can I do to resolve this issue? P.S: This might not be a stellar-dotnetstandard-sdk bug, but I’m not a .NET expert and the face the both packages use a different namespace makes me wonder what could cause this.

Please advice.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14

github_iconTop GitHub Comments

1reaction
Kirbyrawrcommented, Sep 20, 2018

Sure we will work on it, i’m glad you got it working, thank you and apologies for the late time response since i’m working ^^"

El jue., 20 sept. 2018 9:36, bazooka70 notifications@github.com escribió:

@Kirbyrawr https://github.com/Kirbyrawr , Yes compiling the DLL from this code makes the CS0433 error is gone! Thanks a million! Is it possible to upload the latest version to NuGet please?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/elucidsoft/dotnet-stellar-sdk/issues/107#issuecomment-423073944, or mute the thread https://github.com/notifications/unsubscribe-auth/ADG9crT5rX7gAnDb1jJ10pCNagIQJsiuks5uc0WXgaJpZM4WxcIo .

1reaction
Kirbyrawrcommented, Sep 20, 2018

Can you try to compile the DLL from this code and use that instead of the Nuget, i believe the Nuget have an old version with the old names.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chaos.NaCl cryptography library
Ed25519 is a public key crypto system with a 128 bit security level. It is based on the 255 bit elliptic curve Curve25519...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found