SlideShare a Scribd company logo
1 of 20
How to Create Bitcoin Like
Alternative Cryptocurrency
Abdullah Khan Zehady @ Purdue University
You need to read..
● Bitcoin wiki
● What is altcoin?
o https://www.cryptocoinsnews.com/altcoin/
● How To Clone Scrypt Based Altcoins for Fun and Profit
o http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide
● *** Complete Guide on How to Create a New Alt Coin
o https://bitcointalk.org/index.php?topic=225690.0
● http://bitcoin.stackexchange.com/
You need...
● Patience and Determination.
● Source Code for an Alt-Coin (Scrypt: Dogecoin)
● Knowledge about Linux / Mac command line interface.
● 2 or More computers
● IDE (Eclipse etc.) or Text Editing Software (TextWrangler)
Planning - Coin Design
● Design your coin
1. Name of your coin
2. Block Time
 Average target time between blocks.
 Bitcoin (10 minute).
 Usually between 15 sec and 2 minute.
Planning - Coin Design
3. Difficulty retarget time
4. Total Amount of Coin - Bitcoin (21 Million)
5. Initial Coin Per Block
● Bitcoin (50 BTC per block, now 25 BTC)
● Your coin (100 Coin or ?)
Planning - Coin Design
6. Coin halving configuration
● How long you want coin per block to be halved?
● Bitcoin - 4 years
● Your coin - What kind of cryptonomics you want!!
7. Other Configurations
● Port: Connection / RPC
● *coin.conf
o https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File
Example Alt Coin
● Scrypt Based Alt Coin
o CollegeCoin
● Altcoin from Dogecoin Source
o https://github.com/dogecoin
o Easiest
File Configuration 1
● Coin Parameters
o src/chainparams.cpp
 Important Variables to be changed
 Genesis Block Creation
● const char* pszTimestamp
 Block Average Time + Others
● genesis.nTime <- Block Time
● genesis.nBits
● genesis.nNonce
File Configuration 2
● Port Configuration
o src/chainparams.cpp
 Variables to be changed
● nDefaultPort
● nRPCPort
● Total Amount of Coin
o src/core.h
 int64_t MAX_MONEY
File Configuration 3
● Average Block Time
o src/main.cpp
 Variables to be changed
● nTargetSpacing <- Average Block Generation Time
o 1 ~ 10 minute
● nTargetTimespan <- Difficulty readjustment
o Bitcoin <- 2 Weeks
o 4 days ??
File Configuration 4
● Coin Per Block
o src/main.cpp
 100 coin per block
● int64_t nSubsidy = 100 * COIN;
● Estimated Number of Blocks per day
o src/main.h
 return dPriority > 100 * COIN * 1440 / 250
 Need Calculation: 1 Coin per minute * 60 min * 24 hours = 1440 Coin per day
● Changing Coin address
o PUBKEY_ADDRESS
Data Directory
● https://en.bitcoin.it/wiki/Data_directory
● BlockChain Location inside file systems
o Mac:
o ~/Library/Application Support/Bitcoin/
o Linux:
o ~/.bitcoin/
o Windows:
o (XP) : C:Documents and SettingsYourUserNameApplication dataYourCoin
o (Vista + Windows 7) : C:UsersYourUserNameAppdataRoamingYourCoin
Data Directory
● Configuration file (Bitcoin.conf / Collegecoin.conf) needs to be inside data
directory.
● Degugging
o Debug.log file inside data directory
o Program output can be viewed from debug.log
o Will need Debug.log for genesis block.
Steps to get your Alt Coin
1. Design your coin
2. Clone Dogecoin source into your two computers
3. Compile the program successfully in both computers
4. Create a git repository and push initial code
5. Convert “dogcoin” substrings to “yourcoin” inside all files (mainly under /src
directory)
a. Be careful not to change any “bitcoin” string
i. Will require changing filenames
b. Only “dogecoin” strings to be changed to “yourcoin”
6. Change coin parameters as described
Steps to get your Alt Coin 2
7. Create genesis block in 1 of your computer
a. hashgenesisblock assertion failure
i. Read http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide again.
b. Will require adding extra piece of code (currently deleted to prevent alt
coin creation)
i. http://goo.gl/5PiaDk
ii. Changing genesis.nTime and genesis.nNonce for regular
coin, testnet, regtestnet
c. Re-compilation of the code
d. Genesis Hash creation (Find from debug.log)
e. Change Geneis hash inside src/Chainparams.cpp
Steps to get your Alt Coin 3
8. Do the same in other computer
● Use git repository (push/pull) efficiently to bring changes
9. Find external IP address of two computers
● Connect two computers and mine fresh coins
10. Learn how transaction works
● src/rpcrawtransaction.cpp
● Important Classes (main.h)
o CBlock
o CTransaction
Some Thing to Say
● Bitcoin is successful
● There are so many altcoins (> 500)
o http://coinmarketcap.com/
● Create altcoin if you want to learn how
Bitcoin/Alt Coin works
● Don’t just create Alt Coin
o Rather use your brain to invent ideas
o Why you need another coin?
Some Thing to Say
● Place for invention
o Cryptographic Proof of work systems
 Look at Prime coin
 Look at Peer Coin
o Better Hashing algorithm
 Hash Collision resistance etc.
o Economic Ideas
 Economic equailty
 Coin fluidity
 Preventing Hoarding
Some Thing to Say
● Smart Contracts
o Look
 Ethereum Project: http://ethereum.org/
 Counterparty Project: http://counterparty.io/
Thank you
● If you like the information… then..Tip me..
● Bitcoin Address:
o 1Gq13n24ToMcZgHyXnjrD18FpszLhBd1vH
● Litecoin Address:
o LVL4yMCuFFbkLGhFfwXes4GrsZBo4vEjWZ
● Dogecoin Address:
o DBUjcDFHzqJSjKuB7MpLZJAqHHZbbRpvEC

More Related Content

What's hot

Intro to Blockchain - And, by the way, what the heck is proof-of-work?
Intro to Blockchain - And, by the way, what the heck is proof-of-work?Intro to Blockchain - And, by the way, what the heck is proof-of-work?
Intro to Blockchain - And, by the way, what the heck is proof-of-work?Jim Flynn
 
Blockchain Technology - The Next Superpower By Priyank Vaghela
Blockchain Technology - The Next Superpower By Priyank VaghelaBlockchain Technology - The Next Superpower By Priyank Vaghela
Blockchain Technology - The Next Superpower By Priyank VaghelaPriyankVaghela
 
How does the Bitcoin network work?
How does the Bitcoin network work?How does the Bitcoin network work?
How does the Bitcoin network work?Akshay Kumar
 
Introduction to blockchain and cryptocurrency technologies
Introduction to blockchain and cryptocurrency technologiesIntroduction to blockchain and cryptocurrency technologies
Introduction to blockchain and cryptocurrency technologiesPaweł Wacławczyk
 
The Lightning Network - A gentle introduction
The Lightning Network - A gentle introductionThe Lightning Network - A gentle introduction
The Lightning Network - A gentle introductionRoland Stadler
 
Fork your mother if you want fork: A short history of Bitcoin scaling wars
Fork your mother if you want fork: A short history of Bitcoin scaling warsFork your mother if you want fork: A short history of Bitcoin scaling wars
Fork your mother if you want fork: A short history of Bitcoin scaling warsOleksandr Ivanov
 
CBGTBT - Part 3 - Transactions 101
CBGTBT - Part 3 - Transactions 101CBGTBT - Part 3 - Transactions 101
CBGTBT - Part 3 - Transactions 101Blockstrap.com
 
Bitcoin Wallet &amp Keys
Bitcoin Wallet &amp KeysBitcoin Wallet &amp Keys
Bitcoin Wallet &amp KeysShun Shiku
 
A quick introduction to Consensus Models
A quick introduction to Consensus ModelsA quick introduction to Consensus Models
A quick introduction to Consensus ModelsOded Noam
 
Metadata in the Blockchain: The OP_RETURN Explosion
Metadata in the Blockchain: The OP_RETURN ExplosionMetadata in the Blockchain: The OP_RETURN Explosion
Metadata in the Blockchain: The OP_RETURN ExplosionCoin Sciences Ltd
 
Blockchain For Developers
Blockchain For DevelopersBlockchain For Developers
Blockchain For DevelopersAlex Chepurnoy
 
CBGTBT - Part 2 - Blockchains 101
CBGTBT - Part 2 - Blockchains 101CBGTBT - Part 2 - Blockchains 101
CBGTBT - Part 2 - Blockchains 101Blockstrap.com
 
CBGTBT - Part 6 - Transactions 102
CBGTBT - Part 6 - Transactions 102CBGTBT - Part 6 - Transactions 102
CBGTBT - Part 6 - Transactions 102Blockstrap.com
 
CBGTBT - Part 5 - Blockchains 102
CBGTBT - Part 5 - Blockchains 102CBGTBT - Part 5 - Blockchains 102
CBGTBT - Part 5 - Blockchains 102Blockstrap.com
 
Sidechain talk
Sidechain talkSidechain talk
Sidechain talkjojva
 

What's hot (20)

Intro to Blockchain - And, by the way, what the heck is proof-of-work?
Intro to Blockchain - And, by the way, what the heck is proof-of-work?Intro to Blockchain - And, by the way, what the heck is proof-of-work?
Intro to Blockchain - And, by the way, what the heck is proof-of-work?
 
Blockchain Technology - The Next Superpower By Priyank Vaghela
Blockchain Technology - The Next Superpower By Priyank VaghelaBlockchain Technology - The Next Superpower By Priyank Vaghela
Blockchain Technology - The Next Superpower By Priyank Vaghela
 
How does the Bitcoin network work?
How does the Bitcoin network work?How does the Bitcoin network work?
How does the Bitcoin network work?
 
Blockchain Properties
Blockchain PropertiesBlockchain Properties
Blockchain Properties
 
Introduction to blockchain and cryptocurrency technologies
Introduction to blockchain and cryptocurrency technologiesIntroduction to blockchain and cryptocurrency technologies
Introduction to blockchain and cryptocurrency technologies
 
The Lightning Network - A gentle introduction
The Lightning Network - A gentle introductionThe Lightning Network - A gentle introduction
The Lightning Network - A gentle introduction
 
Sidechains Presentation
Sidechains PresentationSidechains Presentation
Sidechains Presentation
 
Fork your mother if you want fork: A short history of Bitcoin scaling wars
Fork your mother if you want fork: A short history of Bitcoin scaling warsFork your mother if you want fork: A short history of Bitcoin scaling wars
Fork your mother if you want fork: A short history of Bitcoin scaling wars
 
CBGTBT - Part 3 - Transactions 101
CBGTBT - Part 3 - Transactions 101CBGTBT - Part 3 - Transactions 101
CBGTBT - Part 3 - Transactions 101
 
Blockchain - a basic overview
Blockchain - a basic overviewBlockchain - a basic overview
Blockchain - a basic overview
 
Bitcoin Wallet &amp Keys
Bitcoin Wallet &amp KeysBitcoin Wallet &amp Keys
Bitcoin Wallet &amp Keys
 
A quick introduction to Consensus Models
A quick introduction to Consensus ModelsA quick introduction to Consensus Models
A quick introduction to Consensus Models
 
Metadata in the Blockchain: The OP_RETURN Explosion
Metadata in the Blockchain: The OP_RETURN ExplosionMetadata in the Blockchain: The OP_RETURN Explosion
Metadata in the Blockchain: The OP_RETURN Explosion
 
Blockchain For Developers
Blockchain For DevelopersBlockchain For Developers
Blockchain For Developers
 
CBGTBT - Part 2 - Blockchains 101
CBGTBT - Part 2 - Blockchains 101CBGTBT - Part 2 - Blockchains 101
CBGTBT - Part 2 - Blockchains 101
 
CBGTBT - Part 6 - Transactions 102
CBGTBT - Part 6 - Transactions 102CBGTBT - Part 6 - Transactions 102
CBGTBT - Part 6 - Transactions 102
 
CBGTBT - Part 5 - Blockchains 102
CBGTBT - Part 5 - Blockchains 102CBGTBT - Part 5 - Blockchains 102
CBGTBT - Part 5 - Blockchains 102
 
Intro into blockchain
Intro into blockchainIntro into blockchain
Intro into blockchain
 
Sidechain talk
Sidechain talkSidechain talk
Sidechain talk
 
Altcoins
AltcoinsAltcoins
Altcoins
 

Viewers also liked

Understanding Cryptocurrency
Understanding CryptocurrencyUnderstanding Cryptocurrency
Understanding CryptocurrencyKapil Gupta
 
Alternative cryptocurrencies
Alternative cryptocurrencies Alternative cryptocurrencies
Alternative cryptocurrencies vpnmentor
 
Quick Understanding of Bitcoin/Cryptocurrency.
Quick Understanding of Bitcoin/Cryptocurrency.Quick Understanding of Bitcoin/Cryptocurrency.
Quick Understanding of Bitcoin/Cryptocurrency.Satish Mudaliar
 
Bitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBen Hall
 
Crypto Think Tank Presentation on Alternative Cryptocurrency Feb 16, 2014 at ...
Crypto Think Tank Presentation on Alternative Cryptocurrency Feb 16, 2014 at ...Crypto Think Tank Presentation on Alternative Cryptocurrency Feb 16, 2014 at ...
Crypto Think Tank Presentation on Alternative Cryptocurrency Feb 16, 2014 at ...cryptothinktank
 
The Coinspace Cryptocurrency chart towards the future.
The Coinspace Cryptocurrency chart towards the future.The Coinspace Cryptocurrency chart towards the future.
The Coinspace Cryptocurrency chart towards the future.CGW Team
 
the age of cryptocurrency at Devoxx Morocco
the age of cryptocurrency at Devoxx  Moroccothe age of cryptocurrency at Devoxx  Morocco
the age of cryptocurrency at Devoxx MoroccoBellaj Badr
 
Slideshare Presentation Cryptocurrency and Coinspace
Slideshare Presentation Cryptocurrency and CoinspaceSlideshare Presentation Cryptocurrency and Coinspace
Slideshare Presentation Cryptocurrency and CoinspaceCGW Team
 
Bitcoin (Cryptocurrency)
Bitcoin (Cryptocurrency)Bitcoin (Cryptocurrency)
Bitcoin (Cryptocurrency)Tsasaa Tsas
 
Introduction to Bitcoins and Cryptocurrency
Introduction to Bitcoins and CryptocurrencyIntroduction to Bitcoins and Cryptocurrency
Introduction to Bitcoins and CryptocurrencyUtkarsh Gupta
 
Study on Bitcoin - Technical & Legal Aspects (Presentation at Cyber Cell Gurg...
Study on Bitcoin - Technical & Legal Aspects (Presentation at Cyber Cell Gurg...Study on Bitcoin - Technical & Legal Aspects (Presentation at Cyber Cell Gurg...
Study on Bitcoin - Technical & Legal Aspects (Presentation at Cyber Cell Gurg...Lovey Jain
 
Cryptocurrency - Digital Currency
Cryptocurrency - Digital CurrencyCryptocurrency - Digital Currency
Cryptocurrency - Digital CurrencySameer Satyam
 
Tracxn Research — Bitcoin Startup Landscape, September 2016
Tracxn Research — Bitcoin Startup Landscape, September 2016Tracxn Research — Bitcoin Startup Landscape, September 2016
Tracxn Research — Bitcoin Startup Landscape, September 2016Tracxn
 
AdsCash - New Cryptocurrency
AdsCash - New CryptocurrencyAdsCash - New Cryptocurrency
AdsCash - New CryptocurrencyJ.D Evies
 
Cryptocurrency for Dummies
Cryptocurrency for DummiesCryptocurrency for Dummies
Cryptocurrency for DummiesMiguel Duarte
 
Cryptocurrencies - A Serious Introduction
Cryptocurrencies - A Serious IntroductionCryptocurrencies - A Serious Introduction
Cryptocurrencies - A Serious IntroductionDrake Emko
 
An Introduction to BitCoin and Cryptocurrency Ecosystem
An Introduction to BitCoin and Cryptocurrency EcosystemAn Introduction to BitCoin and Cryptocurrency Ecosystem
An Introduction to BitCoin and Cryptocurrency EcosystemJalal Rohani
 
Cryptocuurency-Seminar
Cryptocuurency-SeminarCryptocuurency-Seminar
Cryptocuurency-SeminarDhanashri2811
 

Viewers also liked (20)

Understanding Cryptocurrency
Understanding CryptocurrencyUnderstanding Cryptocurrency
Understanding Cryptocurrency
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Alternative cryptocurrencies
Alternative cryptocurrencies Alternative cryptocurrencies
Alternative cryptocurrencies
 
Quick Understanding of Bitcoin/Cryptocurrency.
Quick Understanding of Bitcoin/Cryptocurrency.Quick Understanding of Bitcoin/Cryptocurrency.
Quick Understanding of Bitcoin/Cryptocurrency.
 
Bitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrency
 
Crypto Think Tank Presentation on Alternative Cryptocurrency Feb 16, 2014 at ...
Crypto Think Tank Presentation on Alternative Cryptocurrency Feb 16, 2014 at ...Crypto Think Tank Presentation on Alternative Cryptocurrency Feb 16, 2014 at ...
Crypto Think Tank Presentation on Alternative Cryptocurrency Feb 16, 2014 at ...
 
The Coinspace Cryptocurrency chart towards the future.
The Coinspace Cryptocurrency chart towards the future.The Coinspace Cryptocurrency chart towards the future.
The Coinspace Cryptocurrency chart towards the future.
 
the age of cryptocurrency at Devoxx Morocco
the age of cryptocurrency at Devoxx  Moroccothe age of cryptocurrency at Devoxx  Morocco
the age of cryptocurrency at Devoxx Morocco
 
Slideshare Presentation Cryptocurrency and Coinspace
Slideshare Presentation Cryptocurrency and CoinspaceSlideshare Presentation Cryptocurrency and Coinspace
Slideshare Presentation Cryptocurrency and Coinspace
 
Bitcoin (Cryptocurrency)
Bitcoin (Cryptocurrency)Bitcoin (Cryptocurrency)
Bitcoin (Cryptocurrency)
 
Introduction to Bitcoins and Cryptocurrency
Introduction to Bitcoins and CryptocurrencyIntroduction to Bitcoins and Cryptocurrency
Introduction to Bitcoins and Cryptocurrency
 
Study on Bitcoin - Technical & Legal Aspects (Presentation at Cyber Cell Gurg...
Study on Bitcoin - Technical & Legal Aspects (Presentation at Cyber Cell Gurg...Study on Bitcoin - Technical & Legal Aspects (Presentation at Cyber Cell Gurg...
Study on Bitcoin - Technical & Legal Aspects (Presentation at Cyber Cell Gurg...
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Cryptocurrency - Digital Currency
Cryptocurrency - Digital CurrencyCryptocurrency - Digital Currency
Cryptocurrency - Digital Currency
 
Tracxn Research — Bitcoin Startup Landscape, September 2016
Tracxn Research — Bitcoin Startup Landscape, September 2016Tracxn Research — Bitcoin Startup Landscape, September 2016
Tracxn Research — Bitcoin Startup Landscape, September 2016
 
AdsCash - New Cryptocurrency
AdsCash - New CryptocurrencyAdsCash - New Cryptocurrency
AdsCash - New Cryptocurrency
 
Cryptocurrency for Dummies
Cryptocurrency for DummiesCryptocurrency for Dummies
Cryptocurrency for Dummies
 
Cryptocurrencies - A Serious Introduction
Cryptocurrencies - A Serious IntroductionCryptocurrencies - A Serious Introduction
Cryptocurrencies - A Serious Introduction
 
An Introduction to BitCoin and Cryptocurrency Ecosystem
An Introduction to BitCoin and Cryptocurrency EcosystemAn Introduction to BitCoin and Cryptocurrency Ecosystem
An Introduction to BitCoin and Cryptocurrency Ecosystem
 
Cryptocuurency-Seminar
Cryptocuurency-SeminarCryptocuurency-Seminar
Cryptocuurency-Seminar
 

Similar to How to Create Bitcoin Like Alternative Cryptocurrency

Let's trace Linux Lernel with KGDB @ COSCUP 2021
Let's trace Linux Lernel with KGDB @ COSCUP 2021Let's trace Linux Lernel with KGDB @ COSCUP 2021
Let's trace Linux Lernel with KGDB @ COSCUP 2021Jian-Hong Pan
 
“A bitcoin mining rig”
“A bitcoin mining rig”“A bitcoin mining rig”
“A bitcoin mining rig”glitterlabs
 
Fredericksburg LUG Bitcoin slides
Fredericksburg LUG Bitcoin slidesFredericksburg LUG Bitcoin slides
Fredericksburg LUG Bitcoin slidesAlex Akselrod
 
NSC #2 - Challenge Solution
NSC #2 - Challenge SolutionNSC #2 - Challenge Solution
NSC #2 - Challenge SolutionNoSuchCon
 
gething started - ethereum & using the geth golang client
gething started - ethereum & using the geth golang clientgething started - ethereum & using the geth golang client
gething started - ethereum & using the geth golang clientSathish VJ
 
create your own cryptocurrency
create your own cryptocurrencycreate your own cryptocurrency
create your own cryptocurrencyBellaj Badr
 
Best practices to build secure smart contracts
Best practices to build secure smart contractsBest practices to build secure smart contracts
Best practices to build secure smart contractsGautam Anand
 
Bitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodBitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodGalin Dinkov
 
Bitcoin protocol for developerBitcoin Protocol for Developers
Bitcoin protocol for developerBitcoin Protocol for DevelopersBitcoin protocol for developerBitcoin Protocol for Developers
Bitcoin protocol for developerBitcoin Protocol for DevelopersParadigma Digital
 
Bitcoin protocol for developers at techfest
Bitcoin protocol for developers at techfestBitcoin protocol for developers at techfest
Bitcoin protocol for developers at techfestAlberto Gomez Toribio
 
Developing with the Go client for Apache Kafka
Developing with the Go client for Apache KafkaDeveloping with the Go client for Apache Kafka
Developing with the Go client for Apache KafkaJoe Stein
 
Wallet from noob to pro
Wallet from noob to proWallet from noob to pro
Wallet from noob to proBrian Yap
 
Building Java and Android apps on the blockchain
Building Java and Android apps on the blockchain Building Java and Android apps on the blockchain
Building Java and Android apps on the blockchain Conor Svensson
 
Talk 160920 @ Cat System Workshop
Talk 160920 @ Cat System WorkshopTalk 160920 @ Cat System Workshop
Talk 160920 @ Cat System WorkshopQuey-Liang Kao
 
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereumDappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereumTomoaki Sato
 
Blockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentationBlockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentationPaperchain
 
Crypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroCrypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroTal Shmueli
 
Exploiting Llinux Environment
Exploiting Llinux EnvironmentExploiting Llinux Environment
Exploiting Llinux EnvironmentEnrico Scapin
 
SMP implementation for OpenBSD/sgi
SMP implementation for OpenBSD/sgiSMP implementation for OpenBSD/sgi
SMP implementation for OpenBSD/sgiTakuya ASADA
 

Similar to How to Create Bitcoin Like Alternative Cryptocurrency (20)

Let's trace Linux Lernel with KGDB @ COSCUP 2021
Let's trace Linux Lernel with KGDB @ COSCUP 2021Let's trace Linux Lernel with KGDB @ COSCUP 2021
Let's trace Linux Lernel with KGDB @ COSCUP 2021
 
“A bitcoin mining rig”
“A bitcoin mining rig”“A bitcoin mining rig”
“A bitcoin mining rig”
 
Fredericksburg LUG Bitcoin slides
Fredericksburg LUG Bitcoin slidesFredericksburg LUG Bitcoin slides
Fredericksburg LUG Bitcoin slides
 
NSC #2 - Challenge Solution
NSC #2 - Challenge SolutionNSC #2 - Challenge Solution
NSC #2 - Challenge Solution
 
gething started - ethereum & using the geth golang client
gething started - ethereum & using the geth golang clientgething started - ethereum & using the geth golang client
gething started - ethereum & using the geth golang client
 
create your own cryptocurrency
create your own cryptocurrencycreate your own cryptocurrency
create your own cryptocurrency
 
Best practices to build secure smart contracts
Best practices to build secure smart contractsBest practices to build secure smart contracts
Best practices to build secure smart contracts
 
Bitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodBitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the Hood
 
Bitcoin protocol for developerBitcoin Protocol for Developers
Bitcoin protocol for developerBitcoin Protocol for DevelopersBitcoin protocol for developerBitcoin Protocol for Developers
Bitcoin protocol for developerBitcoin Protocol for Developers
 
Bitcoin protocol for developers at techfest
Bitcoin protocol for developers at techfestBitcoin protocol for developers at techfest
Bitcoin protocol for developers at techfest
 
Developing with the Go client for Apache Kafka
Developing with the Go client for Apache KafkaDeveloping with the Go client for Apache Kafka
Developing with the Go client for Apache Kafka
 
Wallet from noob to pro
Wallet from noob to proWallet from noob to pro
Wallet from noob to pro
 
Building Java and Android apps on the blockchain
Building Java and Android apps on the blockchain Building Java and Android apps on the blockchain
Building Java and Android apps on the blockchain
 
Talk 160920 @ Cat System Workshop
Talk 160920 @ Cat System WorkshopTalk 160920 @ Cat System Workshop
Talk 160920 @ Cat System Workshop
 
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereumDappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereum
 
Containers > VMs
Containers > VMsContainers > VMs
Containers > VMs
 
Blockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentationBlockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentation
 
Crypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroCrypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies Intro
 
Exploiting Llinux Environment
Exploiting Llinux EnvironmentExploiting Llinux Environment
Exploiting Llinux Environment
 
SMP implementation for OpenBSD/sgi
SMP implementation for OpenBSD/sgiSMP implementation for OpenBSD/sgi
SMP implementation for OpenBSD/sgi
 

More from Abdullah Khan Zehady

Paleo environmental bio-diversity macro-evolutionary data mining and deep lea...
Paleo environmental bio-diversity macro-evolutionary data mining and deep lea...Paleo environmental bio-diversity macro-evolutionary data mining and deep lea...
Paleo environmental bio-diversity macro-evolutionary data mining and deep lea...Abdullah Khan Zehady
 
Data mining and_visualization_of_earth_history_datasets_to_find_cause_effect_...
Data mining and_visualization_of_earth_history_datasets_to_find_cause_effect_...Data mining and_visualization_of_earth_history_datasets_to_find_cause_effect_...
Data mining and_visualization_of_earth_history_datasets_to_find_cause_effect_...Abdullah Khan Zehady
 
Change of Dynasty correlated with Climate across the world
Change of Dynasty correlated with Climate across the worldChange of Dynasty correlated with Climate across the world
Change of Dynasty correlated with Climate across the worldAbdullah Khan Zehady
 
Parallel convolutional neural network
Parallel  convolutional neural networkParallel  convolutional neural network
Parallel convolutional neural networkAbdullah Khan Zehady
 
Distributed representation of sentences and documents
Distributed representation of sentences and documentsDistributed representation of sentences and documents
Distributed representation of sentences and documentsAbdullah Khan Zehady
 
Applying word vectors sentiment analysis
Applying word vectors sentiment analysisApplying word vectors sentiment analysis
Applying word vectors sentiment analysisAbdullah Khan Zehady
 
Word representations in vector space
Word representations in vector spaceWord representations in vector space
Word representations in vector spaceAbdullah Khan Zehady
 
Masurca genome assembly with super reads
Masurca  genome assembly with super readsMasurca  genome assembly with super reads
Masurca genome assembly with super readsAbdullah Khan Zehady
 
Rudimentary bitcoin network analysis
Rudimentary bitcoin network analysisRudimentary bitcoin network analysis
Rudimentary bitcoin network analysisAbdullah Khan Zehady
 
Bitcoin tech talk @Purdue Bitcoin Club
Bitcoin tech talk @Purdue Bitcoin ClubBitcoin tech talk @Purdue Bitcoin Club
Bitcoin tech talk @Purdue Bitcoin ClubAbdullah Khan Zehady
 

More from Abdullah Khan Zehady (18)

Paleo environmental bio-diversity macro-evolutionary data mining and deep lea...
Paleo environmental bio-diversity macro-evolutionary data mining and deep lea...Paleo environmental bio-diversity macro-evolutionary data mining and deep lea...
Paleo environmental bio-diversity macro-evolutionary data mining and deep lea...
 
Data mining and_visualization_of_earth_history_datasets_to_find_cause_effect_...
Data mining and_visualization_of_earth_history_datasets_to_find_cause_effect_...Data mining and_visualization_of_earth_history_datasets_to_find_cause_effect_...
Data mining and_visualization_of_earth_history_datasets_to_find_cause_effect_...
 
Change of Dynasty correlated with Climate across the world
Change of Dynasty correlated with Climate across the worldChange of Dynasty correlated with Climate across the world
Change of Dynasty correlated with Climate across the world
 
Parallel convolutional neural network
Parallel  convolutional neural networkParallel  convolutional neural network
Parallel convolutional neural network
 
Distributed representation of sentences and documents
Distributed representation of sentences and documentsDistributed representation of sentences and documents
Distributed representation of sentences and documents
 
Tribeflow on bitcoin data
Tribeflow on bitcoin dataTribeflow on bitcoin data
Tribeflow on bitcoin data
 
Applying word vectors sentiment analysis
Applying word vectors sentiment analysisApplying word vectors sentiment analysis
Applying word vectors sentiment analysis
 
Word representations in vector space
Word representations in vector spaceWord representations in vector space
Word representations in vector space
 
Masurca genome assembly with super reads
Masurca  genome assembly with super readsMasurca  genome assembly with super reads
Masurca genome assembly with super reads
 
Bitcoin Multisig Transaction
Bitcoin Multisig TransactionBitcoin Multisig Transaction
Bitcoin Multisig Transaction
 
Bitcoin ideas
Bitcoin ideasBitcoin ideas
Bitcoin ideas
 
Bitcoin investments
Bitcoin investmentsBitcoin investments
Bitcoin investments
 
Rudimentary bitcoin network analysis
Rudimentary bitcoin network analysisRudimentary bitcoin network analysis
Rudimentary bitcoin network analysis
 
Rich gets richer-Bitcoin Network
Rich gets richer-Bitcoin NetworkRich gets richer-Bitcoin Network
Rich gets richer-Bitcoin Network
 
Bitcoin tech talk @Purdue Bitcoin Club
Bitcoin tech talk @Purdue Bitcoin ClubBitcoin tech talk @Purdue Bitcoin Club
Bitcoin tech talk @Purdue Bitcoin Club
 
Bitcoin Network Analysis
Bitcoin Network AnalysisBitcoin Network Analysis
Bitcoin Network Analysis
 
Bitcoin & Bitcoin Mining
Bitcoin & Bitcoin MiningBitcoin & Bitcoin Mining
Bitcoin & Bitcoin Mining
 
The true measure of success
The true measure of successThe true measure of success
The true measure of success
 

Recently uploaded

Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitterShivangiSharma879191
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 

Recently uploaded (20)

Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 

How to Create Bitcoin Like Alternative Cryptocurrency

  • 1. How to Create Bitcoin Like Alternative Cryptocurrency Abdullah Khan Zehady @ Purdue University
  • 2. You need to read.. ● Bitcoin wiki ● What is altcoin? o https://www.cryptocoinsnews.com/altcoin/ ● How To Clone Scrypt Based Altcoins for Fun and Profit o http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide ● *** Complete Guide on How to Create a New Alt Coin o https://bitcointalk.org/index.php?topic=225690.0 ● http://bitcoin.stackexchange.com/
  • 3. You need... ● Patience and Determination. ● Source Code for an Alt-Coin (Scrypt: Dogecoin) ● Knowledge about Linux / Mac command line interface. ● 2 or More computers ● IDE (Eclipse etc.) or Text Editing Software (TextWrangler)
  • 4. Planning - Coin Design ● Design your coin 1. Name of your coin 2. Block Time  Average target time between blocks.  Bitcoin (10 minute).  Usually between 15 sec and 2 minute.
  • 5. Planning - Coin Design 3. Difficulty retarget time 4. Total Amount of Coin - Bitcoin (21 Million) 5. Initial Coin Per Block ● Bitcoin (50 BTC per block, now 25 BTC) ● Your coin (100 Coin or ?)
  • 6. Planning - Coin Design 6. Coin halving configuration ● How long you want coin per block to be halved? ● Bitcoin - 4 years ● Your coin - What kind of cryptonomics you want!! 7. Other Configurations ● Port: Connection / RPC ● *coin.conf o https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File
  • 7. Example Alt Coin ● Scrypt Based Alt Coin o CollegeCoin ● Altcoin from Dogecoin Source o https://github.com/dogecoin o Easiest
  • 8. File Configuration 1 ● Coin Parameters o src/chainparams.cpp  Important Variables to be changed  Genesis Block Creation ● const char* pszTimestamp  Block Average Time + Others ● genesis.nTime <- Block Time ● genesis.nBits ● genesis.nNonce
  • 9. File Configuration 2 ● Port Configuration o src/chainparams.cpp  Variables to be changed ● nDefaultPort ● nRPCPort ● Total Amount of Coin o src/core.h  int64_t MAX_MONEY
  • 10. File Configuration 3 ● Average Block Time o src/main.cpp  Variables to be changed ● nTargetSpacing <- Average Block Generation Time o 1 ~ 10 minute ● nTargetTimespan <- Difficulty readjustment o Bitcoin <- 2 Weeks o 4 days ??
  • 11. File Configuration 4 ● Coin Per Block o src/main.cpp  100 coin per block ● int64_t nSubsidy = 100 * COIN; ● Estimated Number of Blocks per day o src/main.h  return dPriority > 100 * COIN * 1440 / 250  Need Calculation: 1 Coin per minute * 60 min * 24 hours = 1440 Coin per day ● Changing Coin address o PUBKEY_ADDRESS
  • 12. Data Directory ● https://en.bitcoin.it/wiki/Data_directory ● BlockChain Location inside file systems o Mac: o ~/Library/Application Support/Bitcoin/ o Linux: o ~/.bitcoin/ o Windows: o (XP) : C:Documents and SettingsYourUserNameApplication dataYourCoin o (Vista + Windows 7) : C:UsersYourUserNameAppdataRoamingYourCoin
  • 13. Data Directory ● Configuration file (Bitcoin.conf / Collegecoin.conf) needs to be inside data directory. ● Degugging o Debug.log file inside data directory o Program output can be viewed from debug.log o Will need Debug.log for genesis block.
  • 14. Steps to get your Alt Coin 1. Design your coin 2. Clone Dogecoin source into your two computers 3. Compile the program successfully in both computers 4. Create a git repository and push initial code 5. Convert “dogcoin” substrings to “yourcoin” inside all files (mainly under /src directory) a. Be careful not to change any “bitcoin” string i. Will require changing filenames b. Only “dogecoin” strings to be changed to “yourcoin” 6. Change coin parameters as described
  • 15. Steps to get your Alt Coin 2 7. Create genesis block in 1 of your computer a. hashgenesisblock assertion failure i. Read http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide again. b. Will require adding extra piece of code (currently deleted to prevent alt coin creation) i. http://goo.gl/5PiaDk ii. Changing genesis.nTime and genesis.nNonce for regular coin, testnet, regtestnet c. Re-compilation of the code d. Genesis Hash creation (Find from debug.log) e. Change Geneis hash inside src/Chainparams.cpp
  • 16. Steps to get your Alt Coin 3 8. Do the same in other computer ● Use git repository (push/pull) efficiently to bring changes 9. Find external IP address of two computers ● Connect two computers and mine fresh coins 10. Learn how transaction works ● src/rpcrawtransaction.cpp ● Important Classes (main.h) o CBlock o CTransaction
  • 17. Some Thing to Say ● Bitcoin is successful ● There are so many altcoins (> 500) o http://coinmarketcap.com/ ● Create altcoin if you want to learn how Bitcoin/Alt Coin works ● Don’t just create Alt Coin o Rather use your brain to invent ideas o Why you need another coin?
  • 18. Some Thing to Say ● Place for invention o Cryptographic Proof of work systems  Look at Prime coin  Look at Peer Coin o Better Hashing algorithm  Hash Collision resistance etc. o Economic Ideas  Economic equailty  Coin fluidity  Preventing Hoarding
  • 19. Some Thing to Say ● Smart Contracts o Look  Ethereum Project: http://ethereum.org/  Counterparty Project: http://counterparty.io/
  • 20. Thank you ● If you like the information… then..Tip me.. ● Bitcoin Address: o 1Gq13n24ToMcZgHyXnjrD18FpszLhBd1vH ● Litecoin Address: o LVL4yMCuFFbkLGhFfwXes4GrsZBo4vEjWZ ● Dogecoin Address: o DBUjcDFHzqJSjKuB7MpLZJAqHHZbbRpvEC