Book Image

Security Tokens and Stablecoins Quick Start Guide

By : Weimin Sun, Xun (Brian) Wu, Angela Kwok
Book Image

Security Tokens and Stablecoins Quick Start Guide

By: Weimin Sun, Xun (Brian) Wu, Angela Kwok

Overview of this book

The failure of initial coin offerings (ICOs) is no accident, as most ICOs do not link to a real asset and are not regulated. Realizing the shortcomings of ICOs, the blockchain community and potential investors embraced security token offerings (STOs) and stablecoins enthusiastically. In this book, we start with an overview of the blockchain technology along with its basic concepts. We introduce the concept behind STO, and cover the basic requirements for launching a STO and the relevant regulations governing its issuance. We discuss U.S. securities laws development in launching security digital tokens using blockchain technology and show some real use cases. We also explore the process of STO launches and legal considerations. We introduce popular security tokens in the current blockchain space and talk about how to develop a security token DApp, including smart contract development for ERC1404 tokens. Later, you'll learn to build frontend side functionalities to interact with smart contracts. Finally, we discuss stablecoin technical design functionalities for issuing and operating STO tokens by interacting with Ethereum smart contracts. By the end of this book, you will have learned more about STOs and gained a detailed knowledge of building relevant applications—all with the help of practical examples.
Table of Contents (9 chapters)

Setting up an Ethereum development environment

We just learned the basics of the Truffle and Ganache development tools. It is time to set up our development environment using the tools we mentioned previously.

Make sure you have installed Node.js and npm in your working environment. If you haven't set them up, please follow the official documentation, which is available at https://www.npmjs.com/get-npm.

We will install the following tools. This book's example runs in a Windows environment:

  • Installing Truffle: Open the command-line terminal window and run the following command:
npm install -g [email protected]
  • Installing Ganache: Open the command-line terminal and install Ganache's command-line interface:
npm install -g ganache-cli
  • Launching Ganache environment: Once Ganache is installed, verify and start Ganache by running the following command:
ganache-cli

...