From 4988d7a0f256f60bb0f74e55ad7f481bad29b8c5 Mon Sep 17 00:00:00 2001
From: Nikko <40539492+Nikkoid@users.noreply.github.com>
Date: Sun, 9 Dec 2018 00:33:03 +0700
Subject: [PATCH] Update README.md
---
README.md | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 7f20532..760e02e 100644
--- a/README.md
+++ b/README.md
@@ -3,14 +3,15 @@ This is just a function that will generate the first transaction of a blockcahin
Found in the source of the Pura coin extracted it so that it would be easy to insert it in any altcoin based on Bitcoin.
It is working regardless of the hashing algorithm you are using.
-```How to use it?
+
How to use it?
1- Copy the function at the top of you chainparams.cpp code.
2- copy the call to the function after the call to CreateGenesisBlock, it should look like this
-[code]
+
+```
genesis = CreateGenesisBlock(youttime, youtnonce, 0x1d00ffff, 1, 50 * COIN);
MineGenesis(genesis, const uint256, consensus.powLimit, true)
-[/code]
+```
Compile and run ./src/qt/yourcoin-qt
@@ -20,6 +21,6 @@ Don't forget to comment the call to ManeGenesis once you have modified your chai
The steps to create a basic altcoin with genesis is explained here: https://bitcointalk.org/index.php?topic=3345808.0
-```License
+License
Distributed under the MIT software license. This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. This product includes cryptographic software written by Eric Young (eay@cryptsoft.com), and UPnP software written by Thomas Bernard.