How-to for developers · Building on the ledger

Assign an Authorized Minter Using Python

In plain words

This tutorial shows how to give another account permission to mint, or create, NFTs for you, using a Python sample app. It then shows how the authorized account mints an NFT on your behalf and sells it.

Written by zerps in plain words, from the source linked below.
Section
Tutorials

What you need

Download the Quickstart Samples archive, then open and run lesson6-auth-minter.py. The app works with two test accounts, called the Standby account and the Operational account. You can load them from seeds you already have or get new ones.

The steps in short

Copy the Operational account's value into the Standby side's Authorized Minter field and click Set Minter. Behind this is an AccountSet transaction that grants another account permission to mint on your behalf. Next, on the Operational side, set the Flags field. The page recommends the value 8 for testing. Enter the NFT URI, which points to the data or metadata of the NFT, the Transfer Fee and a Taxon, or 0 if you have no use for it. Paste the Standby account's value into the Issuer field and click Mint Other. The NFTokenMint transaction carries an issuer field that names the account the token is minted for.

Selling the NFT

The authorized minter can sell the NFT normally. Create a sell offer with an amount in drops, which are millionths of an XRP, and the NFT ID. The response holds the NFT Offer Index, labeled nft_offer_index, which a buyer uses to accept the offer. The buyer pays the price plus the transaction cost. The seller receives the price less the transfer fee, and the transfer fee goes to the original Standby account.

Good to know

Each account can have 0 or 1 authorized minter. The Transfer Fee is a percentage of the proceeds that the original creator receives from future sales of the NFT. It is a value from 0 to 50000, which allows rates between 0.000% and 50.000% in steps of 0.001%. If the Flags field does not make the NFT transferable, set the fee to 0.

Source: xrpl.org. Read 6 December 2026.

Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made

zerps Trading tokens on the XRP Ledger carries risk, including total loss. zerps is a self-custodial interface; it does not hold funds, give advice, or execute trades on your behalf.