mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-08-23 19:20:54 +00:00
60 lines
676 B
Markdown
60 lines
676 B
Markdown
# Non Fungible Token (Python)
|
|
|
|
Demonstrates how to mint and manage NFTs on the XRP Ledger.
|
|
|
|
## Setup
|
|
|
|
```sh
|
|
python -m venv .venv
|
|
source .venv/bin/activate
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
## Mint NFT
|
|
|
|
```sh
|
|
python mint-nft.py
|
|
```
|
|
|
|
## Authorize Minter
|
|
|
|
```sh
|
|
python authorize-minter.py
|
|
```
|
|
|
|
## Create Sell Offer for NFT
|
|
|
|
```sh
|
|
python create-sell-offer-nft.py
|
|
```
|
|
|
|
## Create Buy Offer for NFT
|
|
|
|
```sh
|
|
python create-buy-offer-nft.py
|
|
```
|
|
|
|
## List NFT Pages and Offers
|
|
|
|
```sh
|
|
python list-nft-pages-and-offers.py
|
|
```
|
|
|
|
## Cancel NFT Offer
|
|
|
|
```sh
|
|
python cancel-offer-nft.py
|
|
```
|
|
|
|
## Burn NFT
|
|
|
|
```sh
|
|
python burn-nft.py
|
|
```
|
|
|
|
## NFT General Operations
|
|
|
|
```sh
|
|
python nft-general.py
|
|
```
|