Giter Site home page Giter Site logo

jellydn / nft-app Goto Github PK

View Code? Open in Web Editor NEW
215.0 11.0 98.0 16.72 MB

How to create your own NFT and mint NFT token

Home Page: https://nft-app.productsway.com/

License: MIT License

Shell 0.02% JavaScript 1.48% Solidity 0.56% HTML 0.19% CSS 0.03% TypeScript 97.71% Procfile 0.01%
nft dapp react web3 openzeppelin hardhat etherjs vitejs dapp-starter

nft-app's Introduction

Welcome to nft-app ๐Ÿ‘‹

All Contributors

Version License: MIT Twitter: jellydn

How to create your own NFT token

๐Ÿ  Homepage

Blockchain - DApp 101 - Create your own NFT token

Blockchain - DApp 101 - Mint a NFT token

โœจ Demo

https://gyazo.com/fccacc5f480839196343bf95728c9b6a.gif

Screenshot

screenshot1.png

screenshot2.png

Features

  • โšก๏ธ React TypeScript template with Vite 5
  • ๐Ÿ“ฆ Hardhat - Ethereum development environment for professionals
  • ๐Ÿฆพ TypeChain Hardhat plugin - Automatically generate TypeScript bindings for smartcontracts while using Hardhat.
  • ๐Ÿ”ฅ web3-react - A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps
  • ๐ŸŽจ daisyUI Tailwind CSS Components - clean HTML with component classes
  • ๐ŸŽจ OpenZeppelin - standard for secure blockchain applications

Install

yarn install

Usage

Run Web App

# Prepare .env file
# Run web site
cp .env.example .env
npx hardhat compile --network localhost
yarn dev

Run API App

# Prepare .env file
# Run web site
cd server
cp .env.example .env
yarn install
yarn dev

Run tests

yarn test

Deploy NFT to Rinkeby

This example, we will deploy to Rinkeby network. If you do not have hardhat shorthand, then please run

npm i -g hardhat-shorthand
hardhat-completion install

1.Deploy MyAwesomeLogo to Rinkeby

hh run scripts/deploy.ts --network rinkeby

Output:

Generating typings for: 0 artifacts in dir: src/types for target: ethers-v5
Successfully generated 3 typings!
Successfully generated 3 typings for external artifacts!
MyAwesomeLogo deployed to: 0x39a5079afE9F3e3bB4db1B943e2063AC3dc87251
owner 0x096cd10D7BEF8D5923b18b18E9f79CA230ee2285
  1. Mint some NFT tokens
hh run scripts/mint.ts --network rinkeby

Output:

Generating typings for: 0 artifacts in dir: src/types for target: ethers-v5
Successfully generated 3 typings!
Successfully generated 3 typings for external artifacts!
MyAwesomeLogo deployed to: 0x39a5079afE9F3e3bB4db1B943e2063AC3dc87251
Name MyAwesomeLogo
Symbol MAL
Uploaded file to nft storage Token {
  ipnft: 'bafyreib22oziqft7cbakshc374mwctwiprzyj24ufpeogkjff3lroumcru',
  url: 'ipfs://bafyreib22oziqft7cbakshc374mwctwiprzyj24ufpeogkjff3lroumcru/metadata.json'
}
Minted NFT 0x0aad3903cb8d11f095babdc7ba47963ad6235b0a3cd5d32ee42560798816235a
Uploaded file to nft storage Token {
  ipnft: 'bafyreid3gvwkltwkgvpxur3eozuh6dirfg2ohqizhn4rpn764dji272aoe',
  url: 'ipfs://bafyreid3gvwkltwkgvpxur3eozuh6dirfg2ohqizhn4rpn764dji272aoe/metadata.json'
}
Minted NFT 0xe1ed7be02639310cf101b495e55d27421be018cc12cd90d1f46547c627b5132c
Uploaded file to nft storage Token {
  ipnft: 'bafyreieealfw66zppxhkivuti5qkmsuihjxgxgrxdfm2o5p4qna5l347bu',
  url: 'ipfs://bafyreieealfw66zppxhkivuti5qkmsuihjxgxgrxdfm2o5p4qna5l347bu/metadata.json'
}
Minted NFT 0x183af6b95464305aa5f9f0ed97a5b8847bd168bbb28e3f6368d04662a44cb8fc

3.Verify with etherscan.io

hh verify --network rinkeby 0x39a5079afE9F3e3bB4db1B943e2063AC3dc87251

Output:

Nothing to compile
Generating typings for: 0 artifacts in dir: src/types for target: ethers-v5
Successfully generated 3 typings!
Successfully generated 3 typings for external artifacts!
Compiling 1 file with 0.8.4
Successfully submitted source code for contract
contracts/MyAwesomeLogo.sol:MyAwesomeLogo at 0x39a5079afE9F3e3bB4db1B943e2063AC3dc87251
for verification on Etherscan. Waiting for verification result...

Successfully verified contract MyAwesomeLogo on Etherscan.
https://rinkeby.etherscan.io/address/0x39a5079afE9F3e3bB4db1B943e2063AC3dc87251#code

Hardhat guideline

This project demonstrates an advanced Hardhat use case, integrating other tools commonly used alongside Hardhat in the ecosystem.

The project comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts. It also comes with a variety of other tools, preconfigured to work with the project code.

Try running some of the following tasks:

npx hardhat accounts
npx hardhat compile --network localhost
npx hardhat clean
npx hardhat test
npx hardhat node
npx hardhat help
REPORT_GAS=true npx hardhat test
npx hardhat coverage
npx hardhat run scripts/deploy_greeter.js --network localhost
node scripts/deploy.js
npx eslint '**/*.js'
npx eslint '**/*.js' --fix
npx prettier '**/*.{json,sol,md}' --check
npx prettier '**/*.{json,sol,md}' --write
npx solhint 'contracts/**/*.sol'
npx solhint 'contracts/**/*.sol' --fix

Etherscan verification

To try out Etherscan verification, you first need to deploy a contract to an Ethereum network that's supported by Etherscan, such as Ropsten.

In this project, copy the .env.example file to a file named .env, and then edit it to fill in the details. Enter your Etherscan API key, your Ropsten node URL (eg from Alchemy), and the private key of the account which will send the deployment transaction. With a valid .env file in place, first deploy your contract:

npx hardhat run --network ropsten scripts/deploy_greeter.js

Then, copy the deployment address and paste it in to replace DEPLOYED_CONTRACT_ADDRESS in this command:

npx hardhat verify --network ropsten DEPLOYED_CONTRACT_ADDRESS "Hello, Hardhat!"

Contract upgrade

OpenZeppelin provides tooling for deploying and securing upgradeable smart contracts.

Smart contracts deployed using OpenZeppelin Upgrades Plugins can be upgraded to modify their code, while preserving their address, state, and balance. This allows you to iteratively add new features to your project, or fix any bugs you may find in production.

In this project, there are a 2 versions of contract: Box and BoxV2 which is improvement of Box. First deploy your contract:

npx hardhat run --network localhost scripts/deploy_upgradeable_box.js

Then, deploy the upgrade smart contract

npx hardhat run --network localhost scripts/upgrade_box.js

Examples

  • Simple Store App: counter-like smart contract, read/write value and listen to event from smart contract.
  • ICO Token App: How to create An ERC20 token and implement ICO smart contract (CrowdSale).

One click deployment

Deploy on Railway

Author

๐Ÿ‘ค Dung Huynh

Stargazers ๐ŸŒŸ

kofi paypal buymeacoffee

Stargazers repo roster for jellydn/nft-app

Show your support

Give a โญ๏ธ if this project helped you!

Contributors โœจ

Thanks goes to these wonderful people (emoji key):

tomholford
tomholford

๐Ÿ“–

This project follows the all-contributors specification. Contributions of any kind welcome!

nft-app's People

Contributors

allcontributors[bot] avatar jellydn avatar renovate-bot avatar renovate[bot] avatar tomholford avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nft-app's Issues

/api/nft/upload 404

Hi,

Thanks for sharing sample project for NFT. I'm trying to deploy it, but i got 404 not found message for /api/nft/upload.
I tried on your demo and it also got the same error.

Could you guide me to fix this error?

Thank you so much.

yarn dev not work

jun@zhangjunshengdeMacBook-Pro nft-app % yarn dev
yarn run v1.22.4
warning ../../package.json: No license field
$ vite
Pre-bundling dependencies:
react
react-dom
@web3-react/core
ethers
react-hot-toast
(...and 9 more)
(this will be run only when your dependencies or config have changed)

vite v2.7.3 dev server running at:

Local: http://localhost:3000/
Network: use --host to expose

ready in 1094ms.

ERROR(TypeScript) Subsequent variable declarations must have the same type. Variable 'beforeEach' must be of type 'HookFunction', but here has type 'Lifecycle'.
FILE /Users/jun/node_modules/@types/jest/index.d.ts:35:13

33 |
34 | declare var beforeAll: jest.Lifecycle;

35 | declare var beforeEach: jest.Lifecycle;
| ^^^^^^^^^^
36 | declare var afterAll: jest.Lifecycle;
37 | declare var afterEach: jest.Lifecycle;
38 | declare var describe: jest.Describe;

ERROR(TypeScript) Subsequent variable declarations must have the same type. Variable 'afterEach' must be of type 'HookFunction', but here has type 'Lifecycle'.
FILE /Users/jun/node_modules/@types/jest/index.d.ts:37:13

35 | declare var beforeEach: jest.Lifecycle;
36 | declare var afterAll: jest.Lifecycle;

37 | declare var afterEach: jest.Lifecycle;
| ^^^^^^^^^
38 | declare var describe: jest.Describe;
39 | declare var fdescribe: jest.Describe;
40 | declare var xdescribe: jest.Describe;

ERROR(TypeScript) Subsequent variable declarations must have the same type. Variable 'describe' must be of type 'SuiteFunction', but here has type 'Describe'.
FILE /Users/jun/node_modules/@types/jest/index.d.ts:38:13

36 | declare var afterAll: jest.Lifecycle;
37 | declare var afterEach: jest.Lifecycle;

38 | declare var describe: jest.Describe;
| ^^^^^^^^
39 | declare var fdescribe: jest.Describe;
40 | declare var xdescribe: jest.Describe;
41 | declare var it: jest.It;

Too much warning during installation

Describe the bug

warning ../../../package.json: No license field
[1/5] ๐Ÿ” Validating package.json...
[2/5] ๐Ÿ” Resolving packages...
[3/5] ๐Ÿšš Fetching packages...
warning Pattern ["ethereumjs-abi@git+https://github.com/ethereumjs/ethereumjs-abi.git"] is trying to unpack in the same destination "/Users/Httpscard/Library/Caches/Yarn/v6/npm-ethereumjs-abi-0.6.8-ee3994657fa7a427238e6ba92a84d0b529bbcde0/node_modules/ethereumjs-abi" as pattern ["[email protected]","ethereumjs-abi@^0.6.8","ethereumjs-abi@^0.6.8"]. This could result in non-deterministic behavior, skipping.
info @nomicfoundation/[email protected]: The CPU architecture "x64" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
warning [email protected]: The engine "vscode" appears to be invalid.
[4/5] ๐Ÿ”— Linking dependencies...
warning "@hookform/devtools > [email protected]" has incorrect peer dependency "react@^16.8.0 || ^17".
warning "@hookform/devtools > [email protected]" has incorrect peer dependency "react@^16.8.0 || ^17".
warning "@hookform/devtools > [email protected]" has incorrect peer dependency "react-dom@^16.8.0 || ^17".
warning "@hookform/devtools > @emotion/styled > @emotion/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "@hookform/devtools > @emotion/styled > @emotion/babel-plugin > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "react-hot-toast > [email protected]" has unmet peer dependency "csstype@^3.0.10".
warning " > [email protected]" has incorrect peer dependency "ethers@^4".
warning " > [email protected]" has incorrect peer dependency "react@^16.8".
warning " > [email protected]" has incorrect peer dependency "react-dom@^16.8".
warning "web3-react > @0x/subproviders > eth-lightwallet > [email protected]" has incorrect peer dependency "bitcore-lib@^0.16.0".
warning " > @typechain/[email protected]" has unmet peer dependency "@ethersproject/abi@^5.0.0".
warning " > @typechain/[email protected]" has unmet peer dependency "@ethersproject/bytes@^5.0.0".
warning " > @typechain/[email protected]" has unmet peer dependency "@ethersproject/providers@^5.0.0".
warning " > @typechain/[email protected]" has unmet peer dependency "@ethersproject/abi@^5.4.7".
warning " > @typechain/[email protected]" has unmet peer dependency "@ethersproject/providers@^5.4.7".

Reproduction

https://nft-app-demo.productsway.com/

System Info

warning ../../../package.json: No license field
[1/5] ๐Ÿ”  Validating package.json...
[2/5] ๐Ÿ”  Resolving packages...
[3/5] ๐Ÿšš  Fetching packages...
warning Pattern ["ethereumjs-abi@git+https://github.com/ethereumjs/ethereumjs-abi.git"] is trying to unpack in the same destination "/Users/Httpscard/Library/Caches/Yarn/v6/npm-ethereumjs-abi-0.6.8-ee3994657fa7a427238e6ba92a84d0b529bbcde0/node_modules/ethereumjs-abi" as pattern ["[email protected]","ethereumjs-abi@^0.6.8","ethereumjs-abi@^0.6.8"]. This could result in non-deterministic behavior, skipping.
info @nomicfoundation/[email protected]: The CPU architecture "x64" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @nomicfoundation/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @nomicfoundation/[email protected]: The platform "darwin" is incompatible with this module.
info "@nomicfoundation/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The CPU architecture "x64" is incompatible with this module.
warning [email protected]: The engine "vscode" appears to be invalid.
[4/5] ๐Ÿ”—  Linking dependencies...
warning "@hookform/devtools > [email protected]" has incorrect peer dependency "react@^16.8.0 || ^17".
warning "@hookform/devtools > [email protected]" has incorrect peer dependency "react@^16.8.0 || ^17".
warning "@hookform/devtools > [email protected]" has incorrect peer dependency "react-dom@^16.8.0 || ^17".
warning "@hookform/devtools > @emotion/styled > @emotion/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "@hookform/devtools > @emotion/styled > @emotion/babel-plugin > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "react-hot-toast > [email protected]" has unmet peer dependency "csstype@^3.0.10".
warning " > [email protected]" has incorrect peer dependency "ethers@^4".
warning " > [email protected]" has incorrect peer dependency "react@^16.8".
warning " > [email protected]" has incorrect peer dependency "react-dom@^16.8".
warning "web3-react > @0x/subproviders > eth-lightwallet > [email protected]" has incorrect peer dependency "bitcore-lib@^0.16.0".
warning " > @typechain/[email protected]" has unmet peer dependency "@ethersproject/abi@^5.0.0".
warning " > @typechain/[email protected]" has unmet peer dependency "@ethersproject/bytes@^5.0.0".
warning " > @typechain/[email protected]" has unmet peer dependency "@ethersproject/providers@^5.0.0".
warning " > @typechain/[email protected]" has unmet peer dependency "@ethersproject/abi@^5.4.7".
warning " > @typechain/[email protected]" has unmet peer dependency "@ethersproject/providers@^5.4.7".

Used Package Manager

yarn

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Demo not working

Describe the bug

https://nft-app-demo.productsway.com/

Reproduction

https://nft-app-demo.productsway.com/

System Info

https://nft-app-demo.productsway.com/

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm @nomiclabs/hardhat-etherscan Unavailable
npm @vitejs/plugin-react-refresh Unavailable
npm web3.storage Unavailable

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

npm
package.json
  • @hookform/devtools 4.3.1
  • @tailwindcss/typography 0.5.13
  • @web3-react/core 6.1.9
  • @web3-react/injected-connector 6.0.7
  • @web3-react/network-connector 6.2.9
  • @web3-react/walletconnect-connector 6.2.13
  • daisyui 4.12.10
  • loglevel 1.9.1
  • nft.storage 7.2.0
  • react 18.3.1
  • react-dom 18.3.1
  • react-dropzone 14.2.3
  • react-hook-form 7.52.1
  • react-hot-toast 2.4.1
  • use-nft 0.12.0
  • web3-react 5.0.5
  • web3.storage 4.5.5
  • @nomiclabs/hardhat-ethers 2.2.3
  • @nomiclabs/hardhat-etherscan 3.1.8
  • @nomiclabs/hardhat-waffle 2.0.6
  • @openzeppelin/contracts 4.9.6
  • @openzeppelin/contracts-upgradeable 4.9.6
  • @openzeppelin/hardhat-upgrades 1.28.0
  • @trivago/prettier-plugin-sort-imports 4.3.0
  • @typechain/ethers-v5 11.1.2
  • @typechain/hardhat 9.1.0
  • @types/chai 4.3.16
  • @types/mocha 10.0.7
  • @types/node 20.14.13
  • @types/react 18.3.3
  • @types/react-dom 18.3.0
  • @typescript-eslint/eslint-plugin 7.18.0
  • @typescript-eslint/parser 7.18.0
  • @vitejs/plugin-react-refresh 1.3.6
  • autoprefixer 10.4.19
  • chai 5.1.1
  • dotenv 16.4.5
  • eslint 9.8.0
  • eslint-config-productsway 1.3.3
  • ethereum-waffle 4.0.10
  • ethers 5.7.2
  • hardhat 2.22.7
  • hardhat-gas-reporter 2.2.0
  • husky 9.1.4
  • lint-staged 15.2.7
  • p-queue 8.0.1
  • postcss 8.4.40
  • prettier 3.3.3
  • prettier-plugin-solidity 1.3.1
  • rustywind 0.22.0
  • solgraph 1.0.2
  • solhint 5.0.2
  • solidity-coverage 0.8.12
  • sort-package-json 2.10.0
  • tailwindcss 3.4.7
  • ts-node 10.9.2
  • typechain 8.3.2
  • typescript 5.5.4
  • vite 5.3.5
  • node >=18.12.0
  • yarn 1.22.22
server/package.json
  • @fastify/autoload 5.10.0
  • @fastify/cors 9.0.1
  • @fastify/multipart 8.3.0
  • @fastify/sensible 5.6.0
  • @sinclair/typebox 0.32.35
  • close-with-grace 1.3.0
  • fastify 4.28.1
  • fastify-cli 6.3.0
  • fastify-plugin 4.5.1
  • fastify-tsconfig 2.0.0
  • nft.storage 7.2.0
  • typescript 5.5.4
  • @types/busboy 1.5.4
  • @types/node 20.14.13
  • @types/tap 15.0.11
  • cross-env 7.0.3
  • fast-json-stringify 6.0.0
  • tap 21.0.0
  • tsup 8.2.3
  • tsx 4.16.2
  • node >=18.12.0
nvm
.nvmrc

  • Check this box to trigger a request for Renovate to run again on this repository

error [email protected]: The engine "node" is incompatible with this module. Expected version ">=16.0.0". Got "14.17.6"

Describe the bug

error [email protected]: The engine "node" is incompatible with this module. Expected version ">=16.0.0". Got "14.17.6"
error Found incompatible module.

Reproduction

https://nft-app-demo.productsway.com/

System Info

error [email protected]: The engine "node" is incompatible with this module. Expected version ">=16.0.0". Got "14.17.6"

Used Package Manager

yarn

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Hi my brother, how about the .env VITE_API_URL?

VITE_CHAIN_ID=
VITE_API_URL=YOUR_API_URL
I am confused about this API URL? how can I config it?
I run the repo locally and ADD Items with no response or error, the API URL is wrong(I give it a localhost address)

can you help me to run it properly? thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.