Sablier is the protocol for real-time finance on Ethereum. Read this article to find out more about what we're up to.
Sablier is maintained as a monorepo with multiple sub packages. Please find a comprehensive list below.
Package | Version | Description |
---|---|---|
@sablier/payroll |
Payroll proxy | |
@sablier/protocol |
Money streaming protocol | |
@sablier/shared-contracts |
Smart contracts to be shared across Sablier projects and packages |
Package | Description |
---|---|
@sablier/dev-utils |
Find the addresses for our smart contracts below. They have been audited by Quantstamp and ConsenSys Diligence.
Name | Description | Address |
---|---|---|
CTokenManager | Whitelist and discard cTokens | 0x342A6596F50b4Db7c3246C0F4eFb1f06843d7405 |
Payroll | Proxy used in our web interfaces | 0xbd6a40Bb904aEa5a49c59050B5395f7484A4203d |
Sablier | Money streaming engine | 0xA4fc358455Febe425536fd1878bE67FfDBDEC59a |
These are Goerli, Kovan, Rinkeby and Ropsten. Each contract has the same address on all testnets.
Name | Description | Address |
---|---|---|
CTokenManager | Whitelist and discard cTokens | 0xEE5dfDf2e98FdC572786b9E5649cB8Cc93D47a19 |
Payroll | Proxy used in our web interfaces | 0x7ee114C3628Ca90119fC699f03665bF9dB8f5faF |
Sablier | Money streaming engine | 0xc04Ad234E01327b24a831e3718DBFcbE245904CC |
If you just want to use the dapps, head to pay.sablier.finance to create streams and app.sablier.finance to withdraw from streams. You'll need an Ethereum wallet and some ERC20 tokens to interact with the dapps.
To check out and compile the smart contracts, bootstrap the monorepo and head to each individual package as presented
above. For example, these are the instructions for @sablier/protocol
:
$ yarn run bootstrap
$ cd packages/protocol
$ truffle compile --all
$ truffle migrate --reset --network development
We highly encourage participation from the community to help shape the development of Sablier. If you are interested in contributing or have any questions, ping us on Twitter or Telegram;
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.
- yarn >=1.17.3
- truffle >= 5.0.35
- solidity 0.5.11
Make sure you are using Yarn >=1.17.3 To install using homebrew:
$ brew install yarn
Then install dependencies:
$ yarn install
To re-build all packages on change:
$ yarn watch
To clean all packages:
$ yarn clean
To clean a specific package:
$ PKG=@sablier/protocol yarn clean
To lint all packages:
$ yarn lint
To lint a specific package:
$ PKG=@sablier/protocol yarn lint
To run prettier on all packages:
$ yarn prettier
Prettier cannot be run on individual packages.
To run all tests:
$ yarn test
To run tests in a specific package:
$ PKG=@sablier/protocol yarn test