<ol>
<li><p>The chain index provides data such as datums and utxo values.
Its data from the chain but organized in a way that's more convenient and faster to query than is possible with the node directly.
It's intended to be a 'db-sync-lite'.</p>
</li>
<li><p>You can run with <code>--verbose</code> flag. But it will dump a lot of stuff out.
You should also be able to hit <code>localhost:9083/swagger/swagger-ui</code> (provided you are using the default config).</p>
</li>
</ol>
<p>They've been numerous problems with the chain index, with many being fixed recently. I recommended taking the latest version if you aren't already.</p>

CC BY-SA 4.0
2022-04-14T09:11:02.593Z
2022-04-14T09:11:02.593Z
waalge
<p>I'm trying to set up a PAB in order to test my contracts</p>
<p>Currently I have:</p>
<ul>
<li>fully synced a <code>cardano-node</code> running on testnet</li>
<li>fully synced <code>cardano-wallet</code> tracking one wallet</li>
<li>a <code>plutus-chain-index</code> syncing at an absurd slow rate</li>
<li>a <code>pab</code> instance that displays
<pre><code>[pab:Info:1] [2022-04-11 14:07:59.27 UTC] Restoring PAB state ...
[pab:Info:1] [2022-04-11 14:07:59.27 UTC] No contract instance were restored in the 
PAB state.
[pab:Info:1] [2022-04-11 14:07:59.27 UTC] Starting PAB backend server on port 9080
</code></pre>
</li>
</ul>
<p>and connecting to that instance, for example trying</p>
<pre><code>http:localhost:9080/swagger/swagger-ui
</code></pre>
<p>does not works the first hours but it does after at least 5 hours, even if the chain-index syncing sits at 0.76% after all that time.</p>
<p>my questions are</p>
<ol>
<li>Why do we even need a <code>plutus-chain-index</code> instance running if it is ok at 0.76%</li>
<li>How can I get more information on when the PAB is ready?</li>
</ol>

CC BY-SA 4.0
2022-04-28T06:54:21.023Z
Where is the progress of chain index now? I have trouble to sync too. I opened an issue here: https://github.com/input-output-hk/plutus-apps/issues/429
Jey
<plutus><wallet><cardano-node><pab>
Why do we need the ```plutus-chain-index``` to run and why does it take so long to sync
# Why do we need the ```plutus-chain-index``` to run and why does it take so long to sync

(Asked by: username_0 on 2022-04-11)

I'm trying to set up a PAB in order to test my contracts
Currently I have:

fully synced a cardano-node running on testnet
fully synced cardano-wallet tracking one wallet
a plutus-chain-index syncing at an absurd slow rate
a pab instance that displays
[pab:Info:1] [2022-04-11 14:07:59.27 UTC] Restoring PAB state ...
[pab:Info:1] [2022-04-11 14:07:59.27 UTC] No contract instance were restored in the 
PAB state.
[pab:Info:1] [2022-04-11 14:07:59.27 UTC] Starting PAB backend server on port 9080



and connecting to that instance, for example trying
http:localhost:9080/swagger/swagger-ui

does not works the first hours but it does after at least 5 hours, even if the chain-index syncing sits at 0.76% after all that time.
my questions are

Why do we even need a plutus-chain-index instance running if it is ok at 0.76%
How can I get more information on when the PAB is ready?

**Tags:** plutus, wallet, cardano-node, pab
> **Comments:**
> **username_1**: Where is the progress of chain index now? I have trouble to sync too. I opened an issue here: https://github.com/input-output-hk/plutus-apps/issues/429  

---

## 1 answers

### Answer by username_2 on 2022-04-14. Score: 0 | Accepted answer

1. The chain index provides data such as datums and utxo values.
   Its data from the chain but organized in a way that's more convenient and faster to query than is possible with the node directly.
   It's intended to be a 'db-sync-lite'.
2. You can run with `--verbose` flag. But it will dump a lot of stuff out.
   You should also be able to hit `localhost:9083/swagger/swagger-ui` (provided you are using the default config).

They've been numerous problems with the chain index, with many being fixed recently. I recommended taking the latest version if you aren't already.


---

