AthanorLabs / atomic-swap

💫 ETH-XMR atomic swap implementation
GNU Lesser General Public License v3.0
344 stars 44 forks source link

implement rpc method(s) for querying database #370

Closed noot closed 1 year ago

noot commented 1 year ago

There should be an easy way for the user to query items from the database, especially w.r.t swap secrets, in case the user needs to manually call the contract for whatever reason. There should be a method personal_queryDatabase that accepts a database method + offer ID (if required) that fetches data from the database.