<p>you can try the following steps: <br></p>

<p><li> bitcoind -daemon # Start bitcoin core
<li> bitcoin-cli setgenerate true 1 # You've started a new miner!!
<li> tail -f ~/.bitcoin/debug.log # Track your log</p>

<p>After a while (it depends on the difficulty of your altcoin), a new block will be generated by your miner. </p>

<p><br></p>

<p>Check it by typing "bitcoin-cli getblockcount". Every time a new block is genereated, the value increases by one.</p>

CC BY-SA 3.0
2017-12-19T17:51:36.110Z
hi @moshaholo i'm trying to execute this command "bitcoin-cli setgenerate true 1" but i was removed in the new versions, do you know how can i get first block with recently litecoin source?. thanks
schwertfisch
CC BY-SA 3.0
2015-03-20T02:36:08.340Z
2015-03-20T02:36:08.340Z
moshaholo
<p>If you're using some form of Proof-of-Work, i believe you have to generate enough transactions that can fill a block. Of course that 1st block will refer to the genesys block. Then other transactions will fill a 2nd block, that will refer to the 1st. And so on. </p>

<p>And voilá, you have the blockchain. </p>

<p>Good luck with your altcoin.</p>

CC BY-SA 3.0
2015-02-17T21:10:19.763Z
2015-02-17T21:10:19.763Z
hgfernan
<p>I am creating a new alt coin and I want to know how to generate a Blockchain for that coin. I have already created the genesis block for my new alt coin.</p>

CC BY-SA 3.0
2015-02-16T15:53:01.183Z
What's the block generation mechanism? Proof-of-work? Proof-of-stake? Something else? Please post the parameters for your altcoin, otherwise, it's impossible to answer your question.
Jimmy Song
CC BY-SA 3.0
2015-02-17T06:50:40.870Z
Iam suing Scrypt-Adaptive-Nfactor
Deepak Chauhan
CC BY-SA 3.0
2015-02-17T15:18:10.300Z
Are you mining yet? What error messages do you get when you try?
Jimmy Song
<altcoin-development>
How to create a Blockchain for new alt coin after genesis block has been created?
Deepak Chauhan
# How to create a Blockchain for new alt coin after genesis block has been created?

(Asked by: username_0 on 2015-02-16)

I am creating a new alt coin and I want to know how to generate a Blockchain for that coin. I have already created the genesis block for my new alt coin.

**Tags:** altcoin-development

> **Comments:**
> **username_1**: What's the block generation mechanism? Proof-of-work? Proof-of-stake? Something else? Please post the parameters for your altcoin, otherwise, it's impossible to answer your question.  
> **username_0**: Iam suing Scrypt-Adaptive-Nfactor  
> **username_1**: Are you mining yet? What error messages do you get when you try?  

---

## 2 answers

### Answer by username_2 on 2015-03-20. Score: 1

you can try the following steps:

- bitcoind -daemon # Start bitcoin core
- bitcoin-cli setgenerate true 1 # You've started a new miner!!
- tail -f ~/.bitcoin/debug.log # Track your log

  After a while (it depends on the difficulty of your altcoin), a new block will be generated by your miner.

  Check it by typing "bitcoin-cli getblockcount". Every time a new block is genereated, the value increases by one.

> **Comments:**
> **username_3**: hi @username_2 i'm trying to execute this command "bitcoin-cli setgenerate true 1" but i was removed in the new versions, do you know how can i get first block with recently litecoin source?. thanks  

---

### Answer by username_4 on 2015-02-17. Score: -2

If you're using some form of Proof-of-Work, i believe you have to generate enough transactions that can fill a block. Of course that 1st block will refer to the genesys block. Then other transactions will fill a 2nd block, that will refer to the 1st. And so on.

And voilá, you have the blockchain.

Good luck with your altcoin.


---

