Bitcoin Forum
June 26, 2024, 06:55:19 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ICO Generator  (Read 181 times)
SnowCron (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
March 17, 2018, 08:30:15 AM
 #1

ICO Generator is officially on

ICO Generator is officially on: seeour hands-on tutorial

Fill an online form to customize the ICO you want to run, and get a ready-to-deploy Solidity script with Token and Crowd Sale contracts.

Suggestions and bug reports are highly appreciated.

https://duke-of-ether.com/images/ico_generator_01.jpg
Fizpok
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile WWW
March 18, 2018, 12:45:06 PM
 #2

ICO Generator Features
Let's walk through the features ICO Generator provides. First of all, some sections of the code are not possible to remove, as they are always required, no mater what features you select.

Safe Math
A small helper class, taking care of arithmetic overflow errors. Let's say you have a balance variable, and it is equal to 10. Then you (accidentally) subtract 20 from it. As Solidity does not have negative numbers, an overflow happens, and now the "balance" holde a REALLY large number. Which can create a disaster, as we are talking about money. SafeMath makes this situation impossible.

Ethereum Programming Guide
Create Solidity contracts: Step-by Step Hands-on Guides.
Fizpok
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile WWW
March 19, 2018, 12:19:35 AM
 #3

To create a signature, follow bitcointalk's standards and use their signature builder, available in a "profile" section of the forum.

To get the resulting HTML, you will have to do some odd things. First, add the signature to your profile. Now all your posts should have it (and yes, you can not use this approach to create a signature for a rank that is higher than your current rank). Use "View document source" option of your browser to see the HTML code. DO NOT use "Inspect" option, as it adds some extra formatting.

You will see your signature in the page's HTML:

...
ICO Dev. Kit (https://duke-of-ether.com)

...
Here "1467940" is your (actually, my, it is different for you) user id. Keep in mind, that any extra space or carriage return will make a different signature, so our scanner will not recognize it. It can be a challenging task, as senior forum members can have a very complex signatures:


Ethereum Programming Guide
Create Solidity contracts: Step-by Step Hands-on Guides.
Fizpok
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile WWW
March 19, 2018, 07:41:06 AM
 #4

ICO Generator User Guide

ICO Generator is an online service that generates Solidity scripts for ICO Campaigns. Very often, a developer faces a situation when a client wants to launch an ICO, and requirements are changing "as we go". Or maybe you just want the job to be done FAST.

The idea behind ICO Generator tool is to allow the user to select features required for a particular campaign, like minimum and maximum goals, token name and so on. Then the Solidity contract is genegated automatically, and all that is left to do is to copy it and deploy.

On the following screenshot you see a typical view of an ICO Generator: the user set an "ICO" checkmark and specified campaign min. and max target as well as number of "shares" to issue (explained below).



Note that the "+" signs used to expand / collapse code fragments are there for reader's convenience only. When you believe that all features are specified, right before copying the code, you have to expand all collapsed sections.

Ethereum Programming Guide
Create Solidity contracts: Step-by Step Hands-on Guides.
Fizpok
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile WWW
March 19, 2018, 05:11:13 PM
 #5

ICO Generator Features
Let's walk through the features ICO Generator provides. First of all, some sections of the code are not possible to remove, as they are always required, no mater what features you select.

Safe Math
A small helper class, taking care of arithmetic overflow errors. Let's say you have a balance variable, and it is equal to 10. Then you (accidentally) subtract 20 from it. As Solidity does not have negative numbers, an overflow happens, and now the "balance" holde a REALLY large number. Which can create a disaster, as we are talking about money. SafeMath makes this situation impossible.

Ethereum Programming Guide
Create Solidity contracts: Step-by Step Hands-on Guides.
Fizpok
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile WWW
March 20, 2018, 05:21:54 AM
 #6

List of Active Campaigns.

An ICO Dev. Kit maintains a list of available ICOs that your visitor can browse, a simple commercial listing tool. As we have added our ICO Campaign (and have at least one day's balance on our account, and a Campaign is marked as "published"), it should be visible in that list.

In the Left Menu, select ICO Toolkit - ICO Toolkit - List of ICOs.



To participate in a bounty (signature, testing and so on) campaigns, the visitor clicks the "Participate" button; it presents the screen with a simple registration form. Let's enter our data (nothing prevents you from promoting your own Campaign).

Ethereum Programming Guide
Create Solidity contracts: Step-by Step Hands-on Guides.
jimely0907
Newbie
*
Offline Offline

Activity: 199
Merit: 0


View Profile
March 20, 2018, 03:24:00 PM
 #7

how would be possible a generator?
Fizpok
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile WWW
March 20, 2018, 07:56:56 PM
 #8

how would be possible a generator?

There are well-tested blocks people use to build their contracts. We put them together and added a form with checkboxes and so on - you can choose the config you want for your ICO. Then you get the Solidity code, ready to be deployed.

Ethereum Programming Guide
Create Solidity contracts: Step-by Step Hands-on Guides.
Pages: [1]
  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!