{"id":20002003,"url":"https://github.com/pooltogether/pooltogether-contracts-mock","last_synced_at":"2025-05-04T15:33:48.665Z","repository":{"id":35008304,"uuid":"174427961","full_name":"pooltogether/pooltogether-contracts-mock","owner":"pooltogether","description":"Mock setup for the PoolTogether contracts","archived":false,"fork":false,"pushed_at":"2022-12-10T20:46:18.000Z","size":889,"stargazers_count":8,"open_issues_count":16,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-23T21:42:37.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/pooltogether.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}},"created_at":"2019-03-07T22:12:11.000Z","updated_at":"2024-04-23T21:42:37.607Z","dependencies_parsed_at":"2023-01-15T12:01:04.542Z","dependency_job_id":null,"html_url":"https://github.com/pooltogether/pooltogether-contracts-mock","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fpooltogether-contracts-mock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fpooltogether-contracts-mock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fpooltogether-contracts-mock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooltogether%2Fpooltogether-contracts-mock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pooltogether","download_url":"https://codeload.github.com/pooltogether/pooltogether-contracts-mock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224394325,"owners_count":17303898,"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-13T05:19:29.330Z","updated_at":"2024-11-13T05:19:29.933Z","avatar_url":"https://github.com/pooltogether.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PoolTogether Mock Contracts\n\nA set of migrations that deploy the [PoolTogether contracts](https://github.com/pooltogether/pooltogether-contracts), along with a mock MoneyMarket and Token.\n\nThe migrations will deploy the contracts, mint tokens, start a pool, and deposit into the pool.\n\n# Setup\n\nClone the repo and then install deps:\n\n```\n$ yarn\n```\n\nCopy over .envrc and allow [direnv](https://direnv.net/):\n\n```\n$ cp .envrc.example .envrc\n$ direnv allow\n```\n\nStart the local Ethereum node using `ganache-cli`:\n\n```\n$ yarn start\n```\n\nNow deploy the contracts locally:\n\n```\n$ yarn migrate\n```\n\nTo destroy your local deployment, run:\n\n```\n$ yarn reset\n```\n\n*Note: If you changed the mnemonic, you should update the ADMIN_ADDRESS variable in `.envrc` with another address (I use the second address listed when `ganache-cli` starts).*\n\n# Creating Rewards\n\nTo accrue interest on the pools you need to run:\n\n```\n$ yarn accrue\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpooltogether%2Fpooltogether-contracts-mock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpooltogether%2Fpooltogether-contracts-mock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpooltogether%2Fpooltogether-contracts-mock/lists"}