{"id":24326524,"url":"https://github.com/variablevar/marketplace-contracts","last_synced_at":"2026-02-15T13:36:53.751Z","repository":{"id":223093278,"uuid":"757916053","full_name":"variablevar/marketplace-contracts","owner":"variablevar","description":"This monorepo contains a Web3-based application designed to listen to events from an Ethereum-based NFT marketplace and manage the corresponding data in MongoDB.","archived":false,"fork":false,"pushed_at":"2025-01-15T11:03:36.000Z","size":9341,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T03:01:45.685Z","etag":null,"topics":["blockchain","blockchain-event-handling","ethereum","event-listener","hardhat","mocha","mongodb","nft-event-listener","nft-marketplace","nyc","smart-contracts","typescript","web3"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/variablevar.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}},"created_at":"2024-02-15T08:53:43.000Z","updated_at":"2025-01-15T12:06:38.000Z","dependencies_parsed_at":"2024-03-11T11:50:48.960Z","dependency_job_id":"7a3b16e2-3acf-4a8f-9ff2-29ae60f44ba2","html_url":"https://github.com/variablevar/marketplace-contracts","commit_stats":null,"previous_names":["variablevar/marketplace-contracts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/variablevar/marketplace-contracts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/variablevar%2Fmarketplace-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/variablevar%2Fmarketplace-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/variablevar%2Fmarketplace-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/variablevar%2Fmarketplace-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/variablevar","download_url":"https://codeload.github.com/variablevar/marketplace-contracts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/variablevar%2Fmarketplace-contracts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29480207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T11:35:25.641Z","status":"ssl_error","status_checked_at":"2026-02-15T11:34:57.128Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["blockchain","blockchain-event-handling","ethereum","event-listener","hardhat","mocha","mongodb","nft-event-listener","nft-marketplace","nyc","smart-contracts","typescript","web3"],"created_at":"2025-01-17T21:12:17.932Z","updated_at":"2026-02-15T13:36:53.738Z","avatar_url":"https://github.com/variablevar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web3 NFT Marketplace Event Listener Monorepo\n\nThis monorepo contains a Web3-based application designed to listen to events from an Ethereum-based NFT marketplace and manage the corresponding data in MongoDB.\n\nMake sure ur using node v18\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Scripts](#scripts)\n- [Environment Variables](#environment-variables)\n- [Usage](#usage)\n- [Testing](#testing)\n- [Deployment](#deployment)\n- [License](#license)\n\n## Installation\n\n1. **Clone the repository**:\n\n   ```bash\n   git clone https://github.com/variablevar/marketplace-contracts.git\n   cd marketplace-contracts\n   ```\n\n2. **Install dependencies**:\n\n   ```bash\n   npm install\n   ```\n\n## Scripts\n\nThe following scripts are defined in the `package.json` file:\n\n- **Start the service**:\n\n  ```bash\n  npm start\n  ```\n\n  Runs the application using `ts-node` to execute `lib/service.ts`.\n\n- **Build the project**:\n\n  ```bash\n  npm run build\n  ```\n\n  Compiles the TypeScript code into JavaScript using the TypeScript compiler (`tsc`).\n\n- **Deploy contracts**:\n\n  ```bash\n  npm run deploy\n  ```\n\n  Deploys the smart contracts to the specified network using Hardhat.\n\n- **Generate TypeChain bindings**:\n\n  ```bash\n  npm run build:typechain\n  ```\n\n  Generates TypeChain bindings for TypeScript integration.\n\n- **Run tests**:\n\n  ```bash\n  npm test\n  ```\n\n  Executes the test suite using Mocha with coverage provided by NYC.\n\n## Environment Variables\n\nThe project requires the following environment variables, which should be defined in a `.env` file in the root directory:\n\n```env\nCONTRACT_ADDRESS_MARKETPLACE=\nCONTRACT_ADDRESS_FACTORY=\nMONGO_URL=\nRPC_URL=\nACCOUNT_0=\nACCOUNT_1=\nACCOUNT_2=\nACCOUNT_3=\nACCOUNT_4=\nACCOUNT_5=\nACCOUNT_6=\nACCOUNT_7=\nACCOUNT_8=\nACCOUNT_9=\nACCOUNT_11=\nACCOUNT_12=\nACCOUNT_13=\nACCOUNT_14=\nACCOUNT_15=\nACCOUNT_16=\nACCOUNT_17=\nACCOUNT_18=\nACCOUNT_19=\nACCOUNT_20=\nACCOUNT_21=\nACCOUNT_22=\nACCOUNT_23=\nACCOUNT_24=\nACCOUNT_25=\nACCOUNT_26=\nACCOUNT_27=\nACCOUNT_28=\nACCOUNT_29=\nACCOUNT_30=\nACCOUNT_31=\nACCOUNT_32=\nACCOUNT_33=\nACCOUNT_34=\nACCOUNT_35=\n```\n\nEnsure all variables are correctly set to match your development and deployment environments.\n\n**Note**: Do not commit the `.env` file to version control to protect sensitive information.\n\n## Usage\n\n1. **Start the application**:\n\n   ```bash\n   npm start\n   ```\n\n   This command will run the service as specified in the `scripts` section.\n\n2. **Interact with the application**:\n\n   Provide instructions on how to use or interact with your application.\n\n## Testing\n\nTo run the test suite:\n\n```bash\nnpm test\n```\n\nThis will execute all tests located in the `test/utils/` directory with a timeout of 600 seconds.\n\n## Deployment\n\nTo deploy the smart contracts:\n\n```bash\nnpm run deploy\n```\n\nThis command uses Hardhat to deploy contracts as defined in the `scripts/deploy.ts` file to the specified network.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvariablevar%2Fmarketplace-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvariablevar%2Fmarketplace-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvariablevar%2Fmarketplace-contracts/lists"}