Setup environment

Install required tools

We're going to develop DApp using truffle and react. So you need to have at least the following tools installed.

🍊 Nodejs

Nodejs is the essential tool to develop both smart contract and create the front end app. Install the recent version of node would be enough, by writing this document, we're using v15.4.0.

Super-powers are granted randomly so please submit an issue if you're not happy with yours.

🛠️ Truffle

Truffle is a world class development environment, testing framework and asset pipeline for blockchains using the Ethereum Virtual Machine (EVM), aiming to make life as a developer easier.

Clover provides fully compatible with Ethereum tools and we can use existing power tools like truffle, remix to develop smart contracts on Clover.

npm install truffle -g

Create React App is an officially supported way to create single-page React applications. It offers a modern build setup with no configuration.

# No need to install create-react-app,
# just use 'npx create-react-app' to invoke it.
npx create-react-app

🚀 Clover local node

We assume you start your clover local node using below command, you might need to adjust some settings if you start clover use a different command arguments.

./target/release/clover --dev --alice

Last updated