how to build a coin and start an ico

15
How to build a coin and start an ICO Espeo Ninja Academy

Upload: espeo-software

Post on 21-Jan-2018

943 views

Category:

Technology


2 download

TRANSCRIPT

How to build a coin

and start an ICO

Espeo Ninja Academy

// 2

Agenda

1. Ethereum and smart contract development introduction

[30 min]

2. Coin and ICO requirements discussion [30 min]

3. Smart contract implementation [3 hours]

4. Pizza break! [30 min]

5. ICO status page implementation [1 hour]6. Description of workshops:

http://espeo.eu/blog/workshops/build-coin-start-ico/

1.

Why blockchain?

// 4

Ethereum

Decentralized platform -

global computer

Own currency - Ether

Accounts:

Externally owned

(private keys)

Smart contracts

// 5

Ethereum

Tools:

MyEtherWallet

Mist

Parity wallet

Etherscan.io

Go-ethereum, Parity…

Networks:

Production: Mainnet

Test: Ropsten, Rinkeby,

Kovan

Private

// 6

Goal: fundraising

Unregulated

Coin vs token

ERC20 standard

Elements:

Smart contract(s)

Status page

Whitepaper

Marketing

Initial Coin Offering

// 7

Smart contract development

Process

1. Specification

2. Implementation + unit tests (TDD)

3. Building (bytecode + ABI)

4. Deployment

5. Testing

Immutability!

Tools

Solidity,

OpenZeppelin Solidity contracts,

Truffle Framework,

Testrpc,

JavaScript unit tests,

MyEtherWallet.com,

Solium

// 8

Example

// 9

ICO specification

Let’s decide! It’s up to you!

Duration - start/end dates, ending conditions (min/max caps),

Bonus scheme,

Tokens accessibility,

Funds accessibility,

Fallback scenario,

...

// 10

Coding time!

// 11

Integrating Ethereum with apps

JSON-RPC API

Libraries: web3.js, web3j, Nethereum, ethereum-ruby

INFURA.io infrastructure

ABI necessary for smart contract interaction

Private key handling:

One of many libraries: ethjs-account, eth-lightwallet...

Mist browser, MetaMask Chrome extension - inject web3.js

// 12

ICO status page

Time until end

Total raised

Total sold

# of participants

Bonus scheme

...

// 13

Coding time!

Click for resources:

Article – How to Build a Coin and Start an ICO

Article – State of Blockchain 2017

GitHub link https://github.com/espeo/token-ico-

example

// 15

http://try.espeo.eu/ico/