In Chapter 5, Developing Your Own Cryptocurrency, we discussed the ERC-20 and ERC-721 smart contracts and wrote smart contract functions. Now, we can do a quick code verification using the Remix online IDE before we use Truffle to write a unit test. We learned about a basic Remix online IDE feature in Chapter 4, Solidity Fundamentals. In this section, we will explore more Remix features, namely the following:
- Working with the Solidity compiler
- Analysis
- Testing
- Deploying and running transactions
- Debugging
Remix provides both online and local versions to work with. The online version is available at https://remix.ethereum.org. To install Remix on our local device, run the following npm command:
npm install -g remix-ide remix-ide
Once it has been installed successfully, run the remix-ide command and open localhost:8080, as shown in the...