Set correct node version (see .nvmrc) with nvm
nvm useInstall requirements with yarn:
yarnCreate .env file to use the commands (see .env.sample for more info):
NETWORK- rinkebyPKorMNEMONIC- Credentials for the account that should be usedINFURA- For network that use Infura based RPCNODE- RPC node
Creates and setups a Safe proxy via the safe=core-sdk. (Make sure to fund your "first" named account from the hardhat.config)
This will deploy a Safe that uses the "first" & "second" named accounts as an owners and sets the Safe threshold to 2
node --require hardhat/register scripts/deploy.tsInitiates a Sablier protocol stream via the safe=core-sdk. (Make sure to fund your safe with DAI)
This will deploy a Safe that uses the first imported account as an owner and set the threshold to 1.
node --require hardhat/register scripts/stream.ts -s <safe-address> -t <stream-target-address>