Bitcoin Forum
June 24, 2018, 04:01:30 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 »  All
  Print  
Author Topic: How do you create an altcoin?  (Read 21559 times)
wmikrut
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile WWW
April 14, 2013, 05:05:19 PM
 #161

wth... what is a genesis bock???
I meant block  Cool

I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
1529812890
Hero Member
*
Offline Offline

Posts: 1529812890

View Profile Personal Message (Offline)

Ignore
1529812890
Reply with quote  #2

1529812890
Report to moderator
1529812890
Hero Member
*
Offline Offline

Posts: 1529812890

View Profile Personal Message (Offline)

Ignore
1529812890
Reply with quote  #2

1529812890
Report to moderator
Automated Bitcoin Fork Extraction Tool WE DO TOUGH WALLETS: BCH | BTG | BCD | SBTC | UBTC | B2X | BCX | BTF Electrum 2FA, Trezor, Ledger, SegWit, Bech32
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1529812890
Hero Member
*
Offline Offline

Posts: 1529812890

View Profile Personal Message (Offline)

Ignore
1529812890
Reply with quote  #2

1529812890
Report to moderator
Geddi
Member
**
Offline Offline

Activity: 98
Merit: 10

It's the muffins that must be stopped.


View Profile
April 14, 2013, 05:45:13 PM
 #162

wth... what is a genesis bock???

root beerCheesy
pixel
Member
**
Offline Offline

Activity: 98
Merit: 10


x1 7970 | Aprox. 587 kh/s


View Profile
April 14, 2013, 05:56:46 PM
 #163

wth... what is a genesis bock???
I meant block  Cool
So you are mining it now?

Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
wmikrut
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile WWW
April 14, 2013, 06:06:47 PM
 #164

Not quite there yet.  I've been following some instructions and i am having a slight complication.  When i get back to the dev machine I'll post what I've done so far.

I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
pixel
Member
**
Offline Offline

Activity: 98
Merit: 10


x1 7970 | Aprox. 587 kh/s


View Profile
April 14, 2013, 06:13:33 PM
 #165

Not quite there yet.  I've been following some instructions and i am having a slight complication.  When i get back to the dev machine I'll post what I've done so far.
But you have a working root and genesis block?

Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
wmikrut
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile WWW
April 14, 2013, 06:16:02 PM
 #166

No... I was making fun of myself for misspelling genesis block as "Genesis Bock"

I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
pixel
Member
**
Offline Offline

Activity: 98
Merit: 10


x1 7970 | Aprox. 587 kh/s


View Profile
April 14, 2013, 06:25:27 PM
 #167

No... I was making fun of myself for misspelling genesis block as "Genesis Bock"

Oh lol Cheesy

Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
wmikrut
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile WWW
April 14, 2013, 06:35:56 PM
 #168

Ok, so I cloned this archive and compiled the headless version:
https://github.com/sacarlson/MultiCoin


I then manually created the ./.bitcoin directory -- and placed this config file in there:
I copied this from the archive and made slight changes -- this is for testing purposes only:


bitcoin.conf

# this is an example config for freecoin that you would edit and run to create a new block chain to create new currencies.
# you will need to read the document create_new_genisis_block.txt for more details on the subject.
# this file is also the only other document to see some of the added control values I added to Freecoin.
rpcpassword=wmikrut
rpcuser=explorer
#paytxfee=.01
printtoconsole=1
testnet=1
#addnode=192.168.2.143
#connect=192.168.2.143
#connect=192.168.2.122
# listen port can now be set to other than 18333 for testnet proto.
port=18333

# for the values bellow testnet_config line to be used testnet_config=1 must be set
testnet_config=1

#AddressVersion is the 8 bit (char) 0 - 255 header code appended to the first 8 bits of the send address default is 0 for main 111 for testnet.
#AddressVerson=244

#check_block is a block to verify the integrity up to this block number used with check_hash if not set it's not checked
#check_block=15

#check_hash is the hash value of the check_block number used to verify integrity of block chain
#check_hash=0x0000000350d77f3989538ae423469c77263ab44b3cb3271c44e7af1f8cc2e7cd.


#to enable scripts uncomment nonstandard=1 here this overrides IsStandard() to return true
#nonstandard=1

# set MAX_MONEY block value that can be created by minners
# be very carefull not to change this after you have created a new coin or you could loss all the coins you have
# already minned in it.  be sure to backup you wallet.dat file to be safe.
max_money=420000000

#Subsidy value is what is paid when a new block is found when minning default is 50
Subsidy=50

#custom inflation active setting
custom_inflation=1

#inflation  block setting is the triger that block numbers grater than this that will change minning value
inflation_block=4

#post inflation block Subsidy value is the value given for minned blocks after crossing inflation_block
post_Subsidy=.01

#my new Pbtc pszTimestamp for 16/Apr/2011 as found on google seen on front page of New York Times paper
#pszTimestamp="The Times 16/Apr/2011 Tornadoes and vicious winds left 17 people dead across four states."
pszTimestamp="14/Apr/13 Noobs have finally gained control of new Alt-Coin Creation.".

#these values must be with value 0x to the front to make hex format
#pbtc new block.hashMerkleRoot value
block_hashMerkleRoot=0x184715d3660cbd3de94bcbb424b959bcf2dfc28ec1de429bda25b8b6be95a3fd

#pbtc new genesisblock value
genesisblock=0x000000017135cc76e65e8f292020ab2fc92e969e65c145ecf6e8510e5d7a31f5


#Pbtc new block.ntime  time epoc of creation use date +%s to use when you create new one
block_nTime=1365952543


#Pbtc new block.nNonce  start at zero when you are creating a new one
block_nNonce=0
#block_nNonce=1038592121

#pbtc irc IP address must be in XXX.XXX.XXX.XXX format number  or set -noirc on command line for no irc
#irc_ip=92.243.23.21:6667
#irc_ip=192.168.2.250:6667

#pbtc irc address used in Tor  can be a dns lookupable address pointing to your irc server
#irc_tor_address=irc.lfnet.org
#irc_tor_address=irc.surething.biz

#COINBASE_MATURITY defaults to 100 if changed here will credit minned coins in this number of new blocks.
# this feature is now disabled in this build until I figure out the changes made around it.
#coinbase_maturity=2

#to loop to generate the first block in a new chain set this to 1 ( to create your first proto coin type)
gennewblock=1




I then followed the instructions here:
https://github.com/sacarlson/MultiCoin/blob/master/create_new_genisis_block.txt

When I launched bitcoind program... here is what I see so far:

Bitcoin version 0.3.23-beta
Default data directory /root/.bitcoin
Bound to port 18333
Loading addresses...
dbenv.open strLogDir=/root/.bitcoin/testnet/database strErrorFile=/root/.bitcoin/testnet/db.log
Loaded 0 addresses
 addresses                96ms
Loading block index...
testnet mode active
hashGenesisBlock custom configured by -genesisblock in bitcoin.conf
hashGenesisBlock is now 000000017135cc76e65e8f292020ab2fc92e969e65c145ecf6e8510e5d7a31f5
creating new genesis block I hope
 pszTimestamp = >"14/Apr/13 Noobs have finally gained control of new Alt-Coin Creation."<
block.nTime custom configured by -block_nTime in bitcoin.conf
block.nNonce custom configured by -block_nNonce in bitcoin.conf
block.nTime = 1365952543
block.nBits = 487063544
block.nBits hex = 1d07fff8
block.nNonce = 0


I looks like it's trying to generate the genesis block!!


Now... I have to mention this is for a SHA256 derivative... and not scrypt.
Will this method work with a scrypt based branch?  Unknown at the moment.

Right now I am just trying to create 'any' genesis block and work outfrom there.
More soon!!

I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
wmikrut
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile WWW
April 14, 2013, 06:47:21 PM
 #169

block.nTime = 1365952543
block.nNonce = 595298775
block.GetHash = 000000048842e8ee439543cd614a60189d81bc75ec7add37fd7cfa9e41054ccd
hashGenesisBlock = 000000017135cc76e65e8f292020ab2fc92e969e65c145ecf6e8510e5d7a31f5
block.hashMerkleRoot = 666c22e24d9395358ed9042332278eb35554ec53c0c1ca37cb1eb81799894ba2
bitcoind: main.cpp:1734: bool LoadBlockIndex(bool): Assertion `block.hashMerkleRoot == uint256(mapArgs["-block_hashMerkleRoot"].c_str())' failed.
Aborted (core dumped)


 Grin Grin Grin Grin Grin Grin Grin

I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
pixel
Member
**
Offline Offline

Activity: 98
Merit: 10


x1 7970 | Aprox. 587 kh/s


View Profile
April 14, 2013, 06:53:57 PM
 #170



Some programming comedy just for fun Cheesy

Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
pixel
Member
**
Offline Offline

Activity: 98
Merit: 10


x1 7970 | Aprox. 587 kh/s


View Profile
April 14, 2013, 07:00:44 PM
 #171

block.nTime = 1365952543
block.nNonce = 595298775
block.GetHash = 000000048842e8ee439543cd614a60189d81bc75ec7add37fd7cfa9e41054ccd
hashGenesisBlock = 000000017135cc76e65e8f292020ab2fc92e969e65c145ecf6e8510e5d7a31f5
block.hashMerkleRoot = 666c22e24d9395358ed9042332278eb35554ec53c0c1ca37cb1eb81799894ba2
bitcoind: main.cpp:1734: bool LoadBlockIndex(bool): Assertion `block.hashMerkleRoot == uint256(mapArgs["-block_hashMerkleRoot"].c_str())' failed.
Aborted (core dumped)


 Grin Grin Grin Grin Grin Grin Grin

Try with "-debug"?

I guess the bbqcoin founder had the same problem
https://bitcointalk.org/index.php?topic=91362.0

Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
pixel
Member
**
Offline Offline

Activity: 98
Merit: 10


x1 7970 | Aprox. 587 kh/s


View Profile
April 14, 2013, 07:29:37 PM
 #172

Here is a github discoverie from irc that may or may not help

Testing bitcoin with a new genesis block:
https://github.com/bitcoin/bitcoin/commit/98ba262a48b66cae8478525e809898512e997948



Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
wmikrut
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile WWW
April 14, 2013, 09:53:20 PM
 #173

This is exactly what is supposed to happen.
Continuing with the documentation and 'starting' of a test coin!

I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
Bytas
Sr. Member
****
Offline Offline

Activity: 323
Merit: 250



View Profile
April 14, 2013, 10:12:03 PM
 #174

this is cool Smiley keep going!
wmikrut
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile WWW
April 14, 2013, 11:49:18 PM
 #175

block.nTime = 1365952543
block.nNonce = 595298775
block.GetHash = 000000048842e8ee439543cd614a60189d81bc75ec7add37fd7cfa9e41054ccd
hashGenesisBlock = 000000017135cc76e65e8f292020ab2fc92e969e65c145ecf6e8510e5d7a31f5
block.hashMerkleRoot = 666c22e24d9395358ed9042332278eb35554ec53c0c1ca37cb1eb81799894ba2
bitcoind: main.cpp:1734: bool LoadBlockIndex(bool): Assertion `block.hashMerkleRoot == uint256(mapArgs["-block_hashMerkleRoot"].c_str())' failed.
Aborted (core dumped)


 Grin Grin Grin Grin Grin Grin Grin

Based on this post... I am supposed to add the following lines to the bitcoin.conf file:

block_hashMerkleRoot = 0x666c22e24d9395358ed9042332278eb35554ec53c0c1ca37cb1eb81
genesisblock = 0x000000017135cc76e65e8f292020ab2fc92e969e65c145ecf6e8510e5d7a31f
block_nTime = 1365952543
block_nNonce = 595298775


As you can see I just added 0x to the front of each number to signify this is a hex number.
Per the instructions, re-launch the compiled binary with these lines -- and wait.

Right now -- I am waiting.
I am curious to see what will happen once the process completes a second time.


I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
Walter Rothbard
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


Bytecoin: 8VofSsbQvTd8YwAcxiCcxrqZ9MnGPjaAQm


View Profile WWW
April 15, 2013, 12:14:18 AM
 #176

Have you guys taken a look at this proposal:

https://bitcointalk.org/index.php?topic=176556.0

The proposal is for Litecoin, but since you guys have a new blockchain(s) in the works, someone might want to try their hand at implementing this as a new coin.

Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1708
Merit: 1001

Reverse engineer from time to time


View Profile
April 15, 2013, 12:28:11 AM
 #177

Have you guys taken a look at this proposal:

https://bitcointalk.org/index.php?topic=176556.0

The proposal is for Litecoin, but since you guys have a new blockchain(s) in the works, someone might want to try their hand at implementing this as a new coin.
As we are newbies, you can't possible expect us to do something like that now, do you?

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
wmikrut
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile WWW
April 15, 2013, 12:31:20 AM
 #178

Have you guys taken a look at this proposal:

https://bitcointalk.org/index.php?topic=176556.0

The proposal is for Litecoin, but since you guys have a new blockchain(s) in the works, someone might want to try their hand at implementing this as a new coin.

Interesting ideas.
Something to look at once we get comfortable with how this process works and the codes bases (bitcoin and litecoin)!

I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
alex_fun
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
April 15, 2013, 12:32:19 AM
 #179

I am playing with litecoin fork Smiley I have simple replaced some digits in hashGenesisBlock compiled and run, however when I start daemon it says main.cpp:2061: bool LoadBlockIndex(bool): Assertion `block.GetHash() == hashGenesisBlock' failed.

I think idea to beef up scrypt to make it cpu coin is fun Smiley

Walter Rothbard
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


Bytecoin: 8VofSsbQvTd8YwAcxiCcxrqZ9MnGPjaAQm


View Profile WWW
April 15, 2013, 12:33:38 AM
 #180

Have you guys taken a look at this proposal:

https://bitcointalk.org/index.php?topic=176556.0

The proposal is for Litecoin, but since you guys have a new blockchain(s) in the works, someone might want to try their hand at implementing this as a new coin.
As we are newbies, you can't possible expect us to do something like that now, do you?

I think if you guys can mint a genesis block, you can probably figure that proposal out as well!

Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!