https://github.com/bumi/nft-remix
https://github.com/bumi/nft-remix
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bumi/nft-remix
- Owner: bumi
- Created: 2021-05-04T17:33:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-09T10:27:50.000Z (about 5 years ago)
- Last Synced: 2025-03-21T22:03:11.994Z (about 1 year ago)
- Language: HTML
- Size: 190 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`