Giter Site home page Giter Site logo

catherinee24 / staking-dapp Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 8.75 MB

Staking Dapp Protocol

Home Page: https://bejewelled-croissant-f9c497.netlify.app/

License: MIT License

HTML 12.30% JavaScript 66.46% Solidity 17.36% CSS 3.88%
openzeppelin-contracts solidity bnb-chain metamask-wallet openzeppelin-solidity reactjs staking-contract staking-rewards web3js

staking-dapp's Introduction

Staking Dapp โ›“

Badge showing project license type Badge showing the react version Badge showing the solidity version Badge showing the hardhat version Badge showing the prettier plugin solidity version Author

This project was made to understand how the architecture of a staking protocol works, the code of the main contract of our project is in src/contracts/TokenFarm.sol, how the tokens of the project are managed.

You can also see how the ELLA reward token and the TECH staking token were designed.

All the UI design that was done with React, you can find it in src/components.

It was challenging and fun to do this project, if you want to understand how the most famous staking protocols work in web3, this project will help you in a basic but functional aspect.

To test the project you only need to have your Metamask wallet with fake BNB that you can find here.

Installing / Getting started

# Clone this project
$ git clone https://github.com/catherinee24/staking-dapp

# Access
$ cd staking-dapp

# Install dependencies
$ npm install

Commands

  • $ truffle compile : Upon first run, all contracts will be compiled. Upon subsequent runs, Truffle will compile only the contracts that have been changed since the last compile.
  • $ truffle migrate : This will run all migrations located within our project's migrations directory.
  • $ truffle test : Run all tests located within our project's test directory.

Technologies / Built With

Prettier definition

Prettier offers support for multiple languages and frameworks. What offers is to take your code and "re-format" it based on the defined settings thus maintaining a consistent style. Making it much more readable and without worrying about how you write it initially.

Link to install prettier: Prettier

Link to install a prettier plugin for automatically formatting your Solidity code: Prettier Plugin

License

This project is under license from MIT. For more details, see the LICENSE file.

Contributing

Contributions are always welcome! Open a PR or an issue!


Made with โค๏ธ by CatellaTech

staking-dapp's People

Contributors

catherinee24 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.