8000 GitHub - wchain73/nft-minter: Mint non-fungible tokens via a web server
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wchain73/nft-minter

 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 51.8%
  • TypeScript 26.8%
  • Solidity 20.1%
  • Other 1.3%
0