Parallel Universe
  • Learn
    • Introduction to PUT
    • Getting started with PUT
  • Architecture
    • What is a PUT Cluster?
    • Clusters
      • PUT Clusters
      • RPC Endpoints
      • Benchmark a Cluster
      • Performance Metrics
    • Consensus
      • Synchronization
      • Leader Rotation
      • Fork Generation
      • Managing Forks
      • Turbine Block Propagation
      • Commitment Status
      • Secure Vote Signing
      • Stake Delegation and Rewards
    • Validators
      • Overview
      • TPU
      • TVU
      • Blockstore
      • Gossip Service
      • The Runtime
  • CLI
    • Command-line Guide
    • Install the PUT Tool Suite
    • Command-line Wallets
      • Command Line Wallets
      • Paper Wallet
      • File System Wallet
      • Support / Troubleshooting
    • Using PUT CLI
    • Connecting to a Cluster
    • Send and Receive Tokens
    • Staking
    • Deploy a Program
    • Offline Transaction Signing
    • Durable Transaction Nonces
    • CLI Usage Reference
  • Developers
    • Get Started
      • Hello World
      • Local development
      • Rust program
    • Core Concepts
      • Accounts
      • Transactions
        • Overview
        • Versioned Transactions
        • Address Lookup Tables
      • Programs
      • Rent
      • Calling between programs
      • Runtime
    • Clients
      • JSON RPC API -1
      • JSON RPC API -2
      • JSON RPC API -3
      • Web3 JavaScript API
      • Web3 API Reference
      • Rust API
    • Writing Programs
      • Overview
      • Developing with Rust
      • Deploying
      • Debugging
      • Program Examples
      • FAQ
    • Native Programs
      • Overview
      • Sysvar Cluster Data
    • Local Development
      • PUT Test Validator
    • Backward Compatibility Policy
  • Validators
    • Running a Validator
    • Getting Started
      • Validator Requirements
    • Voting Setup
      • Starting a Validator
      • Vote Account Management
      • Staking
      • Monitoring a Validator
      • Publishing Validator Info
      • Failover Setup
      • Troubleshooting
    • Geyser
      • Geyser Plugins
  • Staking
    • Staking on PUT
    • Stake Account Structure
  • Integrations
    • Add PUT to Your Exchange
    • Retrying Transactions
  • Library
    • Introduction
    • Token Program
    • Associated Token Account Program
    • Memo Program
    • Name Service
    • Feature Proposal Program
    • NFT Program
      • Overview
      • Interface
      • Usage Guidelines
        • Create a new NFT-Mint
        • Cast NFT
        • Transfer an NFT
        • Change account status
        • Permission settings
        • Query Interface
        • Continuous casting
        • Change the Mint attribute
      • Operation Overview
        • Create a new NFT-Mint
        • Transfer NFT
        • Destroy
        • Freeze NFT accounts
        • Update
    • PUT multi-sign program
      • Overview
      • Interface
      • Usage Guidelines
        • Create a multi-signature account
        • Create a proposal account
        • Vote proposal
        • Verify Proposal
        • Add-singer
        • Remove-signer
      • Operation Overview
        • Create a multi-signature account
        • Create a proposal account
        • Vote
        • Verify
        • Add-singer
        • Remove-signer
  • PUT Privacy Policy
Powered by GitBook
On this page
  1. Library
  2. NFT Program
  3. Usage Guidelines

Continuous casting

Casting one nft at a time may not be very efficient for mint owners, for this reason, we provide a multi-casting interface, you can cast more than one NFTs at once:

$ ppl-nft multi-mint --address 2ZYMxZojdocSbwcGg4W92H3hVE9qgMBo
7XQg9aug6uKs --nft-file . /multi-mint-file 
minting a nft 2rdRnwFgmNUn4vYX4xQd2iYbXmVocmq5dTHkf5CqWhk5
minted nft 2rdRnwFgmNUn4vYX4xQd2iYbXmVocmq5dTHkf5CqWhk5
minting a nft AN2xJXJN4WNTyT1CuVAXf3JL1fiKezHLdNR3uowSx4H
minted nft AN2xJXJN4WNTyT1CuVAXf3JL1fiKezHLdNR3uowSx4H
minting a nft FNVP9JPgpbNBMQhekGVUk2Y3h2JYynNL2rf52SgVdNsp
minted nft FNVP9JPgpbNBMQhekGVUk2Y3h2JYynNL2rf52SgVdNsp
minting a nft 5vzu4qga1gsSzCWh3MAaCC3nTocsMmCJ1Dy3CZct1KZy
minted nft 5vzu4qga1gsSzCWh3MAaCC3nTocsMmCJ1Dy3CZct1KZy
minting a nft 5BjLqrbQNG3QtmhTKsvx4yAX1Ree3YnQMFqgvp2tC7BU
minted nft 5BjLqrbQNG3QtmhTKsvx4yAX1Ree3YnQMFqgvp2tC7BU

This instruction reads the contents of the multi-mint-file file by line, casting as many Nfts as lines in the file (plus blank lines). The contents of the file are set to the token-uri of the NFT.

PreviousQuery InterfaceNextChange the Mint attribute

Last updated 2 years ago