BitShares Forum

Main => Technical Support => Topic started by: ramito on January 10, 2018, 06:12:32 am

Title: How to generate new private key?
Post by: ramito on January 10, 2018, 06:12:32 am
Quote
2) Generate a new private key
Several tools exist to do so:

- one is located near the bitshares executable (if you compiled yourself) in
  "programs/utils/" and is called bts_create_key

- In the bitshares-pytools repository (github.com/xeroc/) there is a tool called
  genbtskey.py (in tools) that generates a new privkeypubkey

- you can also use bitshares-js as shown at https://github.com/xeroc/jshares/blob/master/generateRandomKeysAddresses.html
 

1) "programs/utils/bts_create_key -- doesn't exist.
 
moreover, the "cmake ." run in a any sub directory of "programs/utils"  throws an exception

Code: [Select]
CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.10)


2) genbtskey.py at github.com/xeroc/ -- doesn't exist

3) the link is dead

how to generate  new private key?
Title: Re: How to generate new private key?
Post by: xeroc on January 10, 2018, 09:16:37 am
use uptick (python3)

$ pip3 install uptick
$ uptick randowif
+-----------------------------------------------------+-------------------------------------------------------+
|                         wif                         |                         pubkey                        |
+-----------------------------------------------------+-------------------------------------------------------+
| 5KDqbU7ejd4GNPGXLESK8f5xdqidiZLEzimA5NNg9JaLfHnTuQS | BTS74HZ79sxm2JpQcuCKtM59cWGVVyFqTeX4dc4PgE2FboV3ZdgFn |
+-----------------------------------------------------+-------------------------------------------------------+