├── .gitignore ├── README.md ├── bin └── install-service ├── market-backend ├── package.json ├── prisma │ ├── migrations │ │ ├── 20220905143301_init │ │ │ └── migration.sql │ │ ├── 20220909181940_tweak_type_of_maximum_supply │ │ │ └── migration.sql │ │ └── migration_lock.toml │ ├── schema.prisma │ └── seed.ts ├── src │ ├── EventStream.ts │ ├── Execution.ts │ ├── State.ts │ ├── config │ │ ├── constants.ts │ │ └── libs.ts │ ├── consumers │ │ ├── BuyEventConsumer.ts │ │ ├── Consumer.ts │ │ ├── ListEventConsumer.ts │ │ └── index.ts │ ├── types │ │ ├── events │ │ │ ├── buy_token.ts │ │ │ ├── event.ts │ │ │ ├── index.ts │ │ │ └── list_token.ts │ │ ├── index.ts │ │ └── structs │ │ │ ├── TokenData.ts │ │ │ ├── index.ts │ │ │ └── market_id.ts │ └── utils │ │ └── delay.ts └── tsconfig.json ├── market-contracts ├── Move.toml ├── package.json └── sources │ └── marketplace.move ├── market-frontend ├── .gitignore ├── README.md ├── next.config.js ├── package.json ├── postcss.config.js ├── public │ ├── favicon.ico │ ├── logo.svg │ └── vercel.svg ├── scripts │ ├── buy_token.mjs │ ├── create_market.mjs │ └── list_token.mjs ├── src │ ├── components │ │ ├── AptosConnect.tsx │ │ ├── ListCard.tsx │ │ ├── Loading.tsx │ │ ├── ModalContext.tsx │ │ ├── NavBar.tsx │ │ ├── NavItem.tsx │ │ ├── OfferCard.tsx │ │ ├── TokenCard.tsx │ │ ├── TooltipSection.tsx │ │ └── WalletModal.tsx │ ├── config │ │ └── constants.ts │ ├── hooks │ │ ├── index.ts │ │ ├── useOffers.ts │ │ └── useTokens.ts │ ├── pages │ │ ├── _app.tsx │ │ ├── api │ │ │ └── offers.ts │ │ ├── dashboard.tsx │ │ ├── index.tsx │ │ ├── make-offer.tsx │ │ └── mint.tsx │ ├── styles │ │ ├── globals.css │ │ └── loading.css │ ├── types │ │ ├── Offer.ts │ │ ├── Token.ts │ │ └── index.ts │ └── utils │ │ ├── aptos.ts │ │ ├── nftstorage.ts │ │ └── supabase.ts ├── tailwind.config.js ├── tsconfig.json └── yarn.lock ├── package.json ├── pics └── logo.svg └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/README.md -------------------------------------------------------------------------------- /bin/install-service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/bin/install-service -------------------------------------------------------------------------------- /market-backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/package.json -------------------------------------------------------------------------------- /market-backend/prisma/migrations/20220905143301_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/prisma/migrations/20220905143301_init/migration.sql -------------------------------------------------------------------------------- /market-backend/prisma/migrations/20220909181940_tweak_type_of_maximum_supply/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/prisma/migrations/20220909181940_tweak_type_of_maximum_supply/migration.sql -------------------------------------------------------------------------------- /market-backend/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /market-backend/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/prisma/schema.prisma -------------------------------------------------------------------------------- /market-backend/prisma/seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/prisma/seed.ts -------------------------------------------------------------------------------- /market-backend/src/EventStream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/EventStream.ts -------------------------------------------------------------------------------- /market-backend/src/Execution.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/Execution.ts -------------------------------------------------------------------------------- /market-backend/src/State.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/State.ts -------------------------------------------------------------------------------- /market-backend/src/config/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/config/constants.ts -------------------------------------------------------------------------------- /market-backend/src/config/libs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/config/libs.ts -------------------------------------------------------------------------------- /market-backend/src/consumers/BuyEventConsumer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/consumers/BuyEventConsumer.ts -------------------------------------------------------------------------------- /market-backend/src/consumers/Consumer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/consumers/Consumer.ts -------------------------------------------------------------------------------- /market-backend/src/consumers/ListEventConsumer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/consumers/ListEventConsumer.ts -------------------------------------------------------------------------------- /market-backend/src/consumers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/consumers/index.ts -------------------------------------------------------------------------------- /market-backend/src/types/events/buy_token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/types/events/buy_token.ts -------------------------------------------------------------------------------- /market-backend/src/types/events/event.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/types/events/event.ts -------------------------------------------------------------------------------- /market-backend/src/types/events/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/types/events/index.ts -------------------------------------------------------------------------------- /market-backend/src/types/events/list_token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/types/events/list_token.ts -------------------------------------------------------------------------------- /market-backend/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/types/index.ts -------------------------------------------------------------------------------- /market-backend/src/types/structs/TokenData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/types/structs/TokenData.ts -------------------------------------------------------------------------------- /market-backend/src/types/structs/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./market_id"; 2 | -------------------------------------------------------------------------------- /market-backend/src/types/structs/market_id.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/types/structs/market_id.ts -------------------------------------------------------------------------------- /market-backend/src/utils/delay.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/src/utils/delay.ts -------------------------------------------------------------------------------- /market-backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-backend/tsconfig.json -------------------------------------------------------------------------------- /market-contracts/Move.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-contracts/Move.toml -------------------------------------------------------------------------------- /market-contracts/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-contracts/package.json -------------------------------------------------------------------------------- /market-contracts/sources/marketplace.move: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-contracts/sources/marketplace.move -------------------------------------------------------------------------------- /market-frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/.gitignore -------------------------------------------------------------------------------- /market-frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/README.md -------------------------------------------------------------------------------- /market-frontend/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/next.config.js -------------------------------------------------------------------------------- /market-frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/package.json -------------------------------------------------------------------------------- /market-frontend/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/postcss.config.js -------------------------------------------------------------------------------- /market-frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/public/favicon.ico -------------------------------------------------------------------------------- /market-frontend/public/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/public/logo.svg -------------------------------------------------------------------------------- /market-frontend/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/public/vercel.svg -------------------------------------------------------------------------------- /market-frontend/scripts/buy_token.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/scripts/buy_token.mjs -------------------------------------------------------------------------------- /market-frontend/scripts/create_market.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/scripts/create_market.mjs -------------------------------------------------------------------------------- /market-frontend/scripts/list_token.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/scripts/list_token.mjs -------------------------------------------------------------------------------- /market-frontend/src/components/AptosConnect.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/components/AptosConnect.tsx -------------------------------------------------------------------------------- /market-frontend/src/components/ListCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/components/ListCard.tsx -------------------------------------------------------------------------------- /market-frontend/src/components/Loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/components/Loading.tsx -------------------------------------------------------------------------------- /market-frontend/src/components/ModalContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/components/ModalContext.tsx -------------------------------------------------------------------------------- /market-frontend/src/components/NavBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/components/NavBar.tsx -------------------------------------------------------------------------------- /market-frontend/src/components/NavItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/components/NavItem.tsx -------------------------------------------------------------------------------- /market-frontend/src/components/OfferCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/components/OfferCard.tsx -------------------------------------------------------------------------------- /market-frontend/src/components/TokenCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/components/TokenCard.tsx -------------------------------------------------------------------------------- /market-frontend/src/components/TooltipSection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/components/TooltipSection.tsx -------------------------------------------------------------------------------- /market-frontend/src/components/WalletModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/components/WalletModal.tsx -------------------------------------------------------------------------------- /market-frontend/src/config/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/config/constants.ts -------------------------------------------------------------------------------- /market-frontend/src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/hooks/index.ts -------------------------------------------------------------------------------- /market-frontend/src/hooks/useOffers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/hooks/useOffers.ts -------------------------------------------------------------------------------- /market-frontend/src/hooks/useTokens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/hooks/useTokens.ts -------------------------------------------------------------------------------- /market-frontend/src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/pages/_app.tsx -------------------------------------------------------------------------------- /market-frontend/src/pages/api/offers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/pages/api/offers.ts -------------------------------------------------------------------------------- /market-frontend/src/pages/dashboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/pages/dashboard.tsx -------------------------------------------------------------------------------- /market-frontend/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/pages/index.tsx -------------------------------------------------------------------------------- /market-frontend/src/pages/make-offer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/pages/make-offer.tsx -------------------------------------------------------------------------------- /market-frontend/src/pages/mint.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/pages/mint.tsx -------------------------------------------------------------------------------- /market-frontend/src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/styles/globals.css -------------------------------------------------------------------------------- /market-frontend/src/styles/loading.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/styles/loading.css -------------------------------------------------------------------------------- /market-frontend/src/types/Offer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/types/Offer.ts -------------------------------------------------------------------------------- /market-frontend/src/types/Token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/types/Token.ts -------------------------------------------------------------------------------- /market-frontend/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/types/index.ts -------------------------------------------------------------------------------- /market-frontend/src/utils/aptos.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/utils/aptos.ts -------------------------------------------------------------------------------- /market-frontend/src/utils/nftstorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/utils/nftstorage.ts -------------------------------------------------------------------------------- /market-frontend/src/utils/supabase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/src/utils/supabase.ts -------------------------------------------------------------------------------- /market-frontend/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/tailwind.config.js -------------------------------------------------------------------------------- /market-frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/tsconfig.json -------------------------------------------------------------------------------- /market-frontend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/market-frontend/yarn.lock -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/package.json -------------------------------------------------------------------------------- /pics/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/pics/logo.svg -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluesky950520/aptos-NFT-marketplace/HEAD/yarn.lock --------------------------------------------------------------------------------