Install the application using docker. This will name the docker container the same as the hostname of the Ubuntu server. If you wish to change that, replace the $(hostname) parameter with a name of your choice.
You may want to only run an RPC Node instead. That is, a reachable node, that connects to the network and that can be used from other apps, but that doesn't produce any blocks. If you need this, you can run the following command instead of the one above.
After you have run this, you can continue with the next verification steps, taking into account that your node will not produce blocks if you executed the command above.
Verify your installation
Run docker ps command to verify if the collator is running properly. You should see the following output:
# docker psCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3212d72e1291 pendulumchain/pendulum-collator:v0.9.42 "tini -- /usr/local/…" 10 minutes ago Up 10 minutes 0.0.0.0:8844->8844/tcp, :::8844->8844/tcp, 0.0.0.0:9935->9935/tcp, :::9935->9935/tcp, 0.0.0.0:30334-30335->30334-30335/tcp, :::30334-30335->30334-30335/tcp, 9945/tcp yourhostname
The /data directory should start to get populated with data and should have a structure similar to:
Now your collator will start syncing both the Relaychain(Kusama/Polkadot) and the Parachain (Amplitude/Pendulum). Relaychain syncing may take several days to complete due to the size of the Relaychain database, this is normal and expected. You can follow the progress in the log files using the docker logs -f $(hostname) command.
When the node is syncing, you can see the block it is trying to sync up to. The “best” section will tell you what block the sync actually is at, and the “target” where it needs to get to.
How to speed up the chain syncing process?
As we previously pointed out, syncing the Kusama/Polkadot chain could take many days. Luckily enough, there is a solution for that provided by Polkashots. Follow the procedure in one of the following links to try and speed up your sync procedure:
💡 Polkashots is a 3rd party service provider and in no way affiliated with Pendulum/Amplitude