├── .eslintrc.json ├── .gitignore ├── README.md ├── components ├── hooks │ └── web3 │ │ ├── index.ts │ │ ├── setupHooks.ts │ │ ├── useAccount.ts │ │ ├── useListedNfts.ts │ │ ├── useNetwork.ts │ │ └── useOwnedNfts.ts ├── providers │ ├── index.ts │ └── web3 │ │ ├── index.tsx │ │ └── utils.ts └── ui │ ├── index.ts │ ├── layout │ └── BaseLayout.tsx │ ├── link │ └── index.tsx │ ├── navbar │ ├── Walletbar.tsx │ └── index.tsx │ └── nft │ ├── item │ └── index.tsx │ └── list │ └── index.tsx ├── content └── meta.json ├── contracts ├── Migrations.sol └── NftMarket.sol ├── migrations ├── 1_initial_migration.js └── 2_nftMarket_migration.js ├── next-env.d.ts ├── next.config.js ├── package.json ├── pages ├── _app.tsx ├── api │ ├── utils.ts │ ├── verify-image.ts │ └── verify.ts ├── index.tsx ├── nft │ └── create.tsx └── profile.tsx ├── postcss.config.js ├── public ├── contracts │ ├── Migrations.json │ └── NftMarket.json ├── favicon.ico ├── images │ ├── default_avatar.png │ ├── default_user_image.png │ ├── page_logo.png │ └── small-eth.webp └── vercel.svg ├── styles └── globals.css ├── tailwind.config.js ├── test ├── .gitkeep ├── commands.js ├── nftMarket.test.js └── nftMeta │ ├── images │ ├── Creature_1.png │ ├── Creature_2.png │ ├── Creature_3.png │ ├── Creature_4.png │ └── Creature_5.png │ └── json │ ├── creature-1.json │ └── creature-2.json ├── truffle-config.js ├── tsconfig.json └── types ├── hooks.ts ├── nft.ts └── nftMarketContract.ts /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/README.md -------------------------------------------------------------------------------- /components/hooks/web3/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/components/hooks/web3/index.ts -------------------------------------------------------------------------------- /components/hooks/web3/setupHooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/components/hooks/web3/setupHooks.ts -------------------------------------------------------------------------------- /components/hooks/web3/useAccount.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/components/hooks/web3/useAccount.ts -------------------------------------------------------------------------------- /components/hooks/web3/useListedNfts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/components/hooks/web3/useListedNfts.ts -------------------------------------------------------------------------------- /components/hooks/web3/useNetwork.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/components/hooks/web3/useNetwork.ts -------------------------------------------------------------------------------- /components/hooks/web3/useOwnedNfts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/components/hooks/web3/useOwnedNfts.ts -------------------------------------------------------------------------------- /components/providers/index.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | export { default as Web3Provider } from "./web3"; 4 | -------------------------------------------------------------------------------- /components/providers/web3/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/components/providers/web3/index.tsx -------------------------------------------------------------------------------- /components/providers/web3/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/components/providers/web3/utils.ts -------------------------------------------------------------------------------- /components/ui/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/components/ui/index.ts -------------------------------------------------------------------------------- /components/ui/layout/BaseLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/components/ui/layout/BaseLayout.tsx -------------------------------------------------------------------------------- /components/ui/link/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/components/ui/link/index.tsx -------------------------------------------------------------------------------- /components/ui/navbar/Walletbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/components/ui/navbar/Walletbar.tsx -------------------------------------------------------------------------------- /components/ui/navbar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/components/ui/navbar/index.tsx -------------------------------------------------------------------------------- /components/ui/nft/item/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/components/ui/nft/item/index.tsx -------------------------------------------------------------------------------- /components/ui/nft/list/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/components/ui/nft/list/index.tsx -------------------------------------------------------------------------------- /content/meta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/content/meta.json -------------------------------------------------------------------------------- /contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/contracts/Migrations.sol -------------------------------------------------------------------------------- /contracts/NftMarket.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/contracts/NftMarket.sol -------------------------------------------------------------------------------- /migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /migrations/2_nftMarket_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/migrations/2_nftMarket_migration.js -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/package.json -------------------------------------------------------------------------------- /pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/pages/_app.tsx -------------------------------------------------------------------------------- /pages/api/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/pages/api/utils.ts -------------------------------------------------------------------------------- /pages/api/verify-image.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/pages/api/verify-image.ts -------------------------------------------------------------------------------- /pages/api/verify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/pages/api/verify.ts -------------------------------------------------------------------------------- /pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/pages/index.tsx -------------------------------------------------------------------------------- /pages/nft/create.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/pages/nft/create.tsx -------------------------------------------------------------------------------- /pages/profile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/pages/profile.tsx -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/contracts/Migrations.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/public/contracts/Migrations.json -------------------------------------------------------------------------------- /public/contracts/NftMarket.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/public/contracts/NftMarket.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/images/default_avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/public/images/default_avatar.png -------------------------------------------------------------------------------- /public/images/default_user_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/public/images/default_user_image.png -------------------------------------------------------------------------------- /public/images/page_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/public/images/page_logo.png -------------------------------------------------------------------------------- /public/images/small-eth.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/public/images/small-eth.webp -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/styles/globals.css -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /test/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/commands.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/test/commands.js -------------------------------------------------------------------------------- /test/nftMarket.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/test/nftMarket.test.js -------------------------------------------------------------------------------- /test/nftMeta/images/Creature_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/test/nftMeta/images/Creature_1.png -------------------------------------------------------------------------------- /test/nftMeta/images/Creature_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/test/nftMeta/images/Creature_2.png -------------------------------------------------------------------------------- /test/nftMeta/images/Creature_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/test/nftMeta/images/Creature_3.png -------------------------------------------------------------------------------- /test/nftMeta/images/Creature_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/test/nftMeta/images/Creature_4.png -------------------------------------------------------------------------------- /test/nftMeta/images/Creature_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/test/nftMeta/images/Creature_5.png -------------------------------------------------------------------------------- /test/nftMeta/json/creature-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/test/nftMeta/json/creature-1.json -------------------------------------------------------------------------------- /test/nftMeta/json/creature-2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/test/nftMeta/json/creature-2.json -------------------------------------------------------------------------------- /truffle-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/truffle-config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/types/hooks.ts -------------------------------------------------------------------------------- /types/nft.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/types/nft.ts -------------------------------------------------------------------------------- /types/nftMarketContract.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jerga99/nft-marketplace/HEAD/types/nftMarketContract.ts --------------------------------------------------------------------------------