Skip to content

0xJilan/CLEARN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to CLEARN

CLEARN allows users to invest funds in DEFI without having to deal with its complexity and while redistributing a portion of its returns to the association of his choice that contribute to environnement

Clearn ENTITES

To improve your understanding of the project, here are the entities described CLEARN ENTITES

Clearn ERC20 Contract on GOERLI

0xeB13E623606B617d49bA8070DbC941628fBbf2dC

Treasury Contract on GOERLI

0x5e2155262e03A02f06a4Ed4606a4c39E7e905e7A

Staking Contract on GOERLI

0x68068CDe5a5922d76C911cf32B5642Ea99339506

DEMO WEBSITE

Test the dapp here: https://clearn-phi.vercel.app/

Instalation

# Fetching sources from  Github
$ git clone [email protected]:0xJilan/CLEARN.git
# Install NextJS dependencies
$ cd client
$ npm install
# Install Hardhat dependencies
$ cd hardhat
$ npm install

Launch local blockchain for dev

# Run Ganache
$ ganache
# Run CLEARN ERC20 test  :
$ cd hardhat
$ npx hardhat test test/Clearn.js --network hardhat

CLEARN ERC20 TEST

# Run Treasury test  :
$ cd hardhat
$ npx hardhat test test/Treasury.js --network hardhat

TREASURY TEST

# Run Staking test  :
$ cd hardhat
$ npx hardhat test test/Staking.js --network hardhat

STAKING TEST

# Run front :
$ cd client
$ npm run dev
  Starting the development server ...

Dapp should be running on http/localhost:3000/