HODL Helper

Believe in something and just HODL

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

About

HODL Helper aims to help people lock away tokens they truly believe so they aren't tempted into trading.

One of the best moves people can make when investing is to "buy and hold". This is especially true in the stock market, but I also believe that it can be valid in crypto, even if that hasn't been fully proven yet.

Locking tokens away helps keep people true to the strategy, as humans are easily tempted by charts in general. The goal of this app is to lock tokens away without completely stopping users from accessing the funds in case they need them.

Protocol

The onchain protocol is built around the concept of a "Lock". A Lock escrows any amount of a single token, along with a user-specified holding period.

To setup a Lock, a small fee of 0.00069 ETH is charged as part of the transaction. This fee helps fund the development of the app. It's pretty easy for infrastructure for the frontend and backend (planned for future) to need to scale with traffic, which costs money.

You can always add more tokens to an existing Lock, which again incurs the same small transaction fee (0.00069 ETH).

The tokens in a Lock can be withdrawn at any point, however, if withdrawn prior to the holding period ending, a 10% penalty is applied. This penalty is not applied if withdrawing after the holding period ends.

Sequence Diagram

Created with Raphaël 2.2.0Smart Contract SequencesUserUserTokenTokenHODL HelperHODL HelperProtocol OwnerProtocol OwnerUser approvesApprove HODL Helper contractTransaction successUser configures LockCreate LockEscrow tokensTokens escrowedTransfer feeTransaction successUser adds to LockAdd to LockEscrow tokensTokens escrowedTransfer feeTransaction successUser withdraws earlyWithdraw tokensTransfer penaltyPenalty tokens sentTransfer remainingRemaining tokens sentTransaction SuccessUser withdraws after holdingWithdraw tokensTransfer remainingRemaining tokens sentTransaction Success

dApp

The current dApp is written in NextJS. It's a framework I'm comfortable with and has large support, especially in web3 and it uses React.

It's meant to be a pretty simple MVP. I've built the smart contract to be useable as a simple backend, however, more complex ideas I have like trending tokens will require a backend in the future. For now, that's something I planning on working on, but want to get this out in front of the community to get feedback.

Design

I'm not a designer, but I'd like to think that I've learned a few things over the last few years of building. This doesn't mean that the design is good, but hopefully it's not bad either.

In my head, HODL Helper has always been yellow. Not sure why, maybe it's cause I think the logo should be similar to the Walmart smiley face stickers they give out. I'm open to changing this around and would love input from the community.

Please feel free to roast my designs! I need the help :)

Roadmap

Honestly, I want to build the app out more than the MVP, but it's not on a set timeline and I want to stay open to ideas from the community.

Here's a mindmap of ideas I have for the future of the app that can serve as a good starting point.

Optimism
Arbitrum
Base
Ethereum
Public API for retreiving indexed data
Index Locks for easier querying
Django REST Framework
Top tokens people are locking away (future)
In-app token purchases via DEXs (future)
Shareable Lock page
Copy Lock
Recent Locks feed
NextJS
Solana (future)
EVM
Backend (future)
Frontend
Protocol
HODL Helper