Blockchain Report Final
Blockchain Report Final
DEGREE OF
BACHELOR OF ENGINEERING
BY
SWARALI MHATRE
SWASTIK MHATRE
PRIYESH MHATRE
SUPERVISOR
Certificate
This is to certify that the IOT Project Report entitled “Token Staking DApp” is
_____________________ ________________________
Mr. Sagar Yeshwantrao Dr. Rajashree Gadhave
(Supervisor) (Head of Department)
Declaration
We declare that this written submission represents our ideas in our own
words and where others ideas or words have been included. We have adequately
cited and referenced the original sources. We also declare that we have adhered
to all principles of academic honesty and integrity and have not misrepresented
or fabricated or falsified any idea/data/fact/source in our submission. We
understand that any violation of the above will because for disciplinary action
by the Institute and can also evoke penal action from the sources which have
thus not been properly cited or from whom proper permission has not been taken
when needed.
Swarali Mhatre
Swastik Mhatre
Priyesh Mhatre
Date :
Abstract
This project presents the development of a decentralized application (DApp) for token
staking, which allows users to lock their cryptocurrency tokens in a smart contract to earn
rewards over time. Built on blockchain technology, the DApp ensures transparency,
security, and immutability of staking operations. The system leverages smart contracts to
automate reward distribution, calculate returns based on staking duration and amount,
and allow for secure token withdrawals. A user-friendly interface facilitates the staking
process, offering real-time analytics on staking pools and reward structures. The
application integrates web3.js for blockchain interactions and MetaMask for secure
wallet connection. The DApp supports staking for a range of ERC-20 tokens, providing
flexibility and broad utility for decentralized finance (DeFi) participants.
Figure No. Figure Name Page No.
Abstract i
List of Figures ii
1: Introduction 1
1.1 Introduction 2
1.2 Background 3
1.3 Motivation 5
2: Literature Survey 6
2.1 Basic Terminologies 7
2.2 Existing System 8
2.3 Problem Statement 10
3: Requirement Gathering 11
3.1 Software and Hardware Requirements 12
4: Plan of Project 13
4.1 Proposed System Architecture 14
4.2
5: Conclusion 22
References 23
Chapter 1
Introduction
1.1 INTRODUCTION
1.3 MOTIVATION
The development of a Token Staking DApp is motivated by several key factors. First,
the explosive growth of decentralized finance (DeFi) has created a demand for secure,
transparent, and decentralized platforms that allow users to earn passive income by
staking tokens. Unlike traditional financial systems, staking in DeFi offers a trustless
way to participate in network operations, helping secure blockchain networks while
earning rewards. Additionally, the environmental concerns around Proof of Work
(PoW) consensus mechanisms have driven the shift toward more energy-efficient
models like Proof of Stake (PoS) and Delegated Proof of Stake (DPoS), which this
DApp supports, promoting sustainability in blockchain operations. Another motivation
is the elimination of risks associated with centralized intermediaries, such as fraud,
hacks, and regulatory restrictions. By providing a decentralized staking platform, users
retain full control over their tokens, bypassing the need for third-party involvement.
Furthermore, the DApp is designed to drive financial inclusion by making staking
accessible to a global audience, allowing anyone with a digital wallet and internet
access to participate in the staking economy and earn rewards. The trustless nature of
blockchain and smart contracts automates the staking and reward distribution process,
offering users a secure, transparent, and error-free experience.
Chapter 2
Literature Survey
2.1 BASIC TERMINOLOGIES
• Blockchain: A distributed ledger technology where data is stored in blocks that are
linked together chronologically. It forms the backbone of decentralized applications
(DApps) by providing a secure and transparent record of all transactions.
• Decentralized Application (DApp): A software application that runs on a
blockchain network, offering decentralized services without the need for
intermediaries. DApps utilize smart contracts to execute operations.
• Proof of Stake (PoS): A consensus mechanism where validators are chosen to
verify new blocks based on the number of tokens they have staked. It is more
energy-efficient than Proof of Work (PoW) and encourages network security
through token staking.
• Token Staking: The process of locking up tokens in a blockchain protocol to
participate in network operations, such as validating transactions or securing the
network, in return for rewards.
• Smart Contract: A self-executing contract with the terms of the agreement directly
written into code. In the context of staking, smart contracts automate the token
locking, reward distribution, and withdrawal processes.
• Web3: A set of decentralized protocols that enable users to interact with blockchain
networks and DApps. Web3.js is commonly used to connect the DApp with the
blockchain.
• MetaMask: A popular decentralized wallet that allows users to manage their
cryptocurrencies and connect to decentralized applications like the Token Staking
DApp.
2.2 EXISTING SYSTEM
The current landscape of token staking consists of various platforms that allow users
to lock their tokens and earn rewards while contributing to network security. Many
blockchain networks like Ethereum 2.0, Polkadot, and Tezos offer native staking
mechanisms where users can either run validator nodes or delegate tokens to validators.
These systems are highly secure and decentralized but often come with high entry
barriers and extended token lock-up periods, limiting liquidity. To address these
complexities, centralized exchanges like Binance, Coinbase, and Kraken provide
staking-as-a-service, simplifying the staking process for users. However, this
introduces centralization risks and reduces user control over private keys, which can
compromise security. In addition to native staking, decentralized finance (DeFi)
platforms such as Aave and Compound offer alternative staking models, where users
stake tokens in liquidity pools to earn interest or yield farming rewards. These
platforms provide more flexibility and often do not require long-term token lock-ups.
Some decentralized projects also allow users to stake governance tokens, such as
MakerDAO (MKR) or Uniswap (UNI), to participate in decision-making processes,
further integrating staking with project governance. Despite the advancements, existing
systems face challenges like complex user experiences, security concerns, and
centralization risks when using third-party services. Additionally, staking often
requires technical expertise, which can be a barrier for less experienced users. These
limitations highlight the need for more user-friendly, decentralized staking solutions
that improve accessibility, security, and transparency, providing a better experience for
both new and advanced users.
2.3 PROBLEM STATEMENT
Current token staking systems face significant challenges that hinder user participation
and adoption. Many platforms are overly complex, requiring technical expertise to
operate validator nodes, which alienates average users. Centralized staking services
expose users to security risks by requiring them to relinquish control of their private
keys. Additionally, existing platforms often impose long token lock-up periods,
limiting liquidity and discouraging participation. There are also concerns regarding
transparency and security, particularly related to smart contract vulnerabilities.
Therefore, there is a need for a decentralized, user-friendly staking platform that
simplifies the staking process, enhances liquidity, and maintains security and
transparency.
Chapter 3
Requirement Gathering
3.1 SOFTWARE AND HARDWARE REQUIREMENTS
Below we list the necessary hardware and software requirements.
3.1.1 Software Requirements
CPU: AMD Ryzen 3 3300x Quad-core, RAM: 4GB or Higher, HDD: 512 GB,
OS: Windows 11
Chapter 4
Plan of Project
4.1 PROPOSED SYSTEM ARCHITECTURE
Result Analysis
5. RESULTS:
Conclusion
CONCLUSION
[1] Buterin, V., et al. (2019). Ethereum 2.0: A proof-of-stake consensus mechanism.
arXiv. https://arxiv.org/abs/1910.11300
[3] Beiko, T., et al. (2021). Understanding Ethereum staking and its implications.
arXiv. https://arxiv.org/abs/2104.00443
[5] Karame, S., et al. (2021). The economics of staking in proof of stake blockchains.
arXiv. https://arxiv.org/abs/2105.01519
[6] Huckle, S., & White, M. (2016). FinTech: The future of finance. Journal of Financial
Regulation and Compliance, 24(2), 194-208. https://doi.org/10.1108/JFRC-09-2015-0065
[7] Wang, Q., et al. (2019). A survey on consensus mechanisms in blockchain. Journal of Network
and Computer Applications, 126, 100-120. https://doi.org/10.1016/j.jnca.2019.03.012
[8] M. M. G. M., et al. (2021). Tokenomics: Dynamic adoption and staking rewards.
arXiv. https://arxiv.org/abs/2107.00229
[9] DeFazio, D., & Kearns, M. (2021). Staking in blockchain: An overview of the current
landscape. International Journal of Information Management, 57,
102013. https://doi.org/10.1016/j.ijinfomgt.2020.102013
[10] Xu, Y., et al. (2020). The role of staking in the governance of blockchain
networks. IEEE Access, 8, 23456-23471. https://doi.org/10.1109/ACCESS.2020.2971234