Skip to content

Commit

Permalink
fix(docs/kiosk): update some Kiosk links, add more examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Dkwcs committed Nov 22, 2024
1 parent ac68331 commit b6e5d88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/developer/iota-101/nft/rent-nft.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ The rental smart contract utilizes th [Kiosk Apps](../../standards/kiosk-apps.md
Both lenders and borrowers must install a Kiosk extension to participate.
Additionally, the creator of the NFT type must create a rental policy and a `ProtectedTP` object to allow the extension to manage rentals while enforcing royalties.

## Move Module Details TODO UPDATE LINK
## Move Module Details

The NFT rental functionality is implemented in a single Move module: `nft_rental.move`.
You can find the source code in the [IOTA repository](https://github.com/iotaledger/iota/tree/main/examples/move/nft-rental/sources/nft_rental.move) under the `examples` directory. The code includes comments to help you understand the logic and structure.
You can find the source code in the [IOTA repository](https://github.com/iotaledger/iota/tree/develop/docs/examples/move/nft_marketplace/sources/rental_extension.move) under the `examples` directory. The code includes comments to help you understand the logic and structure.

### The `nft_rental` Module

Expand Down
2 changes: 2 additions & 0 deletions docs/content/developer/standards/kiosk-apps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -259,5 +259,7 @@ txb.moveCall({
## Related links

- [NFT Rental](../iota-101/nft/rent-nft.mdx): An example implementation of the Kiosk Apps standard that enables renting NFTs.
- [NFT Rental Extension](https://github.com/iotaledger/iota/tree/develop/docs/examples/move/nft_marketplace/sources/rental_extension.move): An example implementation of the Kiosk Extension standard that enables renting NFTs.
- [Marketplace Extension](https://github.com/iotaledger/iota/tree/develop/docs/examples/move/nft_marketplace/sources/nft_marketplace.move): Move package that contains the source code(Kiosk extension) for the marketplace app.

<Quiz questions={questions} />

0 comments on commit b6e5d88

Please sign in to comment.