Bitcoin Forum
June 17, 2024, 03:36:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Coingen.io - Beginner's Guide  (Read 17110 times)
Riffed (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
January 09, 2014, 09:30:29 AM
 #1

If the following happened to you, this guide is for you:

1. You created a new altcoin on coingen.io, ready to change the world with your own altcoin!

2. You downloaded the zipfile and installed the xxxcoin-qt wallet to Windows. While you are reasonably knowledgeable about Windows and maybe a little about Macs, all you know about Linux is that it involves penguins in some manner and there seems to be quite a lot of typing involved.

3. You ran the wallet and waited for something to happen - but it just sat there, saying "Block Source Not Available", perhaps a number of hours (or days) behind, and a computer icon with a red X on the bottom right corner. No matter how long you waited, nothing happened.

4. Searching the web, you found some mining software and downloaded it - one called CGminer looked like Microsoft DOS circa 1989, so you went with GUIMiner (scrypt if you chose "scrypt" in your coingen.io setup screen). You installed that too, but weren't sure what should go into any of the fields. When you pressed "Start" anyway, nothing happened.

5. Confused, you googled "coingen.io" and spent several hours looking for documentation, guides, walkthroughs, friggin' ANYTHING, to help you set it up.

6. After a while, you realized all the people who know how to set up altcoins REALLY don't want any more altcoins floating around. It is not a coincidence that they are not falling all over themselves to help bring new altcoins into the mix (basically, "my altcoin #94 is going to get all messed up by your altcoin #298, you charlatan!")

7. You also read a lot of posts saying what a scam coingen.io was, and began to think you wasted some BTC. You may have cried a tear or two for all the lost beer that represented.

But all is not lost! The coingen.io software really does work - so I wrote this to summarize what I was able to find out in a couple of days from various sources, but isn't actually clearly stated anywhere for an altcoin novice (like me) to easily grasp. The following information is insultingly simple for people who know what they're doing, but is pretty damn hard to find if you don't.

MAIN POINTS:
1. For a brand-new altcoin to run, there must be at least two computers running your xxxcoin client. This is the sort of thing that's a "well, DUH" fact for experienced people and a "HTF was I supposed to know that?" for newbies. These can be on separate networks, or you can manually instruct your client to look for another computer on the same network. For now, we'll assume you have two computers on the same network or workgroup (doesn't need to be a work domain, it can just be a couple of computers in your house that use the same router).

2. So go to each computer, download your altcoin zipfile from coingen.io, and install it on each computer.

3. While your kit doesn't come with a preset configuration file, you can create one with a text editor. Assuming you created "xxxcoin", this file should be located at C:\Users\(your name)\Appdata\Roaming\Xxxcoin, and should be called "xxxcoin.conf". This configuration file needs to be created manually, and includes some vital parameters if you are starting from scratch. You will want to create this on each of the two computers.

4. Here are some basic parameters you can use to get started:

server=1 (I think you need this to solo mine)
daemon=1 (not sure what this does)
listen=1 (this makes your client listen for other clients - this may be default anyway, but I tossed it in there just in case)
rpcuser=(a username you choose)
rpcpassword=(password you choose)
rpcallowip=127.0.0.1 (this is for solo mining setup)
rpcconnect=127.0.0.1 (this is for solo mining setup)
rpcport=9527 (you can set this to any port - this does not need to be the same port as you chose in coingen.io setup, which is the TCP port for your firewall)
addnode=xxx.xxx.xxx.xxx (this is very important - when starting from scratch, you will have to tell one of the two clients exactly where the other one is. When there are hundreds of clients running, this probably isn't necessary anymore. If you are running two computers on your own network, you should type in the IP address of the other computer (google how to find a computer's own IP address if you don't know how in Windows - don't use www.whatismyipaddress.com, which will return your network's outside IP address - you want your computer's internal network IP address). This "internal IP" will probably start with either 10.1 or 192.168. You can also enter the addnode line on the other comp, pointing to the first one's IP.

5. Save each file in C:\Users\(your name)\Appdata\Roaming\Xxxcoin\xxxcoin.conf. Make sure it doesn't accidentally save as "xxxcoin.conf.txt".

6. Now start the xxxcoin-qt.exe client on both computers. If the IP addresses are correct, each one should now show a little green check in the lower right, with a connectivity icon next to it showing one bar. On the right, it may still say "Block Source not available" but we will take care of this shortly.

7. Another thing that isn't very clearly disseminated is that you can mine your new coin directly within your client - you don't need a separate mining client, although it's probably much faster, and definitely faster for scrypt. To mine, go to "Help", then Debug Window, then click the Console tab. This seems daunting but is actually very useful. Type "help" to see all the available commands. The one you want right now is "setgenerate", which tells your client to start mining. Type in "setgenerate true -1" and hit Enter. After a few seconds, it should start mining coins! You will see them pop up in blocks on your main wallet screen - you can click "Transactions" to get a list of mined blocks. Note that blocks are "immature" until 120 more blocks have been created, then they are added to your balance.

8. Now go to your other computer and run "setgenerate true -1" on that computer too - it should also start mining. If you are curious about how fast you're mining, go to the console and type "getmininginfo" and look for hashespersec - 1000 equals 1kH/sec.

9. You can also type other commands in the console - type "help" to see the list again. "Getpeerinfo" should show the other computer's info. You may notice the IP address ends in ":xxxxx" - this is the port number corresponding to that IP address, which is not important when on the same network and is auto-generated.

10. Once you have mined 120 blocks, try sending some coins from one to the other. On one computer, go to "Receive" and copy the address listed there - e-mail or write down that address. Then go to the other computer and click "Send", and paste/type in the address you got from the first one. When you send them, they will be transferred from one computer to the other when the next block is mined, and then fully confirmed after 6 more blocks have been processed in total. This is a very simple example of how the whole bitcoin blockchain works - I found it pretty cool because my raw newbieness rating is so high.

11. Now if you have a scrypt-based coin, you will want to download GUIMiner-scrypt, and run that miner instead of the built-in one - it will generally be 50-100x faster. Once you have downloaded and installed it, make sure your xxxcoin-qt client/wallet is already running - then start the miner. I was not able to get the default miner scenario working, so had to go to File-New, and created a reaper miner. In host, enter 127.0.0.1. In Port, enter 9527, or whatever you chose to use in your "rpcport=" in your xxxcoin.conf file above. The username and password should also match what you put in your .conf file.

12. Next, go to "Solo Utilities" in the miner and choose "Set Bitcoin Client Path" - this should be C:\Program Files (x86)\Xxxcoin\xxxcoin-qt.exe. Make sure to click on the filename to replace the "bitcoin-qt" default, then click "Open". Next, go to Solo Utilities - Set Bitcoin Data Directory, and set to C:\Users\(your name)\Appdata\Roaming\Xxxcoin instead of Bitcoin. You don't need to start the client as a server since you already included the "Server=1" parameter in your .conf file.

13. Now choose a "GPU default" most closely matching your own GPU, and click Start. After a few seconds, it should start creating blocks, and a "xx khash/s" number should show up in the lower right. In some cases, the block problem is so easy that your GPU will just kick out stale/invalid blocks (basically tripping all over itself) and not create actual blocks. In this case, click File-Quit in GUIMiner, and create a desktop icon for guiminer.exe on your desktop. Right-click on the icon for guiminer.exe , and add " -s1.5" right after guiminer.exe in the "Target" box, so it shows the path, then "guiminer.exe -s1.5" at the end. This introduces a little pause between solving, and provides a better balance of accepted/stale (or did for me anyway).

14. Now start the miner again, and start the particular mining scenario you created - if it's correctly solving, you should see little pop-ups of new blocks created, just like when you were mining through the qt client, but hopefully a lot faster.

15. Fool around with different combinations and settings in the miner to get the best performance.

16. (Different Networks) If you don't have two computers on your network, or want to try this with a friend when they are on a different network, you will need to do a couple additional steps. I only tried this with static IPs, and I'm not sure how to set it up if all you have are dynamic IPs. You could probably make it work by going to www.whatismyipaddress.com from each computer, then entering that address into the "addnode=xxx.xxx.xxx.xxx" on the other computer's xxxcoin.conf screen. But for at least one static IP:

a. First, on at least one router's firewall settings screen, create a new port forwarding rule that forwards incoming traffic on the port you chose during your coingen.io creation to the internal IP address of the computer on that network that's running the coin client. You can find this port number again by going to "
Help-Debug Window-Command-Line Options - Show Details" then scroll down to "-port" and it will list that port number. This is the TCP port number you want to forward in your firewall. (If someone more knowledgeable than I thinks this is an extraordinarily bad idea, please speak up).

b. Next, modify the xxxcoin.conf file on the OTHER computer (not the one behind the firewall you just set) so that the "addnode=" includes both the IP address and port number for the first computer behind the firewall. So for example, if the computer behind the firewall has a router with the external static IP address of 222.222.222.222, and you just opened TCP port 9555, then the .conf file on the OTHER computer should say "addnode=222.222.222.222:9555".

c. If you configured the firewall port forwarding correctly, you should be able to start both clients and both will see each other. You don't need to modify both firewalls, and if one computer isn't behind a firewall at all, you might be able to connect without the port forwarding or adding the ":9555" port number. Try it and see, and only do the firewall stuff if you cannot connect otherwise.

I hope this guide comes in handy and assists some people in getting their coingen.io projects up and running!

CAVEATS & DISCLAIMERS:

1. I realize I'm a frigging idiot and total newbie, and that this is full of errors I'm not aware of, some of which could make your computer explode, and potentially break the Internet forever. I know just enough to be dangerous, and only wrote this guide because I couldn't find one that anyone else had written, and wanted to save others some time.

2. I would love it if someone more knowledgeable made corrections, comments, and/or criticisms. However, please use your "verbose" setting - very smart IT people tend to say things like "oh, just do the addnode and forward the port - easy/peasy" - which makes it frustrating for people like me who don't know WTF an addnode is, whether the port means the rpcport, or the port you gave in coingen.io, and is that a TCP or UDP port, and where do you forward it to, and why the %)*# they use "port" to describe everything assuming you know all the various ways ports can be used, etc. Smiley
refer_2_me
Full Member
***
Offline Offline

Activity: 213
Merit: 100



View Profile
January 09, 2014, 02:33:06 PM
 #2

Or just don't make shitcoin clones that no one cares about.

BTC: 1reFerkRnftob5YvbB112bbuwepC9XYLj
XPM: APQpPZCfEz3kejrYTfyACY1J9HrjnRf34Y
Hazard
Legendary
*
Offline Offline

Activity: 980
Merit: 1000



View Profile WWW
January 09, 2014, 02:40:55 PM
 #3

Every coin generated through this site will be dead within 72 hours after launch, as a result of poorly chosen variables that you can't change. Cheesy

carlomagno
Sr. Member
****
Offline Offline

Activity: 284
Merit: 250


View Profile
January 13, 2014, 02:33:11 PM
 #4

Thanks  for share Riffed

So helpful

matriculator
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
January 13, 2014, 02:48:35 PM
 #5

Thank you for taking your time to write this. It's well explained and easy to follow. But I believe that coin-making should be left to people who know in every step of the way what the heck they're doing.
chrissibel
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250

Got Crypto?


View Profile
January 14, 2014, 08:13:31 PM
 #6

Thanks for the helpful info.
chrissibel
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250

Got Crypto?


View Profile
January 14, 2014, 10:32:24 PM
 #7

I got everything working except when opening the wallet on a different network i cannot get them to sync. how are nodes created?
iGotSpots
Legendary
*
Offline Offline

Activity: 2548
Merit: 1054


CPU Web Mining 🕸️ on webmining.io


View Profile WWW
January 14, 2014, 10:34:39 PM
 #8

Coins that use that site and only change 2 things are not hard to spot. If this really needs to be written out, then kudos to coingen for willingly separating fools and their money

orpington
Hero Member
*****
Offline Offline

Activity: 784
Merit: 512



View Profile
January 14, 2014, 10:39:09 PM
 #9

"idiots guide to altcoins"

"altcoins for dummies"
Riffed (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
January 15, 2014, 12:50:24 AM
 #10

I got everything working except when opening the wallet on a different network i cannot get them to sync. how are nodes created?


When your wallet is opened (assuming you have set up the .conf file as explained above), it is opening as a node - there is no additional step needed to make it a node that's able to link up with other wallets.

Try opening the wallet on two computers in the same network, and using addnode to point each one to the other's internal IP address (no port number needed). If this works, then your issue is network/firewall/port related, not a problem with the wallets/nodes themselves. Firewalls and port forwarding can be tricky depending on your network configuration, but is more general IT than an altcoin config issue.
Gizmble
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
January 20, 2014, 02:32:44 PM
 #11

Thank you for this very helpful post.
dpharaoh
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 20, 2014, 03:28:44 PM
 #12

This tool may generate a lot of foolishness, but there are people who are legitimately interested in learning more and in creating something of value. We all hold values differently, which is why this industry now exists. As a learning tool, it's valuable to me personally. Keep in mind that this is not a beginner-friendly industry, and while grognards may see that as a good thing, it is also keeping a lot of talent out that could otherwise raise the value for everyone else.

The code generate can be compared against other gits to see what further innovations are done on their favorite coins.

There are a GREAT many innovations to be done that exist outside the technical barriers, so something as historically trivial to some people as 'how to compile a windows wallet' should not represent such a barrier to growth, and it does.

Thanks for this writeup. I will add a bounty of .25 BTC for someone who makes it easier to compile a windows wallet based on coingen'ed source (dependency precompilation, thorough guide, etc).

chickenliver55
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
January 23, 2014, 09:05:10 AM
 #13

is there a way to check total coins that can be mined i make my coin weeks ago when it was .005 btc to make and i forgot what i set the max coin too
Nextgen
Sr. Member
****
Offline Offline

Activity: 410
Merit: 250


View Profile
January 23, 2014, 09:12:47 AM
 #14

Coingen.io have no future,
a with coingen branding looks like a totally dumb coin
no support after creation
and if a coin don't have a dev support after launch then its waste of time
chickenliver55
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
January 23, 2014, 09:35:19 AM
 #15

Coingen.io have no future,
a with coingen branding looks like a totally dumb coin
no support after creation
and if a coin don't have a dev support after launch then its waste of time
yea i am just using it now for me and my friends to play around with. i only spend 5 dollars to make it and wanted to make one just for fun
cinnamon_carter
Legendary
*
Offline Offline

Activity: 1148
Merit: 1018


It's about time -- All merrit accepted !!!


View Profile WWW
January 23, 2014, 09:57:57 AM
 #16

I heard about this, ok I guess sooner or later someone would pull a stunt like this.

If you want to learn about cryptocurrency thats cool.

Learn to code. It may help you with other things in life.

As stated they won't last 72 hours...

If you paid them 1 Satoshi I can't think of a worse garbage can to throw your bitcoin in.








Every coin generated through this site will be dead within 72 hours after launch, as a result of poorly chosen variables that you can't change. Cheesy

Check out my coin Photon
Merge Mine 5 other Blake 256 coins - 6x your hash power  https://www.blakecoin.org/

The obvious choice is not always the best choice.

LOOK DEEPER - Look into the Blake 256 Family -- CC
sebdude420
Sr. Member
****
Offline Offline

Activity: 397
Merit: 350



View Profile WWW
January 25, 2014, 11:51:16 AM
 #17

this is exactly what i have been lookiing for. i am not great at coding but needed a starter kit for my coin. i dont mind giving some of my coin to the dev to encourage future work.

thank you.

OG Bitcoin Miner turned Proof of Stake Validator.
Maxed out Raspberry Pi 4 8GB at 120$ a Day Revenue with ~15K XTZ Bonds in Summer of 2021.
Looking at Proof of Stake systems all across the crypto ecosystem to expand operations.
fabtho
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
January 25, 2014, 03:06:34 PM
 #18

thanks for this guide. out of curiosity I downloded the swisscoin client out of the download section


http://coingen.io/status.html


and I was able to start mining with your help.

if you want to mine some swisscoin (SWC) to

addnode=188.40.81.93


elgeo
Full Member
***
Offline Offline

Activity: 200
Merit: 100


View Profile
January 28, 2014, 07:52:03 PM
 #19

is it free ?

I don't have a signature because I'm not a customary person.
FallingKnife
Legendary
*
Offline Offline

Activity: 2450
Merit: 1076


keybase.io/fallingknife/


View Profile WWW
January 30, 2014, 01:05:20 AM
 #20

is it free ?

Sure it is!  Just download someone's coin off the download page, follow these great instructions, and you may be able to hijack the coin from the guy who paid for it.  If you hurry, you can 51% his block chain before he even knows what hit him.   

Nostr:
npub14wk4hrq6atlq020c7r6eyylpu9gjukyqzafzxu6u80unqfrplq9qhtx8sy
Pages: [1] 2 »  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!