andsnw / nft-minter

Mint non-fungible tokens via a web server

Home Page:http://nft-minter.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nft-minter

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

Example Configuration:

  • Blockchain: Ethereum
  • Testnet: Rinkeby
  • Contract: ERC1155 Opensea
  • Metadata Hosting: IPFS via Pinata

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

About

Mint non-fungible tokens via a web server

http://nft-minter.herokuapp.com/


Languages

Language:JavaScript 51.8%Language:TypeScript 26.8%Language:Solidity 20.1%Language:Dockerfile 0.7%Language:HTML 0.6%