Closed dtfiedler closed 10 months ago
This allows those evaluating contract state using warp to use this service to bootstrap state from our cache
Example:
const contractTxId = 'bLAgYxAdX2Ry-nt6aH2ixgvJXbpsEYm28NgJgyqfs-U'; // get contract manifest const { evaluationOptions = {} } = await getContractManifest({ contractTxId, }); // Read the ArNS Registry Contract const contract = await warp .contract(contractTxId) .setEvaluationOptions(evaluationOptions) .syncState(`http://localhost:3000/v1/contract/${contractTxId}`);
This allows those evaluating contract state using warp to use this service to bootstrap state from our cache
Example: