user7627: I am finding an example implementation of Reference Input (CIP31) and Inline Datum (CIP32) and want to test it with the Plutus.Trace.Emulator. I see some answers like here talking about mustReferenceOutput and mustPayWithInlineDatumToPubKey. Not sure if they are them. playground.plutus.iohkdev.io is my main go-to for plutus documentation. But both are not shown in it. An example cabal project would be very helpful.
Is there one out there?

user1071: Plutus Playground is no longer maintained and that instance will soon be taken down in favour of using the Trace Emulator.
Take a look at some of the plutus-contract integration tests for examples of using each of these constraints with the Trace Emulator. https://github.com/input-output-hk/plutus-apps/tree/main/plutus-contract/test/Spec/Contract/Tx/Constraints.
Note that mustPayWithInlineDatumToPubKey is deprecated in favour of mustPayToPubKeyWithInlineDatum

7627: <p>I am finding an example implementation of Reference Input (CIP31) and Inline Datum (CIP32) and want to test it with the <code>Plutus.Trace.Emulator</code>. I see some answers <a href="https://cardano.stackexchange.com/questions/9209/inlinedatum-on-referenceoutput-in-offchain-code">like here</a> talking about <code>mustReferenceOutput</code> and <code>mustPayWithInlineDatumToPubKey</code>. Not sure if they are them. <a href="https://playground.plutus.iohkdev.io/doc/haddock/index.html" rel="nofollow noreferrer">playground.plutus.iohkdev.io</a> is my main go-to for plutus documentation. But both are not shown in it. An example cabal project would be very helpful.</p>
<p>Is there one out there?</p>
 1071: <p>Plutus Playground is no longer maintained and that instance will soon be taken down in favour of using the Trace Emulator.</p>
<p>Take a look at some of the plutus-contract integration tests for examples of using each of these constraints with the Trace Emulator. <a href="https://github.com/input-output-hk/plutus-apps/tree/main/plutus-contract/test/Spec/Contract/Tx/Constraints" rel="nofollow noreferrer">https://github.com/input-output-hk/plutus-apps/tree/main/plutus-contract/test/Spec/Contract/Tx/Constraints</a>.</p>
<p>Note that <code>mustPayWithInlineDatumToPubKey</code> is deprecated in favour of <code>mustPayToPubKeyWithInlineDatum</code></p>
