Skip to content

ElectrumX server cc rpc support requirements

dimxy edited this page Mar 12, 2020 · 1 revision

Requirements for ElectrumX server rpc support for cryptocondition applications in Komodo asset chains

ElectrumX server provides access for blockchain client applications over rpc interface.

Komodo asset chains support running Antara modules which are blockchain applications utilizing cryptocondition library. Each Antara (cryptocondition) module provides its own set of rpc methods. Each Antara module has a identifying eval code (a uint8 number).

To allow for client applications to call Antara module rpc methods, Electrum server is needed to add several new methods:

  • getrpcmethodlist [module-name] - returns a list of rpc methods supported on this chain. Returns all rpc methods returned as a call to ./komodo-cli -ac_name=MYCHAIN help or a call to ./komodo-cli -ac_name=MYCHAIN help| grep module-name (if module-name is passed) would return

  • callrpcmethod method-name params

Clone this wiki locally