File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -1100,3 +1100,16 @@ contains the [Fact Statement minting
11001100policy](coop-docs/02-plutus-protocol.md#fs-policy) script which is the `Currency
11011101Symbol` the consuming dApps use to assert the authenticity and provenance of the
11021102referenced [Fact Statement UTxOs](coop-docs/02-plutus-protocol.md#fs-validator).
1103+
1104+ An example Consumer [validator script](coop-plutus/src/Coop/Plutus:L594-L608)
1105+ was provided to demonstrate how to authenticate [Fact Statement
1106+ UTxOs](coop-docs/02-plutus-protocol.md#fs-validator) on-chain. The script
1107+ performs a simple assertion on the
1108+ [Value](https://github.com/input-output-hk/plutus/blob/c3918d6027a9a34b6f72a6e4c7bf2e5350e6467e/plutus-ledger-api/src/PlutusLedgerApi/V1/Value.hs#L185)
1109+ a referenced UTxO to make sure it contains a
1110+ [CurrencySymbol](https://github.com/input-output-hk/plutus/blob/c3918d6027a9a34b6f72a6e4c7bf2e5350e6467e/plutus-ledger-api/src/PlutusLedgerApi/V1/Value.hs#L79)
1111+ of the [$FS](coop-docs/02-plutus-protocol.md#fs-token) tokens it trusts
1112+
1113+ The second part of the script demonstrates how to parse a [Plutus
1114+ JSON](coop-docs/05-json-plutus.md) [Fact
1115+ Statement](coop-plutus/resources/sample.json).
You can’t perform that action at this time.
0 commit comments