Bitcoin Forum
May 07, 2024, 03:10:46 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 »  All
  Print  
Author Topic: *** Complete Guide on How to Create a New Alt Coin – Update 2018 ***  (Read 20867 times)
victorkimba17
Jr. Member
*
Offline Offline

Activity: 113
Merit: 5


View Profile
June 25, 2018, 06:21:33 AM
 #41


Oh, sorry I forgot to mention, in order to mine, the node has to connect to at least one peer node. So you need to run another instance of bitcoind and let it connect to the first node, like:


what is the reason the node has to connect to at least one peer node, in order for miner to run?
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715094646
Hero Member
*
Offline Offline

Posts: 1715094646

View Profile Personal Message (Offline)

Ignore
1715094646
Reply with quote  #2

1715094646
Report to moderator
1715094646
Hero Member
*
Offline Offline

Posts: 1715094646

View Profile Personal Message (Offline)

Ignore
1715094646
Reply with quote  #2

1715094646
Report to moderator
hushan (OP)
Member
**
Offline Offline

Activity: 61
Merit: 15


View Profile
June 29, 2018, 01:24:30 PM
 #42


Oh, sorry I forgot to mention, in order to mine, the node has to connect to at least one peer node. So you need to run another instance of bitcoind and let it connect to the first node, like:


what is the reason the node has to connect to at least one peer node, in order for miner to run?

Mined blocks needs to be broadcast and confirmed by the network, with only one node your blocks cannot be confirmed. Also this check is hard wired in bitcoin's source code, so it's a must-met condition.

BTC: 38ykUxZeSv5aqav1keCc4KUxXLPPGkfrm5 LTC: MPpWNvqDCVB1PHJt4A28j9oFfc6Y1KKDno ETH: 0x07C8c68d5253247038947EF9495b054160c8737c
hushan (OP)
Member
**
Offline Offline

Activity: 61
Merit: 15


View Profile
June 29, 2018, 01:25:55 PM
 #43

Hi to all,

I'm so confused about that, is the mentioned stages in this post correct to do right now for creating a new Alt Coin?

Thanks

Yes, it is in a sense, but unless you want something POW coins similar to bitcoin, today most coins are created as ERC20 on Ethereum network.

BTC: 38ykUxZeSv5aqav1keCc4KUxXLPPGkfrm5 LTC: MPpWNvqDCVB1PHJt4A28j9oFfc6Y1KKDno ETH: 0x07C8c68d5253247038947EF9495b054160c8737c
hushan (OP)
Member
**
Offline Offline

Activity: 61
Merit: 15


View Profile
July 10, 2018, 08:12:27 AM
 #44

Hi to all,

I'm so confused about that, is the mentioned stages in this post correct to do right now for creating a new Alt Coin?

Thanks

Yes, it is in a sense, but unless you want something POW coins similar to bitcoin, today most coins are created as ERC20 on Ethereum network.


How Can I do that?

Just follow the guide Smiley
What specifically do you want to do?

BTC: 38ykUxZeSv5aqav1keCc4KUxXLPPGkfrm5 LTC: MPpWNvqDCVB1PHJt4A28j9oFfc6Y1KKDno ETH: 0x07C8c68d5253247038947EF9495b054160c8737c
bitkron
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
July 25, 2018, 03:11:05 AM
 #45

Hi... Im having a problem connecting the nodes.

Altcoin-cli getblocktemplate returns

error code: -28
error message:
Loading wallet...

Any Idea which parts of the code should I look in to?
wann100
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
July 31, 2018, 09:40:57 AM
 #46

Hey Guys! I am new to this blog but not new to building coins! If you need any help please Contact me!

I can create coins for 0.12 BTC  but I can also fix your code for you if that is all you need. All I ask is for a donation for whatever you can afford.
BTC ADDRESS:126Xka9v7Ge5bzn5SM2fTSN4emoNL6Xq2p
victorkimba17
Jr. Member
*
Offline Offline

Activity: 113
Merit: 5


View Profile
August 01, 2018, 07:18:24 AM
Last edit: August 01, 2018, 07:30:28 AM by victorkimba17
 #47

Quote
./minerd --user rpcuser --pass 111111 --url http://127.0.0.1:6332/ --threads 4 --coinbase-addr XQg3PmNxX9oEbxsymqtQHir6dkPpVPTJ6P --coinbase-sig "my test coins" -a sha256d -D

How to know The coinbase-addr ? i think it is any bitcoin address.
victorkimba17
Jr. Member
*
Offline Offline

Activity: 113
Merit: 5


View Profile
August 01, 2018, 07:32:14 AM
 #48

Hi... Im having a problem connecting the nodes.

Altcoin-cli getblocktemplate returns

error code: -28
error message:
Loading wallet...

Any Idea which parts of the code should I look in to?

do u change the bitcoin core to become an altcoin ? how many altcoin nodes are u running ?
gjhiggins
Legendary
*
Offline Offline

Activity: 2254
Merit: 1278



View Profile WWW
August 02, 2018, 09:48:18 AM
 #49

10. Remove dns seeds
In chainparams.cpp, remove lines start with “vSeeds.emplace_back”

Also, remove the hard-coded Bitcoin-specific seeds from chainparamseeds.cpp. Otherwise the client will continue to attempt to connect with the Bitcoin network.

Cheers

Graham
nur1labs
Sr. Member
****
Offline Offline

Activity: 868
Merit: 250


Founder Nur1Labs


View Profile WWW
August 03, 2018, 05:56:28 AM
Last edit: August 03, 2018, 06:36:09 AM by nur1labs
 #50

10. Remove dns seeds
In chainparams.cpp, remove lines start with “vSeeds.emplace_back”

Also, remove the hard-coded Bitcoin-specific seeds from chainparamseeds.cpp. Otherwise the client will continue to attempt to connect with the Bitcoin network.

Cheers

Graham


need remove all or just port change?for this emercoin not work. they have 2 system hash and transaction id[peercoin fork]

Code:
chainparams.cpp:207: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0x000000002fe872d82f457a6016df5eeb432735a3291ae3b34d04dea89caa286a")' failed.
Aborted

do i need remove checkpoint?

Code:
return CreateGenesisBlock(pszTimestamp, genesisOutputScript, nTimeTx, nTimeBlock, nNonce, nBits, nVersion, genesisReward);
genesis = CreateGenesisBlock(1533211413, 0, 3823366493, 0x1d00ffff, 1, 0);

 checkpointData = (CCheckpointData) {
             boost::assign::map_list_of
            ( 0,     uint256S("0x00000000bcccd459d036a588d1008fce8da3754b205736f32ddfd35350e84c2d"))
         };

==MuBdI BlockStream Platform - Future Blockchain Platform==
==Open Hire Developer Using Our Services==
gjhiggins
Legendary
*
Offline Offline

Activity: 2254
Merit: 1278



View Profile WWW
August 03, 2018, 09:38:02 AM
 #51

need remove all or just port change

Whatever. Althougn it's relatively harmless, the client's insistence on "phoning home" seemed to be puzzling some folks, so I thought I'd mention the source of it.

Cheers

Graham
nur1labs
Sr. Member
****
Offline Offline

Activity: 868
Merit: 250


Founder Nur1Labs


View Profile WWW
August 03, 2018, 10:00:50 AM
 #52

need remove all or just port change

Whatever. Althougn it's relatively harmless, the client's insistence on "phoning home" seemed to be puzzling some folks, so I thought I'd mention the source of it.

Cheers

Graham


ah thank i think fixed it....as i know i need do pztimes to news. why that important....or the chain is actually reading news timestamp? Huh

but that ok now thank for info sir~

==MuBdI BlockStream Platform - Future Blockchain Platform==
==Open Hire Developer Using Our Services==
gjhiggins
Legendary
*
Offline Offline

Activity: 2254
Merit: 1278



View Profile WWW
August 03, 2018, 10:52:19 AM
 #53

ah thank i think fixed it....as i know i need do pztimes to news. why that important....or the chain is actually reading news timestamp? Huh

No it's not checked, it's a social convention designed to reassure people that mining did not take place before the date (supposedly included) but it's not widely advertised as such. I still follow the rather elegant lead set by Mr Spread in Spreadcoin: use the latest Bitcoin block height and hash.

Cheers

Graham
nur1labs
Sr. Member
****
Offline Offline

Activity: 868
Merit: 250


Founder Nur1Labs


View Profile WWW
August 03, 2018, 11:03:38 AM
Last edit: August 08, 2018, 08:09:56 AM by nur1labs
 #54

ah thank i think fixed it....as i know i need do pztimes to news. why that important....or the chain is actually reading news timestamp? Huh

No it's not checked, it's a social convention designed to reassure people that mining did not take place before the date (supposedly included) but it's not widely advertised as such. I still follow the rather elegant lead set by Mr Spread in Spreadcoin: use the latest Bitcoin block height and hash.

Cheers

Graham


that mean everything on web record on timestamp sir?i ever expected when i do collage. before im developer of Artificial now. it's make sense when i look number the linux. and ask linux tovald used his g+. what is that. he said timestamp. and he know it and used it on bitcoin and similar Artificial checkpoint~

well this guide is good atm for learn what is linux and seed. and how distribute as chain~

Notes : guide is unworking for hash. need figure it out.

==MuBdI BlockStream Platform - Future Blockchain Platform==
==Open Hire Developer Using Our Services==
codyli2002hk
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
September 07, 2018, 06:10:33 AM
 #55

Hi to all,
Thank you very much for your post. It helps me a lot.
is it way to add smart contract?
chameleon123
Jr. Member
*
Offline Offline

Activity: 48
Merit: 17


View Profile
September 07, 2018, 03:15:21 PM
Last edit: September 08, 2018, 01:33:31 PM by chameleon123
 #56

Hello

I tried to do this post in order to finally change PoW threshold to create blocks faster. Unfortunately I encountered a problem, after those 13 steps  I came up to run bitcoind command and all I got was core dumped error. like this :

Code:
~$ bitcoind
bitcoind: chainparams.cpp:132: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0x0000000001e075d779592db22d19573375d05db23bdafd0a8b06c89fb2985d89")' failed.
Aborted (core dumped)

It seems it won't accept my genesis hash and with bitcoin-cli command it says "can not connect to server 127.0.0.1:6332. I can't even add the node with its command .Here is my bitcoin.conf :

rpcuser=admin
rpcpassword=admin
server=1
rpcallowip=127.0.0.1
rpcport=6332
listen=1
gen = 1

I tried so hard but couldn't find out what i'm missing. I followed all the steps precisely.  I will be beyond grateful if some body take some time and answer my question.
nur1labs
Sr. Member
****
Offline Offline

Activity: 868
Merit: 250


Founder Nur1Labs


View Profile WWW
September 08, 2018, 01:02:41 AM
 #57

Hello

I tried to do this post in order to finally change PoW threshold to create blocks faster. Unfortunately I encountered a problem, after those 13 steps  I came up to run bitcoind command and all I got was core dumped error. like this :

Code:
~$ bitcoind
bitcoind: chainparams.cpp:132: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0000000001e075d779592db22d19573375d05db23bdafd0a8b06c89fb2985d89")' failed.
Aborted (core dumped)

It seems it won't accept my genesis hash and with bitcoin-cli command it says "can not connect to server 127.0.0.1:6332. I can't even add the node with its command .Here is my bitcoin.conf :

rpcuser=admin
rpcpassword=admin
server=1
rpcallowip=127.0.0.1
rpcport=6332
listen=1
gen = 1

I tried so hard but couldn't find out what i'm missing. I followed all the steps precisely.  I will be beyond grateful if some body take some time and answer my question.


bitcoin is easy way after used this guide you need understand used some c++ skill to do.

==MuBdI BlockStream Platform - Future Blockchain Platform==
==Open Hire Developer Using Our Services==
chameleon123
Jr. Member
*
Offline Offline

Activity: 48
Merit: 17


View Profile
September 08, 2018, 01:32:48 PM
 #58

Hello

I tried to do this post in order to finally change PoW threshold to create blocks faster. Unfortunately I encountered a problem, after those 13 steps  I came up to run bitcoind command and all I got was core dumped error. like this :

Code:
~$ bitcoind
bitcoind: chainparams.cpp:132: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0000000001e075d779592db22d19573375d05db23bdafd0a8b06c89fb2985d89")' failed.
Aborted (core dumped)

It seems it won't accept my genesis hash and with bitcoin-cli command it says "can not connect to server 127.0.0.1:6332. I can't even add the node with its command .Here is my bitcoin.conf :

rpcuser=admin
rpcpassword=admin
server=1
rpcallowip=127.0.0.1
rpcport=6332
listen=1
gen = 1

I tried so hard but couldn't find out what i'm missing. I followed all the steps precisely.  I will be beyond grateful if some body take some time and answer my question.


bitcoin is easy way after used this guide you need understand used some c++ skill to do.

I have some knowledge of c++ but right now I can not even test my fork. I don't know why I get this error. I didn't change address prefixes. It won't be a problem,will it ?
nur1labs
Sr. Member
****
Offline Offline

Activity: 868
Merit: 250


Founder Nur1Labs


View Profile WWW
September 09, 2018, 02:34:59 AM
 #59

Hello

I tried to do this post in order to finally change PoW threshold to create blocks faster. Unfortunately I encountered a problem, after those 13 steps  I came up to run bitcoind command and all I got was core dumped error. like this :

Code:
~$ bitcoind
bitcoind: chainparams.cpp:132: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0000000001e075d779592db22d19573375d05db23bdafd0a8b06c89fb2985d89")' failed.
Aborted (core dumped)

It seems it won't accept my genesis hash and with bitcoin-cli command it says "can not connect to server 127.0.0.1:6332. I can't even add the node with its command .Here is my bitcoin.conf :

rpcuser=admin
rpcpassword=admin
server=1
rpcallowip=127.0.0.1
rpcport=6332
listen=1
gen = 1

I tried so hard but couldn't find out what i'm missing. I followed all the steps precisely.  I will be beyond grateful if some body take some time and answer my question.


bitcoin is easy way after used this guide you need understand used some c++ skill to do.

I have some knowledge of c++ but right now I can not even test my fork. I don't know why I get this error. I didn't change address prefixes. It won't be a problem,will it ?

you need change consensus of bitcoin follow up old guide. you can see on my profile i visit old guide. then mix with this one. + you need change pcmessage that important thing on unique. and put pztime to make sense of change before doing alive. you need prepare of this. old guide + this one made complete part of puzzle. try experiment on testnet before launch and you will meet same as this and you need some trick to make it appear your genesis. by generate timestamp another two just default or put anything~

==MuBdI BlockStream Platform - Future Blockchain Platform==
==Open Hire Developer Using Our Services==
chameleon123
Jr. Member
*
Offline Offline

Activity: 48
Merit: 17


View Profile
September 16, 2018, 10:16:59 AM
 #60

Hello

I tried to do this post in order to finally change PoW threshold to create blocks faster. Unfortunately I encountered a problem, after those 13 steps  I came up to run bitcoind command and all I got was core dumped error. like this :

Code:
~$ bitcoind
bitcoind: chainparams.cpp:132: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0000000001e075d779592db22d19573375d05db23bdafd0a8b06c89fb2985d89")' failed.
Aborted (core dumped)

It seems it won't accept my genesis hash and with bitcoin-cli command it says "can not connect to server 127.0.0.1:6332. I can't even add the node with its command .Here is my bitcoin.conf :

rpcuser=admin
rpcpassword=admin
server=1
rpcallowip=127.0.0.1
rpcport=6332
listen=1
gen = 1

I tried so hard but couldn't find out what i'm missing. I followed all the steps precisely.  I will be beyond grateful if some body take some time and answer my question.


bitcoin is easy way after used this guide you need understand used some c++ skill to do.

I have some knowledge of c++ but right now I can not even test my fork. I don't know why I get this error. I didn't change address prefixes. It won't be a problem,will it ?

you need change consensus of bitcoin follow up old guide. you can see on my profile i visit old guide. then mix with this one. + you need change pcmessage that important thing on unique. and put pztime to make sense of change before doing alive. you need prepare of this. old guide + this one made complete part of puzzle. try experiment on testnet before launch and you will meet same as this and you need some trick to make it appear your genesis. by generate timestamp another two just default or put anything~

Thank You. I solved it. It was One line that I carelessly commented because it was not in the main guide.
Pages: « 1 2 [3] 4 5 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!