Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maker-otc Orderbook Killer

This repository contains a bash script to close all the remaining open orders in a closed maker-otc market. It will only cancel those orders from the pairs included in the respecting file <NETWORK-pairs>. This script only removes orders which belong to the sorted book.

Additional Documentation

maker-otc: https://github.com/makerdao/maker-otc

Deployment

Prerequisites:

Steps:

  • export ETH_FROM=YOUR_ACCOUNT
  • export ETH_PASSWORD=ACCOUNT_PASSWORD_FILE_PATH
  • export ETH_KEYSTORE=KEYSTORE_PATH (If not using the default one)
  • export SETH_CHAIN=<kovan || ethlive> or export ETH_RPC_URL=YOUR_RPC_NODE_URL
  • export OTC=MARKET_CONTRACT_ADDRESS
  • ./purge

About

bash script to close all the remaining open orders in a closed maker-otc market

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors