Awesome
minter
mint algorand NFTs from node.js following ARC-69
Setup
You will need node (https://nodejs.org/en/). After cloning the repo, npm install
should install all dependencies.
Accounts
- Make an https://nft.storage/ account and put the key in
.env
as theNFTSTORAGE_KEY
. - Make a https://www.purestake.com/ account and put the key in
.env
as thePURESTAKE_KEY
- Make a testnet account using your wallet of choice, fund it and put the mnemonic in the
.env
asMNEMONIC
. NOTE: you can also use a real account on mainnet by changingALGO_SERVER
inserver.js
. (the account given is a fresh testnet account that I funded, feel free to use it if it still has funds)
Variables
In server.js
, change the following variables for your project:
const UNIT_PREFIX = "BUB-"; // Prefix before identifying number in unit name. eg. "BUB-1", "BUB-2",...
const ASSET_PREFIX = "Algobubble #"; // Prefix before identifying number in asset name
const DESCRIPTION = "generative bubbles";
const MIME_TYPE = "image/png"; // if .jpg, use image/jpg etc.
const EXTERNAL_URL = ""; // external URL, NOT the image URL (could be project URL, etc)
Images
Put your images to be minted in the /images
directory.
Properties
Edit properties.csv
to contain the appropriate data for your project. Each row must contain filename
, but you can leave columns empty and they won't be populated. eg.
filename | a | b | c | d | e |
---|---|---|---|---|---|
1641042139996.png | testA | testB | testC | testD | testE |
1641042143236.png | testF | testG | testH | testI | testJ |
1641042146100 | testK | testL | testN | testO |
Running
To run, simply execute node server.js
. If all goes well, you should see some messages being logged relating to your transactions.
Tip
This tool is completely free to use, but if you want to send me an NFT or a few ALGO in thanks you can hit me up on Twitter (https://twitter.com/AlgofishExe) or send to FISHEXEW6C4H6PRREM4OLBQ3EOMI2ETUBM2C3UCNHSV33LA5RTM6A577T4
:)