First steps to using the platform on the example of Simple ICO smart contract

Smartz
Smartz Platform Blog
5 min readMar 2, 2018

--

To access the platform, you must complete a simple signup procedure.

Go to platform.smartz.io and click Log in button to log in with your preferred method: Facebook, GitHub, Google, or specify your email and password. After signup is complete, you’re redirected to the page with available smart contracts.

The authors are not responsible for any possible losses resulting from your use of the alpha version of the service with an Ethereum wallet. To use our service, you need to connect the Rinkeby test network.

1. Creating a test wallet

To use the platform, you must install the MetaMask client, which is an Ethereum wallet embedded in your browser. This enables interactions with the Ethereum network without previously installing and synchronizing a full Ethereum node or any other additional software on your PC.

The client is available as a browser extension, and is currently accessible in Google Chrome, Firefox and Opera. Here we’ll take a look at how to install MetaMask in Google Chrome. For other browsers, the procedure is virtually the same.

To run the client, go to its website and click GET CHROME EXTENSION. This redirects you to the Chrome Web Store. When the page loads, click ADD TO CHROME. After the plugin is automatically installed, it is visible in the top right corner of the browser (fox head logo). After you accept the terms of use for the client (Accept), you’ll be redirected to the password entry box.

Enter your desired password. After that, the client automatically generates a list of 12 keywords required to recover access to MetaMask. MetaMask encrypts all data, and without these 12 keywords you will not be able to ever recover access. We recommend you save this list in a file and write it down on paper.

Click SAVE SEED WORDS AS FILE to save the keywords on your PC.

Then click I’VE COPIED IT SOMEWHERE SAFE. Now you can click the plugin icon in the top right corner of the browser window to use the wallet.

After you open the wallet, click the dropdown list in the top left corner to expand the available networks menu. By default, Main Ethereum Network is selected. You must select Rinkeby Test Network on your own.

A test network account will then appear. Click the three dots, and copy the address by selecting Copy Address to clipboard in the menu.

At this time, there are 0 ethers in your newly created wallet. To start testing, you need at least a few ether in your wallet. To do this, you can use what’s known as an Ethereum faucet. For our purposes, we recommend the Rinkeby Authenticated Faucet.

The Rinkeby test network is protected against a number of attack types. To pass the protection barrier, you have to make post containing your Ethereum wallet address in one of the following three social networks: Twitter, Google+ or Facebook.

To request funds, publish a post containing your wallet address, as well as some other text (optional). Copy the URL of your post and add the link to the box in the top of the Rinkeby Authenticated Faucet page. After the ethers are deposited in your wallet, you may delete the post. Example of the link to the Facebook post in the address bar:

By clicking Give me Ether, you can select the required Ether amount. For a one-time testing you only need a small number of ethers. However, to have enough ethers for tests in the future, we recommend requesting the maximum possible amount. Click the 18.75 Ethers / 3 days menu item. The time span listed after the Ether amount is the minimum interval before you can submit another request. The ethers will arrive in your wallet within a few minutes.

In a couple of seconds a green text box should appear, which means the transaction was successful.

2. Accessing Simple ICO. Step №1

After the ethers are deposited in your account, return to the platform’s home page and click Deploy for 0.05 ETH next to the Simple ICO contract.

Then you must fill in all the following fields on the next page:

  • Contract name (3–100 digits, Latin letters only);
  • Token name (3–100 digits, Latin letters and spaces only);
  • Ticker (token emblem, 3–10 digits, Latin letters w/o spaces);
  • Token burning feature (checkbox);
  • ICO start date;
  • ICO end date;
  • Exchange rate — ether token exchange rate (e.g., if you specify 100, this means that 1 Ether will be purchased for 100 tokens);
  • Hard cap — the top limit for fundraising during the ICO;
  • Wallet address.

The resulting page will look as follows (example):

Click Proceed to step 2 at the bottom of the page.

3. Accessing Simple ICO. Step №2

Click Deploy now for 0.05 ETH on the page that opens.

A wallet window then pops up, where you must re-check all the information and click SUBMIT.

4. Running Simple ICO

In a few minutes, your contract will be made available in the network.

Click the contract address for more information.

Congratulations! You just created a smart contract for a simple ICO.

--

--