Getting Started
Prerequisites
Developing a dApp requires you familiar with several tools. We'll use some tools in this tutorial but we assume you have at least basic knowledge with them.
๐ ๏ธ Solidity
We'll use to solidity as the programming language to write on-chain logic.
๐ Javascript
We'll implement the frontend UI logic using javascript.
๐ Reactjs
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.
๐ ๏ธ 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.
npm install truffle -g
๐ Create-React-App
# No need to install create-react-app,
# just use 'npx create-react-app' to invoke it.
npx create-react-app
๐ CLV local node
We assume you start your CLV local node using below command, you might need to adjust some settings if you start CLV use a different command arguments.
./target/release/clover --dev --alice
Last updated