WARNINGS — READ THIS SHIT. FOR REAL.
With great powers come great responsibilities. I’m not responsible for you not being cautious with your ETH, or using these powers for the evil side of force (for Vitalik’s sake, don’t do that). I truly hope you do good and feel empowered by the potential that this technology puts in the hands of people.
THIS CONTRACT HAS NOT BEEN AUDITED. It means that it is experimental code, has not been verified and can be broken, if you intend to do a REAL ICO, you HAVE to Audit the code and do a proper contract tailored to your specs.
I have absolutely no responsibility for you, your dog, your money, or your life. Be big boys and girls and own it.
Before we start:
There are a few different components you will need in order to build your own token.
Ethereum Address (Ropsten Network)
Some Ethereum (Ropsten Network)
A text editor (I.e. Sublime / Atom)
Solidity contract
Be able to cross your fingers twice during the process🤞🤞.
Ethereum address
For this tutorial we will use a test network to issue the token so you don’t end up spending real Ether’s. We will use the Ropsten Test network. In order to get started, go to MyEtherWallet (MEW) and create an account there.
To get setup, click the right hand side corner, change the network to Ropsten (MyEtherWallet) → click the New Wallet →Enter a password you can remember → Download / Save your Keystore file in a safe space → Save your Private Key in a safe space.
To view your wallet address, go to →View Wallet Info →Private Key → Enter the saved private key →Unlock your Wallet and it should be there!
Text Editor
Download one of the following text editors:
Sublime Text
Atom
Contract
Download the smart contract that the legendary Ethereum unicorn rider, BokkyPooBah has helped us to make, by clicking here. ⬅️
You will be editing this code for your own ICO Contract.
Ropsten Ethers [UPDATED]
We have created our own faucet where you can request Ropsten Ethereum! Just access
https://faucet.bitfwd.xyz/ and put your ropsten address and our smart contract will send you some!
Transfer only once please! And if it doesn’t work let me know in the comments!
Now let’s get started:
Open the contract you downloaded in your Text Editor.
Go to Line 3–15 and look at the comment section. Although this is a comment section, this will help you down the track. The name of the template ICO is ‘bitfwd’ CROWDSALE token contract
Change Line 4 to the title of your crowdsale.
You will just change Line 6 after you deploy the contract on the Blockchain.
Change Line 7’s Symbol to your respective coin name (Keep it short)
Change Line 8 to the name of your token
Next:
Go to Line 102 and change “bitfwd” to “(YourCrowdsaleName). DON’T USE SPACE OR IT WON’T WORK.
Do the same for Line 118
Go to Line 119 and change the symbol name, the same as the ones you did in the comment section
Do the same for Line 120
Leave Decimals at 18.
On line 122 you will have to define you first ICO parameter, when does the bonus ends?
And on line 123, you will define when does the Crowdsale ends.
Alright, we are almost done editing the contract code.
Now, go to line 212. On that comment, write what is the amount of your tokens you will be giving away for ETH.
On line 218, define how much people will get within the BONUS.
On line 220, define how much people will get without the BONUS (the same ratio that you put on line 212).
The “msg.value” is the amount of ETH that someone sent. So taking my contract as example, for every 1 ETH, i would give 1000 FWD in return.
Boom! The contract is done. Yes, it was that easy right? Now we are going to do some fun stuff, so bare with me until the end!