RafaelAPB / blockchain-integration-framework

A new approach to the blockchain interoperability problem
Apache License 2.0
6 stars 3 forks source link

Implement Integration API for Gateways #61

Open AndreAugusto11 opened 8 months ago

AndreAugusto11 commented 8 months ago

Tasks: 1 - Define and Implement the specific endpoints that users will have access to. 2 - define openapi for application layer 3 - create SDK, including the event listners 4 - change satp helpers to get input from event listeners

AndreAugusto11 commented 7 months ago

https://finp2p.atlassian.net/wiki/spaces/FINP2P/

AndreAugusto11 commented 7 months ago

Client Facing Endpoints

The gateway will store logs with the information of each request, signed by the client app, for accountability. We also need some kind of mechanism to protect the gateway from replay attacks (like a nonce).

/route

Request the gateway a route available to transfer an asset from network from to network to

Input:

Output:

/transact

Request the gateway to transfer an asset asset ID owned on network from to network to.

Input:

Relevant Discussion:

Output:

/status

Request the gateway for the status of an open SATP session.

Input:

Output:

/cancel

Input:

Output:

TBD

Define request(s) for the interaction with the adapter layer...