{"id":23459336,"url":"https://github.com/sablier-labs/legacy-contracts","last_synced_at":"2025-05-16T18:09:52.838Z","repository":{"id":42164262,"uuid":"145317487","full_name":"sablier-labs/legacy-contracts","owner":"sablier-labs","description":"Core smart contracts of the Sablier Legacy protocol","archived":false,"fork":false,"pushed_at":"2024-12-21T10:21:30.000Z","size":3062,"stargazers_count":262,"open_issues_count":1,"forks_count":76,"subscribers_count":20,"default_branch":"develop","last_synced_at":"2025-05-12T03:08:05.239Z","etag":null,"topics":["blockchain","cryptoasset-streaming","decentralized-finance","defi","ethereum","real-time-finance","sablier","smart-contracts","solidity","token-streaming"],"latest_commit_sha":null,"homepage":"https://sablier.com","language":"JavaScript","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/sablier-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-08-19T16:01:38.000Z","updated_at":"2025-04-26T08:16:11.000Z","dependencies_parsed_at":"2024-12-14T02:33:25.520Z","dependency_job_id":"6e98b1a3-f3d0-43fd-9e18-043d65a525c9","html_url":"https://github.com/sablier-labs/legacy-contracts","commit_stats":null,"previous_names":["sablier-labs/sablier","sablierhq/sablier","sablier-labs/v1-protocol","sablier-labs/legacy","sablier-labs/legacy-contracts"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sablier-labs%2Flegacy-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sablier-labs%2Flegacy-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sablier-labs%2Flegacy-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sablier-labs%2Flegacy-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sablier-labs","download_url":"https://codeload.github.com/sablier-labs/legacy-contracts/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254582907,"owners_count":22095518,"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":["blockchain","cryptoasset-streaming","decentralized-finance","defi","ethereum","real-time-finance","sablier","smart-contracts","solidity","token-streaming"],"created_at":"2024-12-24T06:11:15.201Z","updated_at":"2025-05-16T18:09:52.813Z","avatar_url":"https://github.com/sablier-labs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sablier Legacy [![CircleCI](https://circleci.com/gh/sablier-labs/legacy-contracts.svg?style=svg)](https://circleci.com/gh/sablier-labs/legacy-contracts) [![Coverage Status](https://coveralls.io/repos/github/sablier-labs/legacy-contracts/badge.svg?branch=develop)](https://coveralls.io/github/sablier-labs/legacy-contracts?branch=develop) [![Styled with Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io) [![Commitizen Friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![License: LGPL3.0](https://img.shields.io/badge/License-LGPL%20v3-008033.svg)](https://opensource.org/licenses/lgpl-3.0)\n\nThis is the source code of the Sablier Legacy protocol, which has been superseded by [Sablier Lockup](https://github.com/sablier-labs/v2-core). For more details about how Sablier works, check out our docs at [docs.sablier.com](https://docs.sablier.com).\n\nThis repo is structured as a monorepo:\n\n| Package                                                   | Description                                                       |\n| --------------------------------------------------------- | ----------------------------------------------------------------- |\n| [`@sablier/dev-utils`](/packages/dev-utils)               | Dev utils to be shared across Sablier projects and packages       |\n| [`@sablier/protocol`](/packages/protocol)                 | The core token streaming protocol                                 |\n| [`@sablier/shared-contracts`](/packages/shared-contracts) | Smart contracts to be shared across Sablier projects and packages |\n\n## Usage :hammer_and_pick:\n\nTo compile the smart contracts, bootstrap the monorepo and open the package you'd like to work on. For example, here are the instructions for `@sablier/protocol`:\n\n```bash\n$ yarn run bootstrap\n$ cd packages/protocol\n$ truffle compile --all\n$ truffle migrate --reset --network development\n```\n\nAlternatively, if you simply want to use the UI, head to\n[legacy-recipient.sablier.com](https://legacy-recipient.sablier.com) to withdraw from streams.\n\n## Contributing :raising_hand_woman:\n\nParticipation from the community is crucial for shaping the future development of Sablier. If you are interested in\ncontributing or have any questions, ping us on [Discord](https://discord.gg/KXajCXC).\n\nWe use [Yarn](https://yarnpkg.com/) as a dependency manager and [Truffle](https://github.com/trufflesuite/truffle)\nas a development environment for compiling, testing, and deploying our contracts. The contracts were written in [Solidity](https://github.com/ethereum/solidity).\n\n### Requirements\n\n- yarn \u003e=1.17.3\n- truffle \u003e= 5.0.35\n- solidity 0.5.17\n\n### Pre Requisites\n\nMake sure you are using Yarn \u003e=1.17.3.\n\n```bash\n$ npm install --global yarn\n```\n\nThen, install dependencies:\n\n```bash\n$ yarn install\n```\n\n### Watch\n\nTo re-build all packages on change:\n\n```bash\n$ yarn watch\n```\n\n### Clean\n\nTo clean all packages:\n\n```bash\n$ yarn clean\n```\n\nTo clean a specific package:\n\n```bash\n$ PKG=@sablier/protocol yarn clean\n```\n\n### Lint\n\nTo lint all packages:\n\n```bash\n$ yarn lint\n```\n\nTo lint a specific package:\n\n```bash\n$ PKG=@sablier/protocol yarn lint\n```\n\n### Prettier\n\nTo run prettier on all packages:\n\n```bash\n$ yarn prettier\n```\n\nPrettier cannot be run on individual packages.\n\n### Test\n\nTo run all tests:\n\n```bash\n$ yarn test\n```\n\nTo run tests in a specific package:\n\n```bash\n$ PKG=@sablier/protocol yarn test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsablier-labs%2Flegacy-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsablier-labs%2Flegacy-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsablier-labs%2Flegacy-contracts/lists"}