Added scriptsDatumCbor endpoint
Following the OpenAPI documentation to include "Datum CBOR value".
Following the OpenAPI documentation to include "Datum CBOR value".
scripts,
scriptsByHash,
scriptsDatum,
scriptsDatumCbor,
scriptsRedeemers,
scriptsJson,
scriptsCbor,
*/
scriptsDatum = scriptsDatum;
/**
*
*/
scriptsDatumCbor = scriptsDatumCbor;
/**
* List of redeemers of a specific script
*
});
}
export async function scriptsDatumCbor(
this: BlockFrostAPI,
datumHash: string,
): Promise<components['schemas']['script_datum_cbor']> {
return new Promise((resolve, reject) => {
this.instance<components['schemas']['script_datum_cbor']>(
`scripts/datum/${datumHash}/cbor`,
)
.then(resp => {
resolve(resp.body);
})
.catch(err => {
reject(handleError(err));
});
});
}
export async function scriptsRedeemers(
this: BlockFrostAPI,
scriptHash: string,
},
},
},
{
command: (SDK: BlockFrostAPI) =>
SDK.scriptsDatumCbor(
'5a595ce795815e81d22a1a522cf3987d546dc5bb016de61b002edd63a5413ec4',
),
response: {
cbor: '19a6aa',
},
},
] as const;
SCP-5012 Upgrade `marlowe-apps` to use `marlowe-sync`
tracing the un-hashed bytes of the script integrity
1. Aligned `marlowe-apps` environment variables to those used for the local docker environment. 2. Move Runtime-related command-line options to `marlowe-runtime:config`. 3. Kept Chainseek-related command-line options in `marlowe-apps`, but we really need a `marlowe-chain-sync:config` package. 4. Updated documentation to match environment variables and default hosts/ports. 5. Deferred `exe:marlowe-pipe` to a subsequent PR.