user4960: I would like to use Plutus API for getting script datum (datumFromHash) but how to setup and run Plutus chain index on testnet or main net?
I saw there are methods in Plutus.ChainIndex.Types.

user1071: The easiest way is to use this tool to run everything you need: https://github.com/input-output-hk/plutus-apps/tree/main/plutus-pab-executables/pab-cli. You probably don't need the PAB or wallet backend, so for just a node and chain-index you can run e.g. pab-cli testnet remotewallet

4960: <p>I would like to use Plutus API for getting script datum (datumFromHash) but how to setup and run Plutus chain index on testnet or main net?</p>
<p>I saw there are methods in Plutus.ChainIndex.Types.</p>
 1071: <p>The easiest way is to use this tool to run everything you need: <a href="https://github.com/input-output-hk/plutus-apps/tree/main/plutus-pab-executables/pab-cli" rel="nofollow noreferrer">https://github.com/input-output-hk/plutus-apps/tree/main/plutus-pab-executables/pab-cli</a>. You probably don't need the PAB or wallet backend, so for just a node and chain-index you can run e.g. <code>pab-cli testnet remotewallet</code></p>
