Skip to content

Automating minting and creating .offer files | chia-blockchain

Notifications You must be signed in to change notification settings

ockhamstest/easy_mint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minting NFTs

1. Prerequisites

  • Metadata in CHIP-0007 format (JSON) (preferably decentralized storage provider) for this demo: Raw Github
  • Images (preferably decentralized storage provider) IPFS
  • Chia Client >= 1.4.0
  • run sudo ln -s /mnt/{STORAGE}/Users/{USER}/AppData/Local/chia-blockchain/app-1.4.0/resources/app.asar.unpacked/daemon ~/chia
  • cd ~/chia to access the newly linked directory; run ./chia.exe -h to test everything is working as it should

2. Equip MINT.sh with your Credentials

  • run git clone https://github.com/su77ungr/easy_mint.git inside it and cd easy_mint/ && sudo chmod +x MINT.sh

  • enter your credentials inside MINT.sh with sudo MINT.sh add credentials inside on top of the script

  • -f FINGERPRINT,

  • -i WALLET_ID,

  • -ra ROYALTY_ADDRESS,

  • -ta RECEIVE_ADDRESS,

  • -st SERIES_AMOUNT note: use ❗1 on the default if you don't want several copys of the same NFT,

  • -sn SERIES_NUMBER note: use ❗1 on the default if you don't want several copys of the same NFT,

  • -rp ROYALTIES (420 = 4.20%),

  • -m FEE

  • run MINT.sh generates two .txt files: hashtable_URI.txt and hashtable_MURI.txt which are called in the mint function

  • run sudo ./MINT.sh

Automating .offer files (NFT <---> CAT)

1. Prerequisites

2. Setting up your environment

  • with WSL path should be: /mnt/{STORAGE}/Users/{USER}/AppData/Local/chia-blockchain/app-1.4.0/resources/app.asar.unpacked/daemon
  • to simplify this path, we can use symlinks
  • run sudo ln -s /mnt/{STORAGE}/Users/{USER}/AppData/Local/chia-blockchain/app-1.4.0/resources/app.asar.unpacked/daemon ~/chia
  • cd ~/chia to access the newly linked directory; run ./chia.exe -h to test everything is working as it should
  • run git clone https://github.com/su77ungr/easy_mint.git inside it and cd easy_mint/
  • run sudo chmod +x create_bulk_offers.sh && mv create_bulk_offers.sh ~/chia

3. Everything should be ready to go!

note your

  • fingerprint,
  • wallet ID (NFT),
  • wallet ID (Token),
  • Royalty (NFT) and enter it when requested by the script

run sudo ./make_bulk_offers.sh inside ~/chia

END OF README

About

Automating minting and creating .offer files | chia-blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages