{"id":19922899,"url":"https://github.com/dltcollab/data-marketplace","last_synced_at":"2025-05-03T07:30:53.496Z","repository":{"id":104420199,"uuid":"170736432","full_name":"DLTcollab/data-marketplace","owner":"DLTcollab","description":"Decentralized Data Marketplace and Monetization","archived":false,"fork":false,"pushed_at":"2019-04-01T07:23:17.000Z","size":23,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-07T13:05:58.809Z","etag":null,"topics":["decentralized-applications","iot","iota","sensor-data","solidity-contracts","tangle","tangleid"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DLTcollab.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":"2019-02-14T18:11:39.000Z","updated_at":"2025-03-01T14:14:27.000Z","dependencies_parsed_at":"2023-05-16T19:30:43.492Z","dependency_job_id":null,"html_url":"https://github.com/DLTcollab/data-marketplace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DLTcollab%2Fdata-marketplace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DLTcollab%2Fdata-marketplace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DLTcollab%2Fdata-marketplace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DLTcollab%2Fdata-marketplace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DLTcollab","download_url":"https://codeload.github.com/DLTcollab/data-marketplace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252156793,"owners_count":21703351,"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":["decentralized-applications","iot","iota","sensor-data","solidity-contracts","tangle","tangleid"],"created_at":"2024-11-12T22:12:24.833Z","updated_at":"2025-05-03T07:30:53.490Z","avatar_url":"https://github.com/DLTcollab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data Marketplace: A decentralized implementation with Ethereum and IOTA\n\nThis is a decentralized data marketplace that allows data consumers\nto place bids on auctions for high-value sensor/IoT devices to compensate\nfor invaluable data.\n\nData Marketplace is governed by specific contracts deployed on Ethereum\nnetwork, allowing data curators to register new data sets and users to\nsubscribe to existing data sets, in conjunction with IOTA network to preserve\nand validate data source.\n\nData Marketplace contract is publicly available and can be used by any other\ncontract in the network. The smart contract stores each of the data sets\nmetadata (owner, price, number of subscriptions, etc.) and information about\neach subscription to any data set (price, start time and end time).\n\n## Registration\n\nRegistration is the process through which data providers can offer their\ndatasets on the Data Marketplace. Data providers are paid for their dataset\nafter the subscription period ends for any given subscriber, through\na withdraw transaction.\n\n## Subscriptions\n\nA Subscription holds the reference to instances of user-defined Contracts.\n\nThe subscribers are the users in the Data Marketplace that pay for data.\nEvery payment is first made to the Marketplace contract and is held until\nthe Subscription is expired or the Data curator is punished (should their\ndata stop being available). In case the data provider was punished then\nand only then, the subscriber will able to ask for a refund. The refund is\nprorated on the fraction of the monthly subscription when the data was\navailable, and will be deposited back to the subscriber's address.\n\n## Contracts\nContracts are the custom and user defined artifact that describe a data\nsubscription service. These are custom contracts that the buyer interacts with.\nThe existence of these contracts live within subscriptions. Additional client\ncode accompanies Contracts, where either the consumer and service provider\nrun a custom client and server.\n\n## Get started\n\n### Prerequisites\n* Ganache\n* solc compiler\n* Truffle\n\n### Setup dependency\n```shell\nnpm install\nnpm install truffle -g\nnpm install ganache-cli -g\n```\n\n### Setup test environment\n```shell\nganache-cli --account 4\n```\n\n### Build and Run\n```shell\ntruffle compile\ntruffle test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdltcollab%2Fdata-marketplace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdltcollab%2Fdata-marketplace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdltcollab%2Fdata-marketplace/lists"}