Giter VIP home page Giter VIP logo

net2devcrypto / n2d-nft-marketplace Goto Github PK

View Code? Open in Web Editor NEW
44.0 6.0 31.0 4.28 MB

๐Ÿš€๐Ÿ‘ฉโ€๐Ÿš€This repo contains all the files to follow along and implement a MultiChain NFT MarketPlace! Be sure to watch my Youtube tutorials so you can learn and follow along!

Solidity 11.47% JavaScript 88.53%
axios blockchain dapp ipfs nextjs nft react solidity staking tutorial

n2d-nft-marketplace's People

Contributors

net2devcrypto 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

n2d-nft-marketplace's Issues

nftcollection.sol code

Hi, How do we create the nftcollection.sol file, I have been following your tutorial and just now completed compiling my marketresale.sol file, I see we need the address of the nftcollection contract to progress.
Please help.

i have 4 errors i need help

hello im at ep 3 of the NFT Market place and while trying to run it keeps givig me theres errors PLEASE HELP!!!

Error 1:
Unhandled Runtime Error
Error: Hydration failed because the initial UI does not match what was rendered on the server.

See more info here: https://nextjs.org/docs/messages/react-hydration-error

Call Stack
throwOnHydrationMismatch
node_modules\react-dom\cjs\react-dom.development.js (12507:0)
tryToClaimNextHydratableInstance
node_modules\react-dom\cjs\react-dom.development.js (12520:0)
updateHostComponent
node_modules\react-dom\cjs\react-dom.development.js (19902:0)
beginWork
node_modules\react-dom\cjs\react-dom.development.js (21618:0)
HTMLUnknownElement.callCallback
node_modules\react-dom\cjs\react-dom.development.js (4164:0)
Object.invokeGuardedCallbackDev
node_modules\react-dom\cjs\react-dom.development.js (4213:0)
invokeGuardedCallback
node_modules\react-dom\cjs\react-dom.development.js (4277:0)
beginWork$1
node_modules\react-dom\cjs\react-dom.development.js (27451:0)
performUnitOfWork
node_modules\react-dom\cjs\react-dom.development.js (26557:0)
workLoopSync
node_modules\react-dom\cjs\react-dom.development.js (26466:0)
renderRootSync
node_modules\react-dom\cjs\react-dom.development.js (26434:0)
performConcurrentWorkOnRoot
node_modules\react-dom\cjs\react-dom.development.js (25738:0)
workLoop
node_modules\scheduler\cjs\scheduler.development.js (266:0)
flushWork
node_modules\scheduler\cjs\scheduler.development.js (239:0)
MessagePort.performWorkUntilDeadline
node_modules\scheduler\cjs\scheduler.development.js (533:0)

Error 2:

Unhandled Runtime Error
Error: Hydration failed because the initial UI does not match what was rendered on the server.

See more info here: https://nextjs.org/docs/messages/react-hydration-error

Call Stack
throwOnHydrationMismatch
node_modules\react-dom\cjs\react-dom.development.js (12507:0)
tryToClaimNextHydratableInstance
node_modules\react-dom\cjs\react-dom.development.js (12520:0)
updateHostComponent
node_modules\react-dom\cjs\react-dom.development.js (19902:0)
beginWork
node_modules\react-dom\cjs\react-dom.development.js (21618:0)
beginWork$1
node_modules\react-dom\cjs\react-dom.development.js (27426:0)
performUnitOfWork
node_modules\react-dom\cjs\react-dom.development.js (26557:0)
workLoopSync
node_modules\react-dom\cjs\react-dom.development.js (26466:0)
renderRootSync
node_modules\react-dom\cjs\react-dom.development.js (26434:0)
performConcurrentWorkOnRoot
node_modules\react-dom\cjs\react-dom.development.js (25738:0)
workLoop
node_modules\scheduler\cjs\scheduler.development.js (266:0)
flushWork
node_modules\scheduler\cjs\scheduler.development.js (239:0)
MessagePort.performWorkUntilDeadline
node_modules\scheduler\cjs\scheduler.development.js (533:0)

error 3:

Unhandled Runtime Error
Error: There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering.

Call Stack
updateHostRoot
node_modules\react-dom\cjs\react-dom.development.js (19849:0)
beginWork
node_modules\react-dom\cjs\react-dom.development.js (21615:0)
beginWork$1
node_modules\react-dom\cjs\react-dom.development.js (27426:0)
performUnitOfWork
node_modules\react-dom\cjs\react-dom.development.js (26557:0)
workLoopSync
node_modules\react-dom\cjs\react-dom.development.js (26466:0)
renderRootSync
node_modules\react-dom\cjs\react-dom.development.js (26434:0)
recoverFromConcurrentError
node_modules\react-dom\cjs\react-dom.development.js (25850:0)
performConcurrentWorkOnRoot
node_modules\react-dom\cjs\react-dom.development.js (25750:0)
workLoop
node_modules\scheduler\cjs\scheduler.development.js (266:0)
flushWork
node_modules\scheduler\cjs\scheduler.development.js (239:0)
MessagePort.performWorkUntilDeadline
node_modules\scheduler\cjs\scheduler.development.js (533:0)

error 4:

Unhandled Runtime Error
Error: could not detect network (code=NETWORK_ERROR, version=providers/5.0.0-beta.171)

Call Stack
Logger.makeError
node_modules\ethers\dist\ethers.umd.js (3651:0)
Logger.throwError
node_modules\ethers\dist\ethers.umd.js (3660:0)
JsonRpcProvider.eval
node_modules\ethers\dist\ethers.umd.js (20220:0)
step
node_modules\ethers\dist\ethers.umd.js (19932:0)
Object.eval [as throw]
node_modules\ethers\dist\ethers.umd.js (19913:46)
rejected
node_modules\ethers\dist\ethers.umd.js (19905:42)

i have copied and pasted all the code.

Error: invalid private key (argument="privateKey", value="[[ REDACTED ]]"

I keep getting this error whenever I click on the "My NFT Portal" button. I have been following the tutorial and writing the codes as is.

"Unhandled Runtime Error

Error: invalid private key (argument="privateKey", value="[[ REDACTED ]]", code=INVALID_ARGUMENT, version=signing-key/5.7.0)
Source

pages/portal.js (38:23) @ _callee$

36 | const provider = new ethers.providers.JsonRpcProvider(mainnet)
37 | const key = simpleCrypto.decrypt(cipherHH);

38 | const wallet = new ethers.Wallet(key, provider);
| ^
39 | const contract = new ethers.Contract(hhnftcol, NFTCollection, wallet);
40 | const itemArray = [];
41 | contract.totalSupply().then(result => {

Call Stack
_getWalletNFTs
pages/portal.js (35:34)
getWalletNFTs
pages/portal.js (35:34)
Sell/<
pages/portal.js (21:6)"

Please help.

I think i found a bug

There is interference when buying Nft, list sale.
For example, if the itemid in the vaultiems is 4. And if I upload NFT with Tokenid 4, it seems that there is an error "it is already uploaded NFT.
แ„‰แ…ณแ„แ…ณแ„…แ…ตแ†ซแ„‰แ…ฃแ†บ 2022-07-05 แ„‹แ…ฉแ„’แ…ฎ 10 32 42

i already list number 2 token it works well and i tried to upload number 1 token it make error

Error from the getAllNFTs from solidity

Hi
first thanks for all your videos.
I am working with solidity Part 5 files
When create few NFT and I call getAllNFTs() function from the front It works few times then, without changes it stop working properly I get error message as return

I am on Bianance Smart Chain test net btw
this is the return from the call

you can see the result here: https://nftl-trades.com/

data = {code: 3
data: "0x4e487b710000000000000000000000000000000000000000000000000000000000000032"
message: "execution reverted"}

All other function works properly tho

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.