Skip to main content

create-predict-manager

Calls predict::create_manager against the live Predict package. Predict shares the manager internally; the script picks the new PredictManager id from objectChanges and prints it.
Paste the id into .env as AGENT_PREDICT_MANAGER_ID.

fund-manager

Splits a DUSDC coin from the wallet and calls predict_manager::deposit<T> to fund the PredictManager’s internal balance. Required before mint.
Flags

supply-plp

Splits a DUSDC coin and calls predict::supply<T>(predict, coin, clock, ctx) -> Coin<PLP>, plus a predict_facade::attribute_plp_supply event so the indexer credits the supply.
Receives Coin<PLP> representing your share of the Predict shared vault.

predict-mint-smoke

Builds a predict::mint<T> PTB with inline market_key::new against testnet using AGENT_KEY + AGENT_PREDICT_MANAGER_ID. Prerequisite: fund-manager deposited DUSDC first.
Flags Used during bootstrap (SETUP step 7) to validate the Predict integration end-to-end.