Table of Contents
[TOC]
This project allow the contract owner to generate a ranking. This ranking is based on the amout of Ether sub to the contract. After a transaction the amout is send to the contract owner and the ranking is lock in the contract.
The main goal is give example of a the integration of drizzle
- Reactjs front-end
- Drizzle handle the connection to the mainnet
- Truffle & Ganache-cli test
- Solidity contract language
Truffle is the most popular development environment and testing framework for DApp developers. It helps you to compile, test, and deploy your contracts to the blockchain.
$ npm install -g truffle
Ganache is a virtual blockchain for local testing
$ npm install -g ganache-cli
Before all, you need to start your test blockchain
$ ganache-cli
The contract need to be compile before used
$ truffle compile
Now start the fron end
$ npm start
The project is used as example of smart contract integration with Drizzle. Please used it, with responsability.