{"id":21820173,"url":"https://github.com/5afe/safe-space","last_synced_at":"2025-06-15T10:06:06.864Z","repository":{"id":65684622,"uuid":"596408747","full_name":"5afe/safe-space","owner":"5afe","description":"A marketplace for buying and selling things with Safe accounts.","archived":false,"fork":false,"pushed_at":"2023-05-04T10:02:29.000Z","size":711,"stargazers_count":6,"open_issues_count":6,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-15T10:06:05.953Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/5afe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-02-02T05:36:19.000Z","updated_at":"2023-07-14T12:54:20.000Z","dependencies_parsed_at":"2024-11-27T16:45:25.339Z","dependency_job_id":null,"html_url":"https://github.com/5afe/safe-space","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/5afe/safe-space","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5afe%2Fsafe-space","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5afe%2Fsafe-space/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5afe%2Fsafe-space/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5afe%2Fsafe-space/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5afe","download_url":"https://codeload.github.com/5afe/safe-space/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5afe%2Fsafe-space/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259957155,"owners_count":22937538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-27T16:29:02.416Z","updated_at":"2025-06-15T10:06:06.823Z","avatar_url":"https://github.com/5afe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Safe Space\n\nA marketplace for buying and selling things with Safe accounts.\n\n![safe-space-demo-0 0 2](https://user-images.githubusercontent.com/9806858/216753361-7f4dab8a-5df7-4fcb-a671-5ca6e209eb24.gif)\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/5afe/safe-space)\n\n## Quickstart\n\n\n```\ngit clone https://github.com/5afe/safe-space\ncd safe-space\n# git checkout \u003cversion\u003e #optional if you want to use a specific version e.g. git checkout 0.4.0\nyarn install\nyarn start\n```\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\n## Deploying smart contracts\n\n1. Get some tokens to pay the gas fees for deploying the smart contracts:\n    1. Ethereum Goerli: https://goerlifaucet.com\n\n```bash\ncp example.env .env\ntouch .privatekey\n# put environment variables in .env and .privatekey\nsource.env\nnpx hardhat deploy --chain-id 5\n```\n\n1. Deploy the smart contract: `npx hardhat deploy --chain-id [chainId]`\n    1. If you want to deploy just the NFT or the Market without deploying everything run:\n        1.  `npx hardhat deploy:nft --chain-id [chainId]`\n        1.  `npx hardhat deploy:market --chain-id [chainId]`\n    1. Here are some examples:\n        1. Ethereum Goerli: `npx hardhat deploy --chain-id 5`\n\n### Verifying Smart Contract on Etherscan\n\n1. Get Etherscan API Key: https://etherscan.io/myapikey\n    1. Similar process for Other networks\n1. Set environment variable in `.secrets`: `export ETHERSCAN_API_KEY=\"\"`\n1. `npx hardhat verify --network goerli [smart_contract_address_you_just deployed]`\n    1. Example: `npx hardhat verify --network goerli 0x85942528541a1d7db9e9d84a074d0b2204c94b5a`\n    1. To see a list of other networks: `npx hardhat verify --list-networks`\n\n## Contracts\n1. NFT Marketplace: https://goerli.etherscan.io/address/0xa0a3c753387050d1949d6b8db672fff724b635c1#code\n\n1. NFT: https://goerli.etherscan.io/address/0x85942528541a1d7db9e9d84a074d0b2204c94b5a#code\n\n## Deploying an NFT to an existing Smart Contract\n\n1. Get your infura API key.\n1. Add it to `.env`\n1. Edit `server/nfts.json`\n\n```bash\nsource .env\nnode server/CreateNFT.js 'server/nfts.json'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5afe%2Fsafe-space","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5afe%2Fsafe-space","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5afe%2Fsafe-space/lists"}