Ethereum Smart Contract Listener

Description

The Ethereum Smart Contract allows users to listen for an event fired by an Ethereum Smart Contract.

Limitations

None at this time

Release Notes
Version: 1.03
Released: 04-March-2019
Release Notes: Updated help URL
Version Released Release Notes
1.02 05-Feb-2019 Fixed integer type conversion errors
1.01 4-Feb-2019
  • Enlarged icon
  • Improved the parsing of .abi files
  • Improved handling of known but untranslatable types (bytes, int/uint larger than 64 bytes)
  • Events with such parameters are available but do not output them
Configuration

To add the Ethereum Smart Contract Listener to a stream, follow the steps below:

  1. Ensure you have a use case open in the stream designer, this can be a new use case or an existing use case
  2. From the toolbox on the left expand the Listener option and scroll down until you can see “Ethereum Smart Contract Listener”
    • You can also use the search in the header to find the stream object quickly
  3. Click and drag the Ethereum Smart Contract Listener from the toolbox onto the canvas
  4. Rename the Listener by clicking into the text button on the action bar
  5. Save the Stream by clicking the save button in the action bar
  6. Hover over the icon for the stream object until it turns orange and then double click to open the configuration page
    • You can optionally use the configure option on the action bar once you have selected the specific stream object and then clicking this option
  7. Configuration options
    • The drop down allows you to associate this stream object with a specific collection. The default option is derived from the default specified against the specific use case and is generated left as the same option. If you do need to change it to another collection make the change by selecting the new collection in the drop down.
    • Enter a value for the Polling Interval (the interval at which new records are accessed/checked for, in seconds)
  8. Contract Connection details
    • Enter the Ethereum URL
    • Enter the Contract Address
    • Enter the Access Account Private Key
    • Attach Abi File by clicking “Select File” or drop file
  9. Enter Event Details
    • Select Event Name from drop down list.
  10. Click Apply on the action bar, and then save the stream using the save button.

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X