python -m venv wax-envOn Windowspython3 -m venv wax-envOn Unix or MacOS
wax-env\Scripts\activateOn Windowssource wax-env/bin/activateOn Unix or MacOS
python -m pip install -r requirements.txtOn Windowspython3 -m pip install -r requirements.txtOn Unix or MacOS
The scripts depends on enviromental variables, this can either be set directly in the windows or Linux profiles or by creating a .env file in the root directory and setting the variables. Example of a .env file
- WALLET_NAME=yourWallet
- WALLET_KEY= 5JxSzLshLArXqZqGJC79vESNLYB2xUFeE6Vp44J63NNK9g49WF2
- API_ENDPOINT=https://wax.greymass.com
The mint.py can be used to mint atomicassets nfts with the following variables in the .env file
- Total_Mint=2
- Authorized_Minter=yourWallet
- Collection_Name=collectionName
- New_Asset_Owner=yourWallet
- Schema_Name=packs
- Template_Id=773378
And then running the following command
py mint.pyOn Windowspython3 mint.pyOn Unix or MacOS