An open API service indexing awesome lists of open source software.

https://github.com/bumi/nft-remix


https://github.com/bumi/nft-remix

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# NFT

## Installation

$ npm install

## Run local node

$ hardhat node --network hardhat

## Deploy the contract

$ hardhat deploy --write true --network localhost

## Mint a token

$ hardhat mint --network localhost

## For mainnet deployment

* Configure your deployer (e.g. private key) in the hardhat.config.js
* Use the same commands as above but with `--network mainnet`

## Website

* Configure the contract address
* If the contract is changed update the website/contract-metadata.js file
* The `artifacts/contracts/Token.sol/Token.json` needs to be in the `window.TokenMetadata` variable. (see current file for an example)
* run locally: `python -m SimpleHTTPServer`