Automated pipeline to run auctions and apply the results regularly
- Get all the files from the directory
auctions/{epoch}.{slot}/inputs
in this repo and store them in a local directory ({INPUTS_DIR}
) - Checkout the ds-sam repo locally and work in its root directory
- Prepare an empty local directory for storing the outputs (
{OUTPUTS_DIR}
) - Run
pnpm install
to install dependencies - Run
pnpm -r build
to build the package - Run
pnpm run cli -- auction -c {INPUTS_DIR}/config.json --inputs-source FILES --cache-dir-path {INPUTS_DIR} -o {OUTPUTS_DIR}
to evaluate the auction - Get the results of the auction from
{OUTPUTS_DIR}