Skip to content

Automating minting and creating .offer files | chia-blockchain

Notifications You must be signed in to change notification settings

Cactus-Network/easy_mint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Minting helper (local) folder


1. Prerequisites

  • Metadata in CHIP-0007 format (JSON) demo: here
  • Images (PNG format)
  • nft.storage API KEY get one here
  • Synced chia client >= 1.4.0

❗ WINDOWS users - read dropdown!

  • Install WSL (Windows Subsystem for Linux) and enter chia directory
  • 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

2. Equip MINT.sh with your Credentials

  • run git clone https://github.com/su77ungr/easy_mint.git inside your chia directory and cd easy_mint/chia_automate_minting
  • run sudo chmod +x MINT.sh

❗ WINDOWS users - read dropdown!

  • sudo nano MINT.sh change line 77 into cd ~/chia && ./chia.exe wallet nft ... && cd /easy_mint/chia_automate_minting && (line 77) ❗

add credentials inside with sudo nano MINT.sh

  • API_KEY,
  • FOLDER_NAME_URI, FOLDER_NAME_MURI
  • FINGERPRINT, WALLET_ID, ROYALTY_ADDRESS, RECEIVE_ADDRESS, NUM
  • -rp ROYALTY (420 = 4.20%),
  • -st SERIES_AMOUNT note: don't use this flag ❗if you don't want several copys of the same NFT,
  • -sn SERIES_NUMBER note: don't use this flag ❗if you don't want several copys of the same NFT

run sudo ./MINT.sh

2022-07-13.20-34-17.online-video-cutter.com.1.mp4



Automate creating .offer files folder


1. Prerequisites

  • Synced chia client >= 1.4.0
  • NFTs / CATs inside a known wallet

note your

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

❗ WINDOWS users - read dropdown!

  • Install WSL (Windows Subsystem for Linux) and enter chia directory
  • 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
  • use the create_bulk_offers.sh script for the next steps instead of create_bulk_offers_linux.sh❗

2. Setting up your environment

  • run git clone https://github.com/su77ungr/easy_mint.git inside your chia directory and cd easy_mint/chia_automate_offers
  • run sudo chmod +x create_bulk_offers_linux.sh

3. Everything should be ready to go!

  • run sudo ./create_bulk_offers_linux.sh and enter your credentials

  • .offer files will be stored inside offers/ - you can upload them onto https://dexie.space/upload





MIN7ER.net (open source reference) folder


Structure

  • Apache2 with PHP 8.1
  • Installed chia client

Gathering user input




About

Automating minting and creating .offer files | chia-blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%