Yield Farming with Loot & NFTs. NFTs has taken CT by storm, you can’t… | by yuming0x | Sep, 2021 | Medium - Deepstash
Confused About NFTs?

Learn more about technologyandthefuture with this collection

How to create and sell NFTs

The future of NFTs

The benefits and drawbacks of NFTs

Confused About NFTs?

Discover 36 similar ideas in

It takes just

6 mins to read

Coming from a DeFi native background, I was skeptical about NFTs, especially “collectible arts”…until I discovered loot . Witnessing the uprise of loot and its ecosystem, I’m feeling emotions I haven’t felt since the summer of 2020.

Enter NFTMiningRewards, a liquidity mining reward contract using NFTs as collaterals: https://github.com/yuming0x/NFTMiningRewards

1

7 reads

Coming from a DeFi native background, I was skeptical about NFTs, especially “collectible arts”…until I discovered loot . Witnessing the uprise of loot and its ecosystem, I’m feeling emotions I haven’t felt since the summer of 2020.

Enter NFTMiningRewards, a liquidity mining reward contract using NFTs as collaterals: https://github.com/yuming0x/NFTMiningRewards

1

0 reads

Tech Implementation

It’s modified on top of the well-known StakingRewards https://etherscan.io/address/0x7FBa4B8Dc5E7616e59622806932DBea72537A56b#code contract, with changes for staking/withdrawing NFT, and added interface for calculating a custom score for an NFT’s token ID. The score of each NFT token ID is then used as the variant for reward distribution. The interface is flexible enough for any custom scoring logic.

An obvious more optimal approach is to use loots https://github.com/bpierre/loot-rarity traits to score different bags.

1

1 read

An example implementation is created for Loot which assigns the score of a bag with the uint256 representation of its string.

1

1 read

IDEAS CURATED BY

decebaldobrica

#engineering, #machinelearning and #crypto

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates