Advertisement
iron-from-sf

config-toml

Feb 25th, 2025
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. bind_addr = "0.0.0.0:27000"
  2. block_provider_is_trusted = false
  3. consensus_client_cert_path = "configs/client_supra_certificate.pem"
  4. consensus_client_private_key_path = "configs/client_supra_key.pem"
  5. consensus_root_ca_cert_path = "configs/ca_certificate.pem"
  6. consensus_rpc = "ws://65.108.226.166:26000"
  7. resume = true
  8. supra_committees_config = "configs/supra_committees.json"
  9. sync_retry_interval_in_secs = 5
  10.  
  11. [chain_instance]
  12. chain_id = 6
  13. epoch_duration_secs = 7200
  14. recurring_lockup_duration_secs = 14400
  15. voting_duration_secs = 7200
  16. is_testnet = true
  17. genesis_timestamp_microseconds = 1726574400000000
  18.  
  19.  
  20. [database_setup.dbs.archive.rocks_db]
  21. path = "configs/rpc_archive"
  22. enable_snapshots = true
  23.  
  24. [database_setup.dbs.ledger.rocks_db]
  25. path = "configs/rpc_ledger"
  26.  
  27. [database_setup.dbs.chain_store.rocks_db]
  28. path = "configs/rpc_store"
  29. enable_snapshots = true
  30.  
  31. [database_setup.snapshot_config]
  32. depth = 2
  33. interval_in_seconds = 1800
  34. path = "configs/snapshot"
  35. retry_count = 3
  36. retry_interval_in_seconds = 5
  37.  
  38. [[allowed_origin]]
  39. url = "https://rpc-testnet.supra.com"
  40. description = "RPC For Supra Scan and Faucet"
  41.  
  42. [[allowed_origin]]
  43. url = "https://rpc-testnet1.supra.com"
  44. description = "RPC For nodeops group1"
  45.  
  46. [[allowed_origin]]
  47. url = "https://rpc-testnet2.supra.com"
  48. description = "RPC For nodeops group2"
  49.  
  50. [[allowed_origin]]
  51. url = "https://rpc-testnet3.supra.com"
  52. description = "RPC For nodeops group3"
  53.  
  54. [[allowed_origin]]
  55. url = "https://rpc-testnet4.supra.com"
  56. description = "RPC For nodeops group4"
  57.  
  58. [[allowed_origin]]
  59. url = "https://rpc-testnet5.supra.com"
  60. description = "RPC For nodeops group5"
  61.  
  62. [[allowed_origin]]
  63. url = "http://localhost:27000"
  64. description = "LocalNet"
  65. mode = "Server"
  66.  
  67. [[allowed_origin]]
  68. url = "https://www.starkey.app"
  69. description = "Starkey domain"
  70. mode = "Cors"
  71.  
  72. [[allowed_origin]]
  73. url = "chrome-extension://fcpbddmagekkklbcgnjclepnkddbnenp"
  74. description = "Starkey wallet extension"
  75. mode = "Cors"
  76.  
  77. [[allowed_origin]]
  78. url = "chrome-extension://hcjhpkgbmechpabifbggldplacolbkoh"
  79. description = "Starkey wallet extension"
  80. mode = "Cors"
  81.  
  82. [[allowed_origin]]
  83. url = "https://supra.com"
  84. description = "Supra domain"
  85. mode = "Cors"
  86.  
  87. [[allowed_origin]]
  88. url = "https://qa-spa.supra.com"
  89. description = "QA Supra domain"
  90. mode = "Cors"
  91.  
  92. [[allowed_origin]]
  93. url = "https://qa-api.services.supra.com"
  94. description = "QA API Supra domain"
  95. mode = "Cors"
  96.  
  97. [[allowed_origin]]
  98. url = "https://prod-api.services.supra.com"
  99. description = "Prod API Supra domain"
  100. mode = "Cors"
  101.  
  102. [[allowed_origin]]
  103. url = "http://localhost:3000"
  104. description = "Localhost"
  105. mode = "Cors"
  106.  
  107. [[allowed_origin]]
  108. url = "http://localhost:8080"
  109. description = "Localhost"
  110. mode = "Cors"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement