Unloot the Loot Project: my very first Solidity smart contract deployed on Ethereum

The Inspiration: The Loot Project

The Idea

The Unloot Project

Unpack function

  • Katana
  • Ornate Chestplate
  • Great Helm
  • Ornate Belt of detection
  • Ornate Greaves of Anger
  • Dragonskin Gloves
  • Necklace
  • Gold Ring of Titans

Repack function

Conclusion

Where can I test it?

  • Go on the Loot Contract tab and claim a Loot Bag (try some not claimed ID)
  • You should now see your Bag in the Loot list tab
  • Now what you need to do is to go on the Loot Contract and approve the Unloot address to transfer your Loot Bag the Unloot Contract
  • Now you can go to the Unloot Contract tab and execute the unpack function. Use your Loot tokenId as input
  • If you go to Unloot list you should see your bag exploded into 8 different Unloot NFT item.
  • Now you can do whatever you want with those items! Sell them on OpenSea, transfer them to a friend, exchange them with another adventure’s item.
  • If you own all the items from a Loot bag you can go to the Unloot Contract tab and repack those items to get back a Loot Bag. The UI is not super easy so you need to remember the ID of Unloot tokenId and input them from the smaller to the bigger one (smaller = sword, bigger = ring).

Why have you developed it?

  • I want to grow in my web3/solidity path and learn fast
  • I like to build things
  • I wanted to create something on my own from scratch
  • This project allowed me to create content to share with the community that will learn from my experience

Is this project useful?

Are there other projects like this?

Where can I follow you?

--

--

--

Full-stack engineer at @Soplaya with a lot of love for everything around technology https://ericci.dev

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Top 8 xAPI Questions Everyone Wants to Know

What is Web Scraping and how it works? — Part 1

Battle-tested CI/CD environments in enterprises for Kubernetes workloads

Subscription system launch and simplification of Tiers

What I learned from AWS re:Invent 2018

4 Really Small Things That Say a Lot about You Hint: It’s not what you say.

The road you should not follow

Simple accelerometer using ADXl345 and raspberrypi

ADXL345 acceleration sensor

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
StErMi

StErMi

Full-stack engineer at @Soplaya with a lot of love for everything around technology https://ericci.dev

More from Medium

An unofficial audit of a Solidity Game smart contract: Wizards & Dragons Game

Reentrancy, DoS, Withdrawal Pattern and Fallback Functions on Ethereum Blockchain

Deploy Solidity Contracts to an NFT Marketplace With Price Feed

Merkle Trees for Smart Contracts in 1 Minute