neo-go-sdk
neo-go-sdk copied to clipboard
Generate new PrivateKey
Problem
As a User I want to be able to generate a new Private key, since the Struct (PrivateKey
) doesn't allow me to generate a private key outside this lib.
Based on that private key Iwant also to be able to create the WIF to use the other functionality of this Codebase.
Solution
Added 2 functions for private key to generate the necessary keys.
@revett client_test are failing not knowing why, since i didn't touched them.
@Stefflan00 Thanks for the PR! The client.go
tests fail randomly due to using live nodes.
We're moving to a faked RPC node within a Docker container soon. Best to re-run if possible.
@Stefflan00 Can you update the CHANGELOG
as well please 👍
@revett thanks for taking the time for the review. I did the changes as requested. I still have the tests failing and I'm not able to rerun the test in circle ci since i have no permissions to do so. Can you please either enable me to do so or rerun the test yourself. Thanks again. Looking forward to contribute more to this repo.
@Stefflan00 Thanks for doing the changes. I'm working on a PR to fix the tests now. I'll merge that first and then you can rebase the changes into this PR 👍
@Stefflan00 Sorry about the delay. https://github.com/CityOfZion/neo-go-sdk/pull/26 has now been merged so if you pull the changes into your branch, then your tests will pass.
Then we can release 🎉
@revett i think its ready to merge