Closed a-straus closed 1 year ago
what is mean about the event_source? and it is not any port open after start with --start-http-api
@LakshmiLavanyaKasturi Were you able to address these feedbacks in the latest version of the documentation?
Addressed in the latest version of the documentation!
Will be updating this as I go:
chainhook config new --testnet
generates the following config for mainnet named Chainhook.toml, not Testnet.toml:[chainhooks] max_stacks_registrations = 500 max_bitcoin_registrations = 500
[network] mode = "mainnet" bitcoind_rpc_url = "http://localhost:8332" bitcoind_rpc_username = "devnet" bitcoind_rpc_password = "devnet" stacks_node_rpc_url = "http://localhost:20443"
[[event_source]] tsv_file_url = "https://archive.hiro.so/mainnet/stacks-blockchain-api/mainnet-stacks-blockchain-api-latest.gz"
{ "chain": "bitcoin", "uuid": "3020128f-7fe5-43e8-8160-0722beb143da", "name": "Hello world", "version": 1, "networks": { "mainnet": { "start_block": 0, "end_block": 100, "if_this": { "scope": "ordinals_protocol", "operation": "inscription_feed" }, "then_that": { "file_append": { "path": "ordinals.txt" } } } } }
{ "chain": "bitcoin", "uuid": "602975ef-b1ed-49c7-8ab8-a0633a57a133", "name": "Hello world", "version": 1, "networks": { "testnet": { "start_block": 2413343, "end_block": 2453343 "if_this": { "scope": "ordinals_protocol", "operation": "inscription_feed" }, "then_that": { "file_append": { "path": "ordinals.txt" } } } } }
[storage] driver = "memory"
[chainhooks] max_stacks_registrations = 500 max_bitcoin_registrations = 500
[network] mode = "testnet" bitcoind_rpc_url = "http://0.0.0.0:18332" bitcoind_rpc_username = "testnet" bitcoind_rpc_password = "testnet" stacks_node_rpc_url = "http://0.0.0.0:20443"