forknote / cryptonote-generator

Generate Cryptonote coin with 1 command
104 stars 211 forks source link

Premined coins #49

Closed StyleShit closed 6 years ago

StyleShit commented 6 years ago

How do I get the premined coins? I created a config JSON using this tool: http://forknote.net/create/ and when I put a wallet address, it doens't even appear in the config response... Where do I get the wallet address anyway?

zhmrab commented 6 years ago

Open simplewallet and generate a new address then start the deamon with --genesis-block-reward-address youradress

StyleShit commented 6 years ago

@zhmrab The daemon returns error: "Failed to connect to any of seed peers, continuing without seeds"

zhmrab commented 6 years ago

Hmm that sounds like your seed nodes are not even connected,

./yourcoind --print-genesis-tx --genesis-block-reward-address youradress then copy the hex to your config and generate another time,

also remember to delete the blockchain DB folder rm -rf ~/.yourcoin/ so there are no conflicts

StyleShit commented 6 years ago

@zhmrab Why there is no a step-by-step explanation of how to use this generator? Can u explain the steps needed for the process? What I did so far is compiling the coin using the generator. What's next? how to I create the nodes and how do I compile a GUI wallet for linux / windows?

Thank you very much! :)

EDIT: When I run mycoin --print-genesis-tx I get this error:

undefined symbol: _ZN5boost15program_options11to_internalERKSs
zhmrab commented 6 years ago

@StyleShit this message is because you are missing boost dependencies, it's all explained in the README.md

:)

StyleShit commented 6 years ago

@zhmrab I already installed the dependencies using the .sh file, but it installed libboost1.58, while the daemon asked for 1.54, so I created symlinks from 1.58 folders to 1.54. Can you please help me solving that?

StyleShit commented 6 years ago

@zhmrab when I use ./mycoind --genesis-block-reward-address myaddress it doesn't work, and shows me the help message with available parameters.

zhmrab commented 6 years ago

You need to use it like this ./yourcoind —config-file configs/yourcoin.conf —print-genesis-tx —genesis-block-reward-address yourwallet

And then copy the hex into your config file

On 15 Jan 2018, at 02:44, StyleShit notifications@github.com wrote:

@zhmrab when I use ./mycoind --genesis-block-reward-address it doesn't work, and shows me the help message with available parameters.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

StyleShit commented 6 years ago

@zhmrab I dont't have a conf file. Where should it be?

zhmrab commented 6 years ago

forknote.net go to create and make one

On 15 Jan 2018, at 04:15, StyleShit notifications@github.com wrote:

@zhmrab I dont't have a conf file. Where should it be?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

nskuijpers commented 6 years ago

I have similar situation if I run —print-genesis-tx --genesis-block-reward-address youradress after creating a wallet and recompile the daemon and then start again de blockchain and try to open the wallet I get the message wrong genesis.

michaellu88 commented 6 years ago

hi guys, i follow this procedure, is that correct?

  1. running 2 vps with configuration file(1)
  2. running personalMac configuration file(1)
  3. ./simplewallet create new address on configuration file(1) with (address A generated)
  4. print-genesis-tx with configuration(1) with genesis-block-reward address (address A) and new tx_hex (hex A) created
  5. create a new configuration file (2) with the setting from configuration file (1) and replace tx_hex value (hex A) and (reward address A)
  6. delete configuration file(1) on 2 vps and personalMac and replace configuration file (2)
  7. delete /.fakecoin/db folder on 2 vps and personalMac
  8. start ./forknote --config configuration file(2) on 2 vps and personalMac. create new db and running. sync ok
  9. check wallet connected (address A). status ok
  10. start_mining with ./miner

when i start mining, the error said couldn't get block template: the stream is eneded

which procedure i doing wrong?

pmitchev commented 6 years ago

Complete procedure here:

http://forknote.net/guides/setup-private-blockchain/

If you find inaccuracies, the site is open source and you can submit fixes