Payment Switch


The Payment Switch fulfills these roles:

  • Managed Escrow between buyer/seller, with marketplace/DAO as the arbiter
  • Escrow storage and reference pipeline (manages Escrow Lifecycle)

Setup & Operation

Setup

  • install hardhat globally
  • create .env file (using example.env as example)
yarn install

Compile Solidity Contracts

npx hardhat compile

Run Unit Tests

npx hardhat test