Skip to content
This documentation is in beta, and we’re looking for feedback. See how you can contribute 🌟

Mint NFTs Tutorial

🏁 Prerequisites

When you are granted access to the network:

1. Clone the repo

Terminal window
git clone [email protected]:Palm-Network/training-toolkit.git

2. Install Node Package Manager

Terminal window
npm install

3. Add a .env file with the following variables

INFURA_API_KEY=
PRIVATE_KEY=
PUBLIC_KEY=

4. Deploy contract to Palm Testnet

Terminal window
npx hardhat run scripts/deploy.js --network palm_testnet

5. Add the newly deployed contract address to the .env variable

CONTRACT_ADDRESS=

6. Bulk Mint NFT on Palm testnet

This will mint 15 items to various addresses on Palm testnet

Terminal window
npx hardhat run scripts/bulk-mint.js --network palm_testnet

7. Query Contract Data

To query data on your newly deployed ERC-721 contract use GraphiQL

8. Explore a subgraph’s schema

/