Inspiration
Imagine this: You are an avid NFT collector and have a bunch of NFT's on Solana as well as on other chains. You like your NFT's and don't want to sell them. However they are not liquid. Wouldn't it be cool if you could pawn them temporarily to get some SOL? When you want it back, you just return the SOL with interest.
Well, hawk protocol is what I built to solve this exact problem.
What it does
It allows you to borrow SOL at low interest rates directly by collateralizing your NFTs on-chain. Liquidity providers can supply SOL to earn interest.
How we built it
Nextjs + Rust + Caffeine
Accomplishments that we're proud of
- Pyth has a specific data structure on-chain which cannot be changed. I tried to fork pyth, but it turned out too be poorly documented and supported. So I just marshalled the data I needed into the exisiting fields. Now everything just worksTM
- A lot of tricky technical details surrounding liquidations, borrowing and lending apy calculations, and so on which had to be carefully thought through. If you want the entire technical details look at our docs.
What's next for Hawk protocol
- Getting Pyth data providers on devnet first, then mainnet for major NFT collections.
- Wormhole integration (Lend your cryptopunks and rocks directly for SOL)!!
- Mainnet launch
- Fractionalization of Collateralized NFTs!?
- DAO for managing Collateralized NFTs
Built With
- javascript
- nextjs
- pyth
- react
- rust




Log in or sign up for Devpost to join the conversation.