Skip to content

purefinance/pf-payment-stream

Repository files navigation

Pure Finance Payment Stream

Payment stream contract for pure.finance

Stack:

How to use this repository

npm install
echo NODE_URL=YOUR_NODE_URL > .env # required for mainnet fork

Build Contracts

npx hardhat compile

Testing

npx hardhat test

Coverage Report

npx hardhat coverage

Development

To spin up a local fork and deploy the contracts, create a .env file with the following variables:

  • MNEMONIC: The 12-word mnemonic phrase to derive the dev/test accounts.
  • NODE_URL: URL of the JSON-RPC node to fork from.

Then run:

npx hardhat node

The forked JSON-RPC server will start, listen in http://127.0.0.1:8545 and have the contracts deployed.

About

Payment stream contract for pure.finance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •