{"id":15169888,"url":"https://github.com/golemfactory/ethereum-contracts","last_synced_at":"2025-10-01T03:31:53.940Z","repository":{"id":86423506,"uuid":"52101958","full_name":"golemfactory/ethereum-contracts","owner":"golemfactory","description":"Ethereum contracts for nanopayments schemes used in Golem Worldwide Supercomputer.","archived":true,"fork":false,"pushed_at":"2016-12-12T22:46:34.000Z","size":42,"stargazers_count":21,"open_issues_count":0,"forks_count":11,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-10-01T01:56:52.446Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://golemproject.net","language":"Python","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/golemfactory.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":"2016-02-19T16:46:37.000Z","updated_at":"2023-04-04T14:55:30.000Z","dependencies_parsed_at":"2023-03-21T00:29:59.179Z","dependency_job_id":null,"html_url":"https://github.com/golemfactory/ethereum-contracts","commit_stats":{"total_commits":26,"total_committers":2,"mean_commits":13.0,"dds":"0.038461538461538436","last_synced_commit":"fc6295cc82de7b3b71874967a054baeeeab14233"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golemfactory%2Fethereum-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golemfactory%2Fethereum-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golemfactory%2Fethereum-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golemfactory%2Fethereum-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/golemfactory","download_url":"https://codeload.github.com/golemfactory/ethereum-contracts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234821025,"owners_count":18891966,"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-09-27T07:41:01.929Z","updated_at":"2025-10-01T03:31:48.689Z","avatar_url":"https://github.com/golemfactory.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ethereum Contracts for Golem\nEthereum contracts for nanopayment schemes used in [Golem Worldwide Supercomputer](http://golemproject.net).\n\nThe contracts have been created thanks to the [BlockGrantX #1:Genesis](http://blockchainlabs.org/blockgrant-x-en).\n\nCopyright © 2016\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the [GNU General Public License](LICENSE)\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n\n## [Bank Of Deposit](BankOfDeposit.sol)\n\nThe Bank Of Deposit contract keeps users' ethers in contract's internal storage.\nThis approach allows performing one-to-many payment scheme that is linearly cheaper than\na series of individual Ethereum transactions.\n\n## [Lottery](Lottery.sol)\n\nThe Lottery contract implements probabilistic one-to-many payments described in\n[A Probabilistic Nanopayment Scheme for Golem](http://golemproject.net/doc/GolemNanopayments.pdf).\nThe contract allows organizing a lottery for multiple participants.\nOnly one of the participants becomes a winner and gets the right to collect the lottery's reward.\n\n## Testing\n\nThe repository contains Python unit tests for the contracts. The [pyethereum](https://github.com/ethereum/pyethereum) is used to implement the tests.\n```\npip install -r requirements.txt\npython -m unittest discover tests\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgolemfactory%2Fethereum-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgolemfactory%2Fethereum-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgolemfactory%2Fethereum-contracts/lists"}