Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 824 Bytes

README.md

File metadata and controls

45 lines (34 loc) · 824 Bytes

E2E & Simulations

To run the simulation you need to local Laminar node

Running Laminar local node

Using docker:

docker run --rm -p 9944:9944  laminar/laminar-node:latest \
--dev --ws-external --rpc-methods=unsafe \
-levm=trace --tmp

To build the project without docker use the guidelines here: laminar-protocol/laminar-chain Run the node with:

cargo run -- --dev --tmp

Simulate synthetic pool liquidation

Install dependencies:

yarn

Run simulation:

yarn dev:simulate-liquidate-synthetic-pool

Simulate margin position

To use simulation you need to clone the repository and run the simulation script:

Install dependencies:

yarn

Run simulation:

yarn dev:simulate-margin-position