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 Serai RPC to the Serai node #625

Open
kayabaNerve opened this issue Oct 20, 2024 · 0 comments
Open

Add Serai RPC to the Serai node #625

kayabaNerve opened this issue Oct 20, 2024 · 0 comments
Labels
feature New feature or request node

Comments

@kayabaNerve
Copy link
Member

Over the JSON-RPC, Serai nodes should offer the following calls:

  1. Get current address for network. This should be in its fully encoded form, not the raw key we derive the encoded form from.
  2. Get encoded InInstruction to perform a swap.
  3. Simulate a swap path (already defined by the DEX pallet API).

Integrations with Serai as a DEX should be possible without any Substrate-specific calls/SCALE. That's why the existing DEX pallet API call is insufficient here (we need JSON formatted results, not SCALE).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request node
Projects
None yet
Development

No branches or pull requests

1 participant