Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.39 KB

File metadata and controls

53 lines (33 loc) · 1.39 KB

Lending Pool

Lending Pool is a smart contract application on Plutus Platform. The smart contract protocol is based on Aave, but does not strictly follow it.

Setting up

The Plutus Application Backend (PAB) usage

We have provided two PAB applications in ./pab and ./pab-simulation. The first one is made for real world usage and interaction through frontend client, the second one is a big test scenario. With the PAB we can serve and interact with contracts over a web API. You can read more about the PAB here: PAB Architecture.

  1. Enter the nix shell (from lending-pool directory):
nix-shell
  1. Build the PAB executables (cd to plutus-use-cases/MetaLamp/lending-pool):
cabal build all
  1. Run the PAB binary:
cabal run pab

This will then start up the server on port 9080.

  1. To run test simulation do:
cabal run pab-simulation

Client

See the client readme.

Troubleshooting

See note.

Protocol functionality

See the description of user endpoints here