Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add transaction subscriptions #13

Open
rupurt opened this issue Mar 17, 2021 · 0 comments
Open

Add transaction subscriptions #13

rupurt opened this issue Mar 17, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@rupurt
Copy link
Contributor

rupurt commented Mar 17, 2021

Given a slurp configuration
When configure transaction subscriptions
Then it should be able to provide a list of contract addresses and a handler

config :slurp,
  transaction_subscriptions: %{
    "*" => [
      %{
        enabled: false,
        address: ["0x26CdfbAeD9F97ecBdc76cA5cC544f052Bd9Ac795", "0xFc979087305A826c2B2a0056cFAbA50aad3E6439"],
        handler: {Examples.NewTransactionHandler, :handle_new_transaction, []}
      }
    ]
  }
@rupurt rupurt added the enhancement New feature or request label Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant