Skip to content

juanmardefago/allocation-optimizer-standalone

Repository files navigation

Graph Network Allocation Optimizer (Standalone App)

Standalone local app that recreates the spreadsheet-based allocation optimizer described in SPREADSHEET_TOOL_SPEC.md.

Quickstart

  1. Install dependencies:
cd standalone-app
npm install
  1. Create .env.local:
cp .env.example .env.local
  1. Run locally:
npm run dev

Open the printed localhost URL.

Using the tool

  1. Click Refresh from subgraph to load deployments (this also updates the “All filtered deployments” table).
  2. Set filters (min signalled / whitelists). The “All filtered deployments” table updates automatically.
  3. (Optional) Set Max allocations to cap how many non-zero recommendations you want.
  4. Click Compute allocations to run the optimizer and populate the “Recommended allocations” table.
  5. Use Export CSV on either table to export that table’s current (sorted) view.

Environment variables

See .env.example for the full list. At minimum you’ll need a Graph Gateway API key and the Arbitrum One network subgraph deployment ID.

Docs

  • Engineering notes: ENGINEERING.md
  • Project spec: SPREADSHEET_TOOL_SPEC.md
  • Progress tracker: IMPLEMENTATION_PROGRESS.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published