Skip to content

Conversation

@rob-looksrare
Copy link

@rob-looksrare rob-looksrare commented Apr 25, 2024

Run command

run --package ord --bin ord -- --bitcoin-rpc-url "http://localhost:18332" --bitcoin-rpc-username user --bitcoin-rpc-password password --rabbitmq-url localhost --rabbitmq-password s3cr3t --rabbitmq-username indexer --rabbitmq-exchange ord-tx --chain testnet --data-dir ./index-data event-server --http-port 8080

rmq config

{
  "queues": [
    {
      "name": "ord-q",
      "vhost": "/",
      "durable": true,
      "auto_delete": false,
      "arguments": {}
    }
  ],
  "exchanges": [
    {
      "name": "ord-tx",
      "vhost": "/",
      "type": "topic",
      "durable": true,
      "auto_delete": false,
      "internal": false,
      "arguments": {}
    }
  ],
  "bindings": [
    {
      "source": "ord-tx",
      "vhost": "/",
      "destination": "ord-q",
      "destination_type": "queue",
      "routing_key": "",
      "arguments": {}
    }
  ]
}

example payload in rmq

{"InscriptionCreated":{"block_height":2530024,"charms":0,"inscription_id":"efb59cadd9cf201577cb797004d1a6bd0b2d60f5f513791c43925bb236fc64fei0","location":"efb59cadd9cf201577cb797004d1a6bd0b2d60f5f513791c43925bb236fc64fe:0:0","parent_inscription_ids":[],"sequence_number":314886}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants