The Sablier protocol is hosted on GitHub and the source code for each contract is verified on Etherscan.
Depending on the web3 library you're working with, you may need to get hold of the Sablier ABIs (application binary interfaces). The ABI acts as an interface between two program modules, one of which is the smart contract and the other the Ethereum virtual machine code.
There are two ways to obtain it:
- Clone sablierhq/sablier and compile the contract yourself.
Here's an example for how to do step 2 with yarn and truffle:
$ git clone email@example.com/sablierhq/sablier.git
$ cd ./sablier
$ yarn bootstrap
$ cd ./packages/protocol
$ truffle compile
Sablier.json artifact should be generated in the relative