Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Truffle Quick Start Guide
  • Toc
  • feedback
Truffle Quick Start Guide

Truffle Quick Start Guide

By : Bhaskar
5 (1)
close
Truffle Quick Start Guide

Truffle Quick Start Guide

5 (1)
By: Bhaskar

Overview of this book

Truffle is a world-class development environment, testing framework and asset pipeline for Ethereum, aiming to make life as an Ethereum developer easier. If you are a web developer wanting to try your hand at developing Dapps with Truffle, then this is the book for you. This book will teach you to write smart contracts and build Dapps with Truffle. You will begin with covering the basics of Truffle, briefly explaining how it integrates Solidity and Web3, in orderto start building a mini decentralized application. Also, you will dive into migration, testing and integrating Truffle with the use of popular JavaScript frameworks. Lastly, you will ship your decentralized application and package it into a product. Moreover, you will go through the best practices in Truffle,so as to increase your proficiency in building Dapps with Truffle. By the end of the book, you will be able to write smart contracts and build decentralized applications with Truffle on Ethereum blockchains.
Table of Contents (9 chapters)
close

Security best practices

As you may recall, in previous chapters, we created a password.txt file in the root level of our project containing the password to unlock our coinbase account. This was stored in plain text. Of course, this is not the best way to store your passwords: out in the open, in plain text.

How do we make it more secure?

You can put the password.txt file in your .gitignore file. This way, it won't be tracked by Git's version control.

For all other sensitive phrases, passwords or keys, it is also best to store a hard copy of them. In other words, store them offline. Why? This way, your sensitive data is not vulnerable to hackers. If it is offline, only you have it. So, a good idea is to store your passwords on a sheet of paper.

Of course, the next big question is, what if you lose that sheet of paper? It is a single point of failure. Well, the answer...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete