{"id":39584761,"url":"https://github.com/XPRNetwork/proton-market-old","last_synced_at":"2026-01-26T15:01:20.194Z","repository":{"id":41823597,"uuid":"365046204","full_name":"XPRNetwork/proton-market-old","owner":"XPRNetwork","description":"Proton NFT Marketplace Frontend","archived":false,"fork":false,"pushed_at":"2022-11-09T03:51:14.000Z","size":6522,"stargazers_count":22,"open_issues_count":4,"forks_count":22,"subscribers_count":8,"default_branch":"master","last_synced_at":"2023-10-20T08:50:16.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XPRNetwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-06T21:54:31.000Z","updated_at":"2023-10-20T08:50:16.225Z","dependencies_parsed_at":"2023-01-22T18:30:16.806Z","dependency_job_id":null,"html_url":"https://github.com/XPRNetwork/proton-market-old","commit_stats":null,"previous_names":["xprnetwork/proton-market-old"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/XPRNetwork/proton-market-old","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XPRNetwork%2Fproton-market-old","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XPRNetwork%2Fproton-market-old/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XPRNetwork%2Fproton-market-old/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XPRNetwork%2Fproton-market-old/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XPRNetwork","download_url":"https://codeload.github.com/XPRNetwork/proton-market-old/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XPRNetwork%2Fproton-market-old/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28781308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-18T07:35:27.100Z","updated_at":"2026-01-26T15:01:20.189Z","avatar_url":"https://github.com/XPRNetwork.png","language":"TypeScript","readme":"\n# Proton Marketplace\n\nThis application shows the basic functionality of NFTs on the Proton chain through the use of the [Proton Web SDK](https://www.npmjs.com/package/@proton/web-sdk).\n\nThis is built off of atomicassets NFT framework.\n\n- [API Documentation for atomicassets (mainnet)](https://proton.api.atomicassets.io/atomicassets/docs/swagger/)\n- [API Documentation for atomicmarket (mainnet)](https://proton.api.atomicassets.io/atomicmarket/docs/swagger/)\n- [API Documentation for atomicassets (testnet)](https://test.proton.api.atomicassets.io/atomicassets/docs/swagger/)\n- [API Documentation for atomicmarket (testnet)](https://test.proton.api.atomicassets.io/atomicmarket/docs/swagger/)\n\n## To build and run locally\n\n### Docker\n\nRun a docker container:\n\n```\ndocker build market\n\ndocker images\n\ndocker run -p 3000:3000 -i -d [image id]\n```\n\n### npm\n\n```\ngit clone https://github.com/ProtonProtocol/market.git\n\nnpm install\n\nnpm run dev\n```\n\n### Set up a Cloud Firestore\n\nThis project uses Firebase for the dynamic configuration of homepage templates.\nPlease refer to the [Firebase\ndocumentation](https://firebase.google.com/docs/firestore) to set up your\nfirestore.\n\nNote you'll need to set the following environment variables:\n\n- `FIREBASE_API_KEY`\n- `FIREBASE_AUTH_DOMAIN`\n- `FIREBASE_PROJECT_ID`\n\nIf you do not want to implement Firebase, remove the invocation of\n`useFirebaseFeaturedTemplates` and fetch templates directly from Atomic Assets\n(for example, with the\n`http://proton.api.atomicassets.io/atomicassets/docs/swagger/#/templates/get_v1_templates`\nendpoint).\n\nThe API response will contain an array of templates which you can pass as the\n`items` prop of the `Grid` component rendered.\n\n```js\n// pages/index.tsx\n\nconst MarketPlace = (): JSX.Element =\u003e {\n  const featuredTemplates = useFirebaseFeaturedTemplates();\n  return (\n    \u003cPageLayout\u003e\n      \u003cBanner modalType={MODAL_TYPES.CLAIM} /\u003e\n      \u003cExploreCard /\u003e\n      \u003cHomepageStatistics /\u003e\n      \u003cTitle\u003eNew \u0026amp; Noteworthy\u003c/Title\u003e\n      \u003cGrid items={featuredTemplates} /\u003e\n    \u003c/PageLayout\u003e\n  );\n};\n```\n\n## Environment\n\nCreate a copy of `.env.template` and name it `.env.local`:\n\n* `NEXT_PUBLIC_CHAIN_ENDPOINTS` is used for initializing the Proton Web SDK.\n* `NEXT_PUBLIC_BLOCK_EXPLORER` is used for connecting to the Proton Block Explorer.\n* `NEXT_PUBLIC_NFT_ENDPOINT` is used for connecting to the Atomic Assets API.\n* `NEXT_PUBLIC_GA_TRACKING_ID` is used for initializing Google Analytics.\n* `FIREBASE_API_KEY`, `FIREBASE_AUTH_DOMAIN`, and `FIREBASE_PROJECT_ID` are used\n  for initializing Firebase for the homepage's featured NFTs.\n* `PINATA_API_KEY` and `PINATA_SECRET` are used for connecting to [Pinata](https://pinata.cloud/) for IPFS upload.\n\nFor mainnet:\n```\nNEXT_PUBLIC_CHAIN_ENDPOINTS='https://proton.eoscafeblock.com, https://proton.greymass.com'\nNEXT_PUBLIC_BLOCK_EXPLORER='https://proton.bloks.io/block/'\nNEXT_PUBLIC_NFT_ENDPOINT='https://proton.api.atomicassets.io'\nNEXT_PUBLIC_GA_TRACKING_ID='string'\nFIREBASE_API_KEY=string\nFIREBASE_AUTH_DOMAIN=string\nFIREBASE_PROJECT_ID=string\nPINATA_API_KEY=string\nPINATA_SECRET=string\n```\n\nFor testnet:\n```\nNEXT_PUBLIC_CHAIN_ENDPOINTS='https://testnet.protonchain.com'\nNEXT_PUBLIC_BLOCK_EXPLORER='https://proton-test.bloks.io/block/'\nNEXT_PUBLIC_NFT_ENDPOINT='https://test.proton.api.atomicassets.io'\nNEXT_PUBLIC_GA_TRACKING_ID='string'\nFIREBASE_API_KEY=string\nFIREBASE_AUTH_DOMAIN=string\nFIREBASE_PROJECT_ID=string\nPINATA_API_KEY=string\nPINATA_SECRET=string\n```\n\n## Marketplace\n\nThe marketplace page consists of templates of a specific `collection_name`.\n\n### Custom flags\n\n- The `Template` object is extended with the following custom property: `lowestPrice`.\n  - `lowestPrice` (string) is determined by checking the Sales API for assets listed for sale and finding the lowest price of the assets of that particular template.\n\n## My NFTs\n\nThe `My NFTs` page consists of the current user's assets. Each user is only allowed to view their own collection page in this demo.\n\n### Custom flags\n\n- The `Asset` object is extended with the following custom properties: `isForSale` and `salePrice`.\n  - `isForSale` (boolean) is determined by checking the Sales API for currently listed sales using the `asset_id` and `seller` (current user's `chainAccount`)\n  - `salePrice` (string) is determined by checking the Sales API and combining an asset's `listing_price` and `listing_symbol`\n","funding_links":[],"categories":["\u003ca name=\"TypeScript\"\u003e\u003c/a\u003eTypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXPRNetwork%2Fproton-market-old","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FXPRNetwork%2Fproton-market-old","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXPRNetwork%2Fproton-market-old/lists"}