Garlicoin

From Garlicoin Wiki
Revision as of 23:14, 7 April 2023 by Mecs (talk | contribs) (Change formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Garlicoin logo

Garlicoin is a garlic-themed decentralized cryptocurrency, with an ASIC-mining resistant proof of work and rapid difficulty readjustment, intended to be mined on consumer-grade hardware.

Hot out of the oven and ready to serve you with its buttery goodness, Garlicoin is a memecoin (like Dogecoin). Much of the community memes and inside-jokes revolve around garlic, vampires, Wario (whose favorite food is garlic), and garlic bread. Garlicoin's proof-of-work hashing algorithm, Allium, is named after the garlic plant's scientific name: Allium sativum

Unlike tokens which exist on some other blockchain, Garlicoin is a stand-alone cryptocurrency. It has its own consensus algorithms, miners, and software ecosystem. Because of that, Garlicoin is not affected by the gas prices or network congestion of any other chains(ETH, BSC, etc).

At the core, Garlicoin is Bitcoin-like. Many of the guides/tutorials/scripts that apply to Bitcoin and Litecoin can be easily adapted to work for Garlicoin. Historically, it is a fork (modified version) of Litecoin

Despite it being briefly considered a "dead coin" by some sources[1], Garlicoin has been mined consistently since its inception and has experienced a significant revival in 2021 in both community and software ecosystem growth.

Garlicoin is open-source. Its design is public, nobody owns or controls Garlicoin and everyone can take part. You can find the source code for the core implementation on Github

Garlicoin is the coin you never thought you needed, and you probably don’t.

Technical Details

Consensus Type Proof of Work (POW)
POW Algorithm Allium
Currency Code $GRLC
Currency Symbol
Max Supply 69,000,000 Garlicoin
Difficulty Adjustment Algorithm Dark Gravity Wave (DGW)
Sub-Units 1 Clove = 0.00000001 Garlicoin (Similar To Satoshi for Bitcoin)
Block Time 40 seconds
Minting Method Mining
pszTimestamp If this post gets 30000 upvotes I will make a garlic bread cryptocurrency called garlicoin
Default Port 42069
Genesis Block Hash 0x2ada80bf415a89358d697569c96eb98cdbf4c3b8878ac5722c01284492e27228
Reward Halving Time 690,000 blocks (~319.4 Days)
Coin Type/Bip44 69420

Address Prefixes

p2pkh/legacy G
p2sh-p2wpkh M
p2wpkh/segwit bech32 grlc1
p2wpkh/segwit base58 W

Mainnet

networkMagic 0xd2c6b6db
pubkeyhash 0x26 // 38
privatekey/wif 0xb0 // 176
scripthash 0x32 // 50
xpubkey 0x0488b21e
xprivkey 0x0488ade4
Port 42069
DEFAULT_FALLBACK_FEE 2000000
DEFAULT_TRANSACTION_MINFEE 100000

Testnet

networkMagic 0xfdd2c8f2
pubkeyhash 0x6f // 111
privatekey/wif 0xef // 239
scripthash 0x3a // 58
xpubkey 0x043587cf
xprivkey 0x04358394
Port 42075

Regtest

networkMagic 0xfabfb5da
pubkeyhash 0x6f // 111
privatekey/wif 0xef // 239
scripthash 0x3a // 58
xpubkey 0x043587cf
xprivkey 0x04358394
Port 19444

Preferred Mainnet Derivation Paths

Deprecated m/44'/0'/0'/0'/0
Deprecated m/44'/2'/0'/0'/0
New m/44'/69420'/0'/0'/0
SegWit
Deprecated m/49'/0'/0'/0'/0
Deprecated m/49'/2'/0'/0'/0
New m/49'/69420'/0'/0'/0
Bech32
Deprecated m/84'/0'/0'/0'/0
Deprecated m/84'/2'/0'/0'/0
New m/84'/69420'/0'/0'/0

History

On Monday, December 25th, 2017, Reddit user DigitalizedOrange published a post titled "If this post gets 30,000 upvotes, I will make a garlic bread cryptocurrency called garlicoin"

No bamboozle. I’ve done things like this before, such as make a garlic bread dating simulator (in progress) and write a trebuchet novel.

If this post starts doing well I’ll set up the subreddit

-/u/DigitalizedOrange, Reddit

The title of that post is encoded in the Garlicoin genesis block

In January 2018, development began and Garlicoin was forked from Litecoin. The first Garlicoin specific commit was pushed on January 2, 2018

Unique Features

Despite being a memecoin and a fork of Litecoin, there are a couple of functional changes implemented in Garlicoin.

  • Rolling Checkpointing

In version 0.18.0, rolling checkpointing has been implemented.

A decentralised checkpointing feature has been implemented to reduce impacts of 51% attacks on the network, this new rule will stop clients from performing reorgs that are greater than 15 blocks.

Proof-Of-Work Algorithm

Since blockheight 58670, Garlicoin uses the Allium hashing algorithm for Proof-Of-Work(POW). The Allium hashing algorithm was written specifically for Garlicoin and is based on the Lyra2RE hashing algorithm. Like Lyra2RE, Allium is an ASIC-resistant algorithm.

Before blockheight 58670, the Scrypt-N algorithm was used for POW. After ASIC miners were found to be mining Garlicoin, a hard-fork was planned and implemented to switch to Allium.

Difficulty Readjustment Algorithm

To account for rapid changes in mining hashpower, Garlicoin is using the Dark Gravity Wave(DGW) difficulty readjustment algorithm

Wallet

Wallets are where people keep their Garlicoin addresses. They are usually composed of two keys (long strings of data): one private and one public. The public key is used to receive Garlicoin; give that address to anyone who wishes to send you Garlicoin. The private key is used for people to send Garlicoin; keep that address secret because it gives access to all your Garlicoins. Usually, the private key will be hidden and is stored in a secret place (which only the owner should have access).

As long as the owner knows his private key and other identifying information, they can use their wallet anywhere (on any computer). Garlicoin are not stored in a file, they are just kept track of by everyone on the network. That means that deleting a Garlicoin installation will not remove any Garlicoin. The owner just needs the private key (usually stored in a wallet.dat file) to recover their coins.

Mining

Mining, in cryptocurrency, is the process of verifying that a transaction is valid using computer calculations. For each verification a miner makes, they get a small amount of newly created Garlicoin for their “hard” work.
You can learn more about how blockchain works here.

Miners can only use their CPU (Processor) and GPU (Graphics Card) to mine Garlicoin as it is ASIC resistant; meaning that it will try to block mining on mining-specific hardware.

Test-Net vs Main-Net

If you had a wallet during the Testing period, you need to make sure that you use a Main-Net address (should start with a G).

Where to Start?

If you want to mine, you will need to get a wallet and then setup a miner. Many options are available so take your time and choose wisely.
GRLC can be purchased using other cryptocurrencies from various exchanges and kept in the exchange. This is not generally advised for long-term storage as exchanges can go offline.
It is often gifted and traded amongst anyone posting content on the r/Garlicoin subreddit.
Faucets such as [2] can also get you started with free GRLC (typically <$0.1 per day).