Skip to content

Palm-Network/training-toolkit

Repository files navigation

Getting started with the Palm Network: Training toolkit

Training code for Palm documentation. This repo aims at supporting those learning how to deploy an NFT contract and mint an NFT on Palm using Hardhat and Ethers.js

This repo contains all the finished code explained at:

Installation

    npm install

Configuration

Add an .env file matching the variables found in hardhat.config.js:

  • INFURA_PROJECT_ID
  • PRIVATE_KEY
  • PUBLIC_KEY
  • CONTRACT_ADDRESS

Usage

Deploy contract to Palm Testnet:

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

Deploy contract to Palm Mainnet:

    npx hardhat run scripts/deploy.js --network palm_mainnet

Mint NFT on Palm Testnet:

    npx hardhat run scripts/mint.js --network palm_testnet

Mint NFT on Palm Mainnet:

    npx hardhat run scripts/mint.js --network palm_mainnet

Bulk Mint NFT on Palm testnet:

    npx hardhat run scripts/bulk-mint.js --network palm_mainnet
    ```

About

Training toolkit to get started with the Palm Network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published