sablier-labs/legacy-contracts
소개
Core smart contracts of the Sablier Legacy protocol
비즈니스 및 금융측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSablier Legacy

This is the source code of the Sablier Legacy protocol, which has been superseded by Sablier Lockup. For more details about how Sablier works, check out our docs at docs.sablier.com.
This repo is structured as a monorepo:
| Package | Description |
|---|---|
@sablier/dev-utils |
Dev utils to be shared across Sablier projects and packages |
@sablier/protocol |
The core token streaming protocol |
@sablier/shared-contracts |
Smart contracts to be shared across Sablier projects and packages |
Usage :hammer_and_pick:
To 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:
$ yarn run bootstrap
$ cd packages/protocol
$ truffle compile --all
$ truffle migrate --reset --network development
Alternatively, if you simply want to use the UI, head to legacy-recipient.sablier.com to withdraw from streams.
Contributing :raising_hand_woman:
Participation from the community is crucial for shaping the future development of Sablier. If you are interested in contributing or have any questions, ping us on Discord.
We use Yarn as a dependency manager and Truffle as a development environment for compiling, testing, and deploying our contracts. The contracts were written in Solidity.
Requirements
- yarn >=1.17.3
- truffle >= 5.0.35
- solidity 0.5.17
Pre Requisites
Make sure you are using Yarn >=1.17.3.
$ npm install --global yarn
Then, install dependencies:
$ yarn install
Watch
To re-build all packages on change:
$ yarn watch
Clean
To clean all packages:
$ yarn clean
To clean a specific package:
$ PKG=@sablier/protocol yarn clean
Lint
To lint all packages:
$ yarn lint
To lint a specific package:
$ PKG=@sablier/protocol yarn lint
Prettier
To run prettier on all packages:
$ yarn prettier
Prettier cannot be run on individual packages.
Test
To run all tests:
$ yarn test
To run tests in a specific package:
$ PKG=@sablier/protocol yarn test
관련 프로젝트 살펴보기
불러오는 중…