File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,8 +201,8 @@ const scriptHash = resolvePlutusScriptHash(poolAddress); // also the minting po
201201```
202202
203203Known derived values (preprod):
204- - ` poolAddress ` → ` addr_test1wq8lshhawfkay7fc68078h7hg36mgnqpfnn82a7y4g067cs78y0m9 `
205- - ` scriptHash ` → ` 0ff85efd726dd27938d1dfe3dfd74475b44c014ce67577c4aa1faf62 `
204+ - ` poolAddress ` → ` addr_test1wqkhsggq87fndzsll52yp6rm9aw6jw9hhpaenjzxag0xazq3wlxky `
205+ - ` scriptHash ` → ` 2d7821003f93368a1ffd1440e87b2f5da938b7b87b99c846ea1e6e88 `
206206
207207### Known preprod constants (` contract.ts ` )
208208
Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ export async function buildMintTx(
7171 // ── 1. Fetch UTxOs ────────────────────────────────────────────────────────
7272
7373 // Pool UTxO — the single UTxO locked at the script address.
74- // May not exist on the very first mint; the validator handles that case on-chain .
75- const poolUtxos : UTxO [ ] = await provider . fetchAddressUTxOs ( poolAddress ) ;
74+ // May not exist on the very first mint (Blockfrost returns 404 for unused addresses) .
75+ const poolUtxos : UTxO [ ] = await provider . fetchAddressUTxOs ( poolAddress ) . catch ( ( ) => [ ] ) ;
7676 const poolUtxo : UTxO | undefined = poolUtxos [ 0 ] ;
7777
7878 // Pyth State NFT UTxO — reference input carrying the oracle state.
You can’t perform that action at this time.
0 commit comments