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?

--

--

--

#web3 dev + auditor | @SpearbitDAO security researcher, @yAcademyDAO resident auditor, @developer_dao #459, @TheSecureum bootcamp-0, @code4rena warden

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

Recommended from Medium

Tips to Survive Pair Programming (Post-Pandemic)

Boom or Bust, 50 Days to Colorado Gold Rust: Day 16

AXI FFT Experiment with Generated Sine Data

Step by Step Guide on how to learn SQL

CS373 Spring 2020: Anas Abdelrahim (Week 8)

Working with Rational numbers

Perl Debugger Superpowers, Part 2

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

#web3 dev + auditor | @SpearbitDAO security researcher, @yAcademyDAO resident auditor, @developer_dao #459, @TheSecureum bootcamp-0, @code4rena warden

More from Medium

[Solidity] Contract code size over limit

Attacks on Smart Contract — Chapter 1

Laika Blockchain Lab (19 Jan 2022 Update)

Solidity Smart Contract Convention X