alto-io / nft-minter

Mint non-fungible tokens via a web server
http://nft-minter.herokuapp.com/
79 stars 34 forks source link

nft-minter

A Heroku web server to easily mint non-fungible tokens via an API

Example Configuration:

Getting Started

1. Create .env files with your mnemonic and API keys

# .env
MNEMONIC=
INFURA_API_KEY=
PINATA_API_KEY=
PINATA_SECRET_API_KEY=
METADATA_LOCATION=pinata
NETWORK=rinkeby
# packages/client/.env
REACT_APP_INFURA_API_KEY=
SKIP_PREFLIGHT_CHECK=true
# packages/server/.env
MNEMONIC=
INFURA_API_KEY=

2. Create metadata

Edit the examples found under /metadata/mono_metadata.json and /metadata/images

3. Deploy metadata on IPFS

yarn metadata:deploy:ipfs 

4. Deploy smart contract

yarn contract:deploy:rinkeby

5. Run server locally

yarn build
yarn serve

6. Create and mint tokens

go to localhost:3000 to start creating and minting NFTs

References