0.1.5 • Published 4 years ago
@laminar/e2e v0.1.5
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 --tmpTo build the project without docker use the guidelines here:
laminar-protocol/laminar-chain
Run the node with:
cargo run -- --dev --tmpSimulate synthetic pool liquidation
Install dependencies:
yarnRun simulation:
yarn dev:simulate-liquidate-synthetic-poolSimulate margin position
To use simulation you need to clone the repository and run the simulation script:
Install dependencies:
yarnRun simulation:
yarn dev:simulate-margin-position