project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

$deeproot

Build a bitcoin meme-defi dAPP on RootStock protocol, implementing Reflection Token Reward Logic

$deeproot

Created At

ETHGlobal San Francisco

Winner of

Rootstock - Best DeFi dApp on Rootstock Honorable Mention

Project Description

We built and deployed a rootstock smart contract implementation from scratch.

This project involves developing a A Bitcoin meme-defi-DAO-governance dAPP on RootStock , with Reflection Token Logic in BitMask web wallet. We equally built and deployed ERC20, ERC721, IERC20 token standards in Rootstock.

The reflection mechanism rewards token holders through automatic reflections or dividends from transactions, encouraging long-term holding. The dApp is deployed within the BitMask Wallet, enabling users to seamlessly interact with the decentralized financial ecosystem built on Bitcoin.

The integration with MetaMask allows users to connect their MetaMask wallet to interact with the dApp, facilitated by RainbowKit, a popular library for wallet connection. The deployment of the RootStock smart contract enables secure, scalable, and low-cost financial transactions using Bitcoin's Layer 2. The smart contract will manage reflection rewards and allow users to participate in liquidity pools.

$deeproot not only bridges Bitcoin and Ethereum’s DeFi ecosystem but also establishes a solid foundation for future Bitcoin-evm financial applications.

How it's Made

Smart Contract Development on RootStock (RSK)

we built an ERC-20 token smart contract using Solidity on RootStock with built-in reflection mechanisms. Reflection tokens automatically redistribute a percentage of each transaction to holders based on their holdings, creating passive income. This contract would include methods like transfer, approve, and rewardDistribution. Implement the logic so that each transaction applies a fee that gets distributed among token holders.

Integration with BitMask Web Wallet and MetaMask We used RainbowKit to bridge the interaction between MetaMask and BitMask. This will allow users to connect their MetaMask wallet to BitMask's dApp where the contract is deployed.

We built a frontend web-based user interface (UI) for the dApp, allowing users to: View balances, interact with the contract, such as buying or transferring tokens.

We made sure that RootStock is set as a custom network in MetaMask. verifying details such as the RPC URL, chain ID, and network name.

background image mobile

Join the mailing list

Get the latest news and updates