This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

On-Chain Game Item Rental Tool

NFTs · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryNFTs
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

This tool provides on-chain rental of game items (NFTs), enabling you to list items for rent, rent items from owners, and return rented items. It reads your connected wallet address, rental contract address, game item NFT contract address, token IDs, rental price, rental duration, rental status, current block timestamp, rental history, and renter address. You can then sign and send transactions to list game items for rent with specified price and duration, rent items by paying the rental fee, return items after the rental period ends, and record rental metadata on-chain. All rental parameters are displayed in a clear review panel before you sign, so you know exactly what you are renting. The tool also logs transaction hashes, confirmation status, and gas costs, providing a complete audit trail of all rental activities.

HOW TO USE

Connect your wallet using the built-in wallet bridge, choose the network that matches your rental contract, and paste the rental contract address and game item NFT contract address. Enter the token ID, rental price in raw units per day, rental duration in seconds, and the payment token address (use 0x0 for native currency) with its decimals. The review panel shows all inputs, the current rental status, and rental history before you sign. Use the numbered action buttons: check item to view current rental status, owner, renter, price, duration, and end time; list item to list an item for rent with your specified price and duration; rent item to rent a listed item by paying the rental fee; or return item to return a rented item after the rental period ends. You can also view rental history to see all past rental timestamps for the item. Each transaction is signed sequentially, and the tool displays transaction details and confirmation status.

THE REAL MECHANISM

This tool uses ethers.js v5.7.2 to build and send transactions through the wallet's signer. It does not rely on any hardcoded contract addresses – you paste the rental contract you are using, so you are in full control. When you list an item, the tool constructs a contract call to the listItem function, which takes the token ID, price, duration, and payment token address. The contract stores the rental listing on-chain and sets the item's status to available. When you rent an item, the tool calls rentItem, which transfers the rental fee from the renter to the owner and sets the renter and end time. When you return an item, the tool calls returnItem, which releases the item back to the owner and records the rental completion. The tool reads rental state via getRental, which returns the owner, renter, price, duration, end time, payment token, and active status, as well as getRentalHistory for the full history. All transactions are sequential to prevent nonce conflicts, and gas costs are calculated using effectiveGasPrice for accurate post-EIP-1559 reporting.

WHAT IT CANNOT SEE

This tool cannot verify off-chain item utility, validate game state, detect item misuse, or ensure that the rental contract handles rentals correctly. It cannot detect if the game item is actually used or if the renter misuses the item. The tool also cannot verify that the rental contract correctly handles edge cases like expired rentals, multiple rentals, or payment failures. It cannot simulate the outcome of a transaction before you sign it, nor can it guarantee that the rental will be processed correctly if the contract is not properly implemented.

PLEASE NOTE

This tool works only on EVM-compatible chains supported by your wallet and provider. Always double-check the contract addresses and parameters before signing. Use testnet first. The tool is a transaction-signing interface and rental management tool, not a game state or item utility verification system.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.