Persistence Docs
K

State Sync

State Sync

To aid with node syncing, the following State Sync endpoints are provided.

ProviderMainnet (core-1)Testnet (test-core-2)Testnet (test-core-1)
Cosmonaut Stakeshttps://persistence-mainnet-rpc.cosmonautstakes.com:443 https://persistence-testnet-rpc.cosmonautstakes.com/https://persistence-testnet-rpc.cosmonautstakes.com:443
Persistencehttps://rpc.core.persistence.one:443https://rpc.testnet.persistence.one:443
Polkachuhttps://persistence-rpc.polkachu.com:443https://persistence-testnet-rpc.polkachu.com:443
YTWOFUNDhttps://github.com/YTWOFUND/PersistenceCore-service/blob/main/PersistenceCoreTestnet/README.md
Baryonhttps://persistence-testnet-api.baryon.dev/

To use State Sync change the following under config.toml. Choose at least 2 providers for the rpc_servers parameters from the table above.

[statesync] enable = true rpc_servers = "https://rpc.core.persistence.one:443,https://persistence-mainnet-rpc.cosmonautstakes.com:443" trust_height = 0 trust_hash = "" trust_period = "112h0m0s"

Replace trust_height and trust_hash with the output of the following command. Depending if you're syncing a mainnet or testnet node, you might also want to replace the RPC endpoint.

curl -s https://rpc.core.persistence.one/status | jq '.result .sync_info | {trust_height: .latest_block_height, trust_hash: .latest_block_hash} | values'

Next

Overview