Distributor

In order to use the NFT distributor you must start by cloning the git repo:

git clone https://github.com/Galliun/distributor.git

In order to get the information needed in order to proform the mint from inside of the flow directory run details command it will give you the information need to update your Distributor:

flow details

It will return the following:

Package ID: <packageId>
Water Cooler ID: <waterCoolerId>
Transfer policy ID: <policyId>
Mint Warehouse ID: <mintwarehouseId>
Mint Setting ID: <mintsettingsId>

Open the folder using your preferred IDE and start editing the Mint.vue file to update the following variables using the information that you received from the flow CLI details command:

const packageId = "<packageId>";
const waterCoolerId = "<waterCoolerId>";
const mintwarehouseId = "<mintwarehouseId>";
const mintsettingsId = "<mintsettingsId>";
const mintPrice = 0;

Concerning the mintPrice you have to enter the same price that you entered when you set the price using the flow --amount <amount> command.

Then from inside the distributor directory run:

npm install && npm run dev

Go to the local host address that was given to you and you are ready to mint your collection.

Last updated