Bitcoin Forum
May 10, 2024, 08:22:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4]  All
  Print  
Author Topic: How to make an altcoin.  (Read 11841 times)
Considered
Full Member
***
Offline Offline

Activity: 504
Merit: 100


Powered by Artificial Intelligence & Human Experts


View Profile
December 08, 2018, 08:08:01 PM
 #61

It is really easy to make an altcoin right now, the best and fastest way to make one would be to make one of the tokens that are being created on the ethereum network, it does not take a long time to create and also does not take a lot of money to create them. Just google it, there are a lot of tutorials out there to do them

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715329348
Hero Member
*
Offline Offline

Posts: 1715329348

View Profile Personal Message (Offline)

Ignore
1715329348
Reply with quote  #2

1715329348
Report to moderator
1715329348
Hero Member
*
Offline Offline

Posts: 1715329348

View Profile Personal Message (Offline)

Ignore
1715329348
Reply with quote  #2

1715329348
Report to moderator
1715329348
Hero Member
*
Offline Offline

Posts: 1715329348

View Profile Personal Message (Offline)

Ignore
1715329348
Reply with quote  #2

1715329348
Report to moderator
LighningCashDev
Member
**
Offline Offline

Activity: 291
Merit: 13

AKA merlin.


View Profile WWW
October 22, 2019, 08:58:52 PM
 #62

I didn't give away the last bit of how to get the premine done.  I gave the information to get about 90% of the way there.  I told you how to figure out what the key you needed to import that transaction would be.  But I guess what the hell.  We'll go to 99%.  

There's a database of uncommitted transactions.  Processing a block, the software takes transactions from this database to add txOuts to your wallet - whenever it finds one of the uncommitted transactions in the block.  

Normally this is fine. When it's forming a block itself, it adds the coinbase tx to the database before it processes the block.  When it's checking existing blocks, it adds the transactions it sees in the block to the database when it receives the block.

Your problem is that the genesis block is causa sui. The software isn't forming the genesis block itself, and it didn't receive it.  So the initial coinbase transaction doesn't get into the database of pending transactions in either of the two "usual" ways.

Your software sees a valid block, where every transaction checks as a valid transaction, etc.  It decides to accept the block. So when it accepts the block as part of the block chain, it takes everything in its database that matches any of those transactions (ie, nothing in the case of the Genesis block) and checks all of that stuff to see if there's a txOut in it that can be added to your wallet.  If it finds the txOut, it adds it to your wallet.  It didn't add the genesis coinbase.  No problem, I told you how to import it yourself after the fact.

So you imported the key, and it imports just fine, because it looks back through the blocks, and sure enough, there exists such a coinbase transaction.  But then you try to actually spend it, and when it's checking the transaction it repeats the whole "did this txOut successfully get imported from the database?" check, and observes that no, that's an empty damn database when the genesis block is processed and no such amount exists.

This was supposed to be sort of an "exam question" - somebody who is capable of making and maintaining an altcoin is expected to be able to figure it out.

That would involve going to see where txOuts get added to the wallet, tracing back to see why the genesis coinbase wasn't making it, figuring out that the txOuts get added to the wallet when they are looked up in the database, discovering that the coinbase txOut isn't in the database when the block gets processed,  looking to see when and how transactions get into the database, realizing that neither of those things were happening in the case of your genesis block, and then correcting the problem.  A moderately involved case of debugging a code problem.


The modifications I tried does not work.

Giving away the 1 % of the answer that remains would be great !
Algonizexyz-Group
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
December 22, 2019, 07:11:40 PM
 #63



AlgoniZEXYZ - Live BTC BTCUSD Trading Signals | ICO Coming Soon
https://www.youtube.com/watch?v=yGuRO9zJLdI

In Partnership With Trading View, Quantconnect and much more partnerships to be completed.
Programming Languages used, Python (Machine Learning + AI), AFL, MQL4 etc.

Worldwide Developers are Invited



DarkArrow
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
May 24, 2021, 03:38:46 AM
 #64

Cryddit, can you please update MIDAS to make it work with the latest Litecoin code? Thanks.
Jeff_002
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 31, 2021, 05:12:14 PM
 #65

Any simpler coin to fork? I heard Bitcoin used to have like 3000 lines of code, while now it has 100k+
A simpler coin with less code should be easier to fork and work on top of.
weAdvantage
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 29, 2021, 08:21:02 PM
 #66

Hello,

When forking a coin, is there any specific hardware required?
definevalue
Copper Member
Jr. Member
*
Offline Offline

Activity: 131
Merit: 3


View Profile
October 03, 2022, 03:11:34 AM
 #67

Awesome! So glad to of found this all the good stuff on this forums is buried...
Pages: « 1 2 3 [4]  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!