Skip to content
← Back to Community
Eggcoin - a cryptocurrency! Mine coins, and make transactions!
Profile icon
generationXcode

This is a cryptocurrency. Fork the code and follow the readme :

When first using this software you MUST:

  • delete blockchain.json in the root directory
  • go to personal_data.json and change details accordingly
  • run program once, after the terminal says Quit server with CONTROL C, click on the stop button and run once again.
  • if you dont do the above steps, your peer will not be added to the network and your coins won't be recognised by everyone.

what is a cryptocurrency?

  • honestly, I have like no clue. It is a bunch of coins that you give to someone else. It is like actual currency, except you dont need a bank or anything to make transactions. Think of cryptocurrency like digital cash (not the number on bank screen, actual physical notes and stuff).
  • Lets say you want to buy some eggs. You go to the store and give them some cash. The cashier checks whether the notes you give him/her are fake or real. If they are real, the transaction is accepted and you get the eggs.
  • wait no. that isnt what a cryptocurrency is. I forgot what I was typing out. A better analogy would be if you want some eggs, you give the cash to the cashier, everyone alive gets a copy of that note, everyone alive checks whether that note is real or fake. If the majority think it is real, you get the eggs. Now this note giving is a "transaction". To protect these transactions from being tampered with, we have blocks to keep these transactions in. Each time you mine a block, you do some work to secure it (this is called mining). If someone else wanted to tamper with a transaction in that block, they would have to do the work again, and since all the blocks after it are linked to that block, the person would then have to redo the work for every single block after that.

how do i mine?

  • just follow the instructions I gave at the top and run the program, open the link and click on the mine link. The mining can take very long.

how do I make a transaction?

  • click on the make transaction link and you will be greeted by a form. ask your friend for their public key. They will give you two parts of the key. Place the long part in the first public key input and the short part in the second. In the amount section, place a whole number of coins you want to give the person.

how do i find my public key?

  • bruh. Just click on the link to get it.

other stuff

  • you guys tell me what to write here

stop

spam

mining

If you all are having issues with forking, please contact me, I'll fix it all for you.

troubleshooting

  • issue solution number 1 - anything isnt working? just stop the repl and restart
  • if it takes too long to start, it is because there are too many peers. easy fix - delete all peers except eggcoin.generationxcode.repl.co in peers.json. Easier fix, contact me and add me to the multiplayer repl
  • if it says lol die, it is completely normal

announcements

  • if u want version 2, please say so.
  • I am sorry for the bad styling
  • want me to explain in depth how to make a cryptocurrency?
  • I made the difficulty low, so it uses less resources and no actual money stuffs here pls
  • can you all try not to mess with it?
  • if you find the server randomly crashing, it's me. You all do all sorts of stuff to mess it up, i have to try and fix the code. This is the result of that salvaging
  • I'm sleeping now, so any errors ocurring are all your fault and i'll fix them when i get up. Not that the system is perfectly working without all your mixing in it
  • if you have ideas about design in css or anything, contribute PLEASE https://github.com/generationzcode/socoolblockchain
  • if you want to run this and use my coins and play around with my node, use this link - https://replit.com/@generationXcode/Eggcoin
    I want to see the run metrics
  • https://replit.com/talk/learn/How-I-made-a-cryptocurrency-Eggcoin-and-how-you-can-part-1/140217 is the tutorial where you can learn more about how to make a blockchain.
  • ok version 2 wont have any protocol changes, I would have to force everyone to follow them, I'll make a few more pages to show the blockchain and mining process and then I'm done with the project, unless a security issue occurs.
  • great job guys, now we have too many peers. the program is running real slow. I'll update the protocols later.
  • btw keep a backup of your keys from keys.json. If the keys reset (ur balance becomes 0, u can paste the old keys back
  • great job whoever you are for RUINING the blockchain
  • large issue guys. Our cryptocurrency servers dont have enough memory to handle really large files so we need a solution for this fast. The coin will otherwise fail. Log your answers in comments section mine is ijson
  • i will fix this after im done with my physics practice paper. Then I will fix the network
  • high probability of blockchain not working. currently trying to make version 2, that is better than this one. use, but it might not work.
  • you people have spent all my eggcoin. try to mine some.
  • I am rich. make me richer by mining for me

I have fixed this to a point at which it is usable. Please have fun. If you run into any errors, dont hesitate to make issues on github like many are right now and CONTRIBUTE. GUYS YOU HAVE TO CONTRIBUTE

if you operate a node, please keep pulling from the version control.

20 comments that i should remake it and i will. It will be better then. This was my first ever blockchain so it isnt very good.

version 2 was made and u all got to see it. there was a small problem however, that has been fixed. Please go on and spend all your money for stupid things now

Voters
Profile icon
Valecia-GG
Profile icon
BrandoTaylor
Profile icon
DragonKing11
Profile icon
Athorax
Profile icon
LoganHudson
Profile icon
AlexKlok
Profile icon
QuiqueHagen
Profile icon
extendedlungs
Profile icon
DeadWither
Profile icon
dudeactualdev
Comments
hotnewtop
Profile icon
ChopSueyMaster

Bitcoin, Dogecoin, and now Eggcoin,

just waiting for potatocoin

Profile icon
generationXcode
Profile icon
CyberDaDev

dude forget about potatocoin wat about the great Irish SPUDACOIN?!??!? Thats right ma lads. @ChopSueyMaster

Profile icon
tussiez
Profile icon
foodandmoarfood

hmmmmmmmmm
yes

Profile icon
ChopSueyMaster

Well, hopefully, this doesn't become a reality because this is not clearly what our ancestors expected from this generation. @foodandmoarfood

Profile icon
nameless12321

@ChopSueyMaster Moguscoin ඞඞඞඞ

Profile icon
Whippingdot

im waiting for Whipcoin @ChopSueyMaster

Profile icon
StringentDev

@Whippingdot and i'm waiting for neyneyCoin

Profile icon
glitchish

@Whippingdot ...IOcoin...

Profile icon
xXToluwaXx

@ChopSueyMaster the true coin we need is pogcoins

Profile icon
octopyBot

@xXToluwaXx OCTOCOIN! github is with me on this one

Profile icon
Fluffik

@ChopSueyMaster :) And maybe then replcoin?

Profile icon
generationXcode
Profile icon
Fluffik
Profile icon
Whippingdot

I HAVE CHOSEN THE ULTIMATE FIVE COINS - OCTOCOIN, REPLCOIN, WHIPCOIN, SQUIDCOIN, AND FLAMINHOTVALDEZCOIN @ChopSueyMaster

Profile icon
Chhatrapati02

@ChopSueyMaster lol potatocoin

Profile icon
Rowaid881
Profile icon
CodingElf66

@ChopSueyMaster I vote CodeCoin

Profile icon
taakoiscool

@ChopSueyMaster I would Invest in potato coin heavily.

Profile icon
gbehlcode

@ChopSueyMaster It'll all change when the fire nation attacks.

Profile icon
gbehlcode

@ChopSueyMaster what about Burgercoin?

Profile icon
CoderKid123
Profile icon
WolfBoy2534

@CyberHacker101
Lol how about potaocointo

Profile icon
generationXcode

gosh i finally fixed this thing. So none of these altcoins anymore smhsmhsmhmsmhsmhmshmsmhsmh

Profile icon
CyberDaDev
Profile icon
reshiramcoderr

@ChopSueyMaster you have said it, ecxpect eggdog coin in 4 years
E G G D O G

Profile icon
reshiramcoderr
Profile icon
programmeruser

Note: crypto mining is against Replit ToS

Profile icon
generationXcode

@programmeruser it is????

Profile icon
generationXcode
Profile icon
generationXcode

@programmeruser ima read up and see if this much is alr. cus it's a low difficulty

Profile icon
generationXcode
Profile icon
RayhanADev

@generationXcode crypto mining is against the Replit Tos

@programmeruser I'm pretty sure that only applies to like, mining Bitcoin and stuff on Replit machines.

Profile icon
amasad

@programmeruser educational use is okay which this is

Profile icon
ch1ck3n
Profile icon
tussiez
Profile icon
[deleted]

@programmeruser
i can imagine what would happen if machines were windows

Profile icon
figglediggle

@programmeruser don't snitch

Profile icon
Whippingdot

bruh why is your task bar at the top of your screen? @generationXcode

Profile icon
generationXcode

i like it like dat @Whippingdot

Profile icon
octopyBot

because he's weird like that @Whippingdot. even uses vsCode when atom.io is clearly superior.

Profile icon
Whippingdot

no atom.io is worse cause it has a smaller community, meaning less extensions. Also you can't customize the top bar in atom meaning you are stuck with the white menu of all the options (I am talking about how electron puts that bar at the top on windows). In VSCode you can move that bar around. VSCode is clearly [email protected]

Profile icon
CodingElf66

@programmeruser It is? I didn't know, and where does it say that? Just wondering.

Profile icon
samfierycreeper

I don't want to get super involved on this conversations, but atom.io is amazing.

Profile icon
TimothyChris

I am just now trying to make a rate prediction map for eggcoin and as I see it is quite promising cryptocurrency. As a trader I try it in addition to the usual bitcoin, recently I read here https://cryptoboarding.com/ an article for beginners traders and learned a lot even for myself, though I have a lot of experience. Because this market moves too fast and you constantly need to learn something new for yourself.

Profile icon
generationXcode

@TimothyChris Hi timothy. I actually made this for educational purposes only. I appreciate the enthusiasm but eggcoin was my first ever cryptocurrency. Its poorly designed, not scaled and buggy. I wouldnt recommend spending any time figuring it out for monetary benefit or the hope it'll get popular. I assure you, it will not. Thank you for the comment!

Profile icon
zplusfour

the website not loading... >:(

Profile icon
generationXcode

@zplusfour yeah the server is starting up. i had to restart it.

Profile icon
zplusfour

@generationXcode okkk
and I'm interested in this

Profile icon
RishiMohanty

hmmm i cant mine blocks

Profile icon
Korbindev

how do I sell it for money

Profile icon
jasminmosseri

I heard a lot of good from my friends who experienced crypto-traders. In my opinion, Eggcoin I one of the most valuable crypto investment options today. The average value of a coin is high, the mining speed is acceptable, and the transaction animosity is on the proper level. To check the value of the different cryptocurrencies like Dogecoin, Eggcoin, BTC, ETH, you can click site and see the full information about these coins. Have a great day, crypto traders and have good luck!

Profile icon
generationXcode

@jasminmosseri yep they arent experienced then. Dont waste your time on this man. If you want to do something with crypto, use bitcoin or some other good coin

Profile icon
FrancisPan

https://replit.com/site/terms prohibited actions 18.

Profile icon
generationXcode

@FrancisPan yeah, For this I made the POV difficulty really really low and the people said that it is ok since it educational use

Profile icon
FrancisPan
Profile icon
EricCartman8

I would like to understand the new cryptocurrencies.

Profile icon
generationXcode

@EricCartman8 I love southpark! to understand how cryptos work, 3 blue 1 brown made an amazing video. the bitcoin whitepaper is good too!

Profile icon
Atomic-Gamming

hey, i apparently was doing it wrong so it made a invalid link so you can delete this one: "http://JamesGordon1.Atomic.repl.co",

Profile icon
generationXcode

@JamesGordon1 dont worry, invalid links dont matter a lot. The version 1 itself is really buggy, so I'll revise the code and make it better and make use of django databases instead of using json files. The whole blockchain currently is in a mess, but you can still use it. Dont worry. oh god i just unloaded all the problems on u lol. have a great day.

Profile icon
Atomic-Gamming
Profile icon
xfinnbar

@generationXcode django database is file-based so it doesn't work on replit properly.

Profile icon
generationXcode

@xfinnbar yeah, that is an isue right now. contribute on github of you see any other probs :)

Profile icon
xfinnbar

@generationXcode I recommend MongoDB (through atlas, their free cloud database). It works well on replit.

Profile icon
generationXcode

@xfinnbar thanks for the suggestion, but i just finished up on using the django sql db. You seem to know a lot about replit. Can you just see the code if it is alright? if not, no problemo. currently testing and so many errors lol

Profile icon
RahulChoubey1

@generationXcode I mistakenly made 2 false URLs.

Profile icon
Atomic-Gamming

@RahulChoubey1 can yall do this in a different comment section so I don't get your guys notify

Profile icon
generationXcode

sure thing @JamesGordon1

Profile icon
7ih

you should probably use a (sql) database instead of using json files. it will make it faster to load, and easier to modify data.

Profile icon
generationXcode

@7ih yeah, that was a good insight. I'll do that.I wonder how to transfer the blockchain tho, I mean i can, but one block at a time I guess

Profile icon
Kudos

@7ih

NoSQL (like Mongodb) would actually be much more performant for this project than SQL (see https://softwareengineering.stackexchange.com/a/175546)

Profile icon
generationXcode

@Kudos damn really? if you want, please contribute here. I have no idea how to use mongodb. I tried once. But in most part i dont know. Once we are done with this v2 update, we can work on more performance and scaling it up

Profile icon
Kudos

@generationXcode

The codebase is big, I'm not familiar with Django, and I've only used databases with Node.js, but I'll see what I can do :)

Profile icon
Kudos

Maybe later on the codebase of Eggcoin could transitioned to Rust, and the whole project would be 🔥 fast

Profile icon
generationXcode

@Kudos yeah.

Profile icon
generationXcode

@Kudos after v2 it is pretty much entirely up to the community to do whatever they want.

Profile icon
DannyOhaya

Make Version 2

Profile icon
Gulliverus

Cryptocurrency is one of the new types of currencies, a method of electronic payment. Because of the developing trends, it has become widely known and generally accepted, which makes it quite reliable and convenient in circulation. It has several features that can be highlighted to understand the benefits of cryptocurrency. An important aspect of cryptocurrency is crypto signals https://medium.com/coinmonks/top-3-telegram-channels-for-crypto-traders-in-2021-8385f4411ff4 . These are indications to buy and sell cryptocurrency assets. With the help of them, it is possible to predict the strategy of the financial market.

Profile icon
Gulliverus

Cryptocurrency is one of the new types of currencies, a method of electronic payment.

Profile icon
DeadWither

I could have hacked the coins if you used py in-built db

Profile icon
generationXcode

@DeadWither doesnt matter if you hacked it or not. Even if you did, the peers are there to secure the chain. decentralised means you have to hack every single peer to hack the chain

Profile icon
fishyCoding

remake it

Profile icon
CodingEpic

Broken?

Profile icon
generationXcode

@EpicCoding1 perhaps, I have abandoned this and moved on to studies and another project, It was working at the start but uk the security of p2p servers probably isnt top notch and caused it to break. I cant check rn, I'll work it out later. Thanks for reporting it

Profile icon
CodingEpic
Profile icon
generationXcode

@CodingEpic fixed it

Profile icon
DepthStrider03

what is blocked_urls.json for?

Profile icon
generationXcode

@DepthStrider when i began this blockchain, someone did very bad stuff on it that ruined it and that bad stuff spread accross the peers since they are all communicating so I just blocked all the peers and updated the software

Profile icon
DepthStrider03

@generationXcode ah. I am concerned though because when I tried to run it then forked it right after my url was in the blocked urls list. :|

Profile icon
generationXcode

@DepthStrider just change the repl name in the file and in the repl and will be unblocc

Profile icon
qianyy

taking forever to load...

Profile icon
korrykatti

can i make my own crypto using this ?

Profile icon
generationXcode
Profile icon
korrykatti

great i would learn python now @generationXcode

Profile icon
generationXcode

@korrykatti lol my school is actually teaching python rn. Python is an addiction, I'm dying to move to julia

Profile icon
FancyGiraffe

You should add a button that takes you back to the previous page and also, how much is Eggcoin worth?

Profile icon
generationXcode

@JackNorwood worth nothing

Profile icon
FancyGiraffe
Profile icon
ArmorCodedItLol

how do you make a crypto? cause i want ppl to have armor coin lol.

Profile icon
Dart

cool

Profile icon
ahkid7674

it just keeps on saying this ;-;
Screenshot 2021-05-29 5.39.58 PM

Profile icon
generationXcode

@JULIODIAZ1 these messages are alright. a lot of the peers actually are indeed offline, so these messages show up. no worries

Profile icon
ahkid7674

it kept doing that for like 30 mins straight and a window didnt open
@generationXcode

Profile icon
generationXcode

@JULIODIAZ1 Too many inactive peers :(

Profile icon
octopyBot

man's gonna be rich like satoshi nakamoto lol

Profile icon
generationXcode

@octopyBot just as rich as the rest of you :)

Profile icon
bigchungusmc

"personal_data.json" is not very specific. what is "repl_name" and "username"

Profile icon
generationXcode

@bigchungusmc the name of the forked repl and your username

Profile icon
XanderK20

is this real, like actual money? I hope it doesn't take up too much electricity to mine it like other cryptocurrencies

Profile icon
generationXcode

@XanderK20 I made it so that the difficulty is really low. This is causing a lot of problems for the security of the blockchain, but less electricity used

Profile icon
XanderK20

@generationXcode Cool! I'm sorry for the security problems though. Hopefully there's a way to fix those too!

Profile icon
Whippingdot

us mortals do not understand your advanced technology, oh great one

Profile icon
generationXcode

@Whippingdot i made a tutorial on it in the replit tuorials lol

Profile icon
NotMrMan

could you add a dark mode to the site? my eyes are burning

Profile icon
FrancisPan

It takes a really long time to mine a block