Hosting our frontend

In Chapter 8Creating an ICO, we created all of the necessary components of an ICO. Our backend consisted of the ERC-20 token contract, together with the token sale contract, both of which were deployed to the Rinkeby network.

We also created a frontend in the form of a standard HTML, CSS, and JavaScript website, hosted on a local web server. Our frontend interacted with the blockchain backend by way of the Web3 JavaScript library and the MetaMask browser add-on.

Now, we want to remove our reliance on the centralized frontend, and replace it with a frontend served by either IPFS or Swarm.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset