Escrow Payment
Last updated
Was this helpful?
Last updated
Was this helpful?
The Request Network Escrow isn't a separate payment network. Rather, it builds on top of the ERC20_FEE_PROXY_CONTRACT
payment network.
Using the package, the payer
creates a request with the ERC20_FEE_PROXY_CONTRACT
payment network.
Using the package, payer
:
Approves the escrow contract using approveErc20ForEscrow()
Pays the escrow contract using payEscrow()
Waits until the work is complete
Pays the payee from the Escrow contract using payRequestFromEscrow()
These steps are shown by our unit tests: