<aside> 🎉 Winning project in the Polkadot Paris Hackathon in the NFT category!

</aside>

<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/7bca8635-e0e2-4b28-9664-5a9fe15c53a9/Polkadot_Token_PolkadotToken_Pink.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/7bca8635-e0e2-4b28-9664-5a9fe15c53a9/Polkadot_Token_PolkadotToken_Pink.png" width="40px" /> The development of pallet-rent was driven by the desire to participate in a hackathon event hosted by Polkadot, where participants were encouraged to come up with new and innovative solutions.

</aside>

Rent Module

A simple and secure module for making non-fungible assets rentable.

Links

https://github.com/ok-Alice/pallet-rent

Docker

Overview

The Rent module module provides functionality for non-fungible asset rental management, including:

To use it in your runtime, you need to implement the assets pallet_rent::Config.

The supported dispatchable functions are documented in the pallet_rent::Call enum.

Goals

The Rent module in Substrate is designed to make the following possible:

Terminology

Use Cases

  1. Gaming: In a gaming context, NFT rentals could allow players to temporarily use a rare or highly sought-after item, rather than having to purchase it outright or obtain it naturally in game which could take many hours or even days.
  2. Art and Collectibles: An individual who owns a unique piece of art or collectible could rent it out to others for a specific period of time, allowing them to enjoy and display the item without having to purchase it outright.
  3. Real Estate: NFT rentals could be used for both virtual and physical real estate. In virtual reality, NFT rentals could be used to rent virtual land or property, such as in a virtual world or gaming platform. In the physical world, NFT rentals could be used to rent out residential or commercial properties for a specific period of time.
  4. High-Value Equipment: A company that owns high-value equipment, such as heavy machinery, could rent it out to other companies for a specific period of time.

Testing out the pallet

<aside> ⚠️ Live demo has ended. Please run this the project locally if you would like to test it out for yourself.

</aside>

Live demo project

You can test this out using our live demo project which is utilizing the pallet rent to demonstrate character loadouts by equipping items that an account has rented.

Pallet Rent - Charactor Loadout Demo


You can also test out the pallet on the polkadot js app platform and connecting to the live running node.

Custom domain: wss://pallet-rent-pgvftrncea-ew.a.run.app:443

Polkadot/Substrate Portal

This live demo will no longer be available after the hackathon. (Around end of March)

Running locally

Node

You can test out the pallet by running the pre-built docker image xcodecraft/pallet-rent published to dockerhub using the following command.

docker run -p 9944:9944 xcodecraft/pallet-rent --dev --unsafe-ws-external

UI

You can run the local UI demo project by running the pre-build docker image xcodecraft/pallet-rent-character-loadout published to dockerhub using the following command.

docker run -p 80:80 xcodecraft/pallet-rent-character-loadout

Interface

Dispatchables