go icon indicating copy to clipboard operation
go copied to clipboard

services/soroban-rpc: simulateTransaction, sendTransaction, and getTransactionStatus methods

Open paulbellamy opened this issue 3 years ago • 4 comments

Depends on https://github.com/stellar/stellar-core/issues/3484, which is merged now.

This API should follow the soroban-rpc API Docs on Confluence, so that devs can swap out API server they are using soroban-rpc/cli serve/horizon seamlessly.

Compeleting this issue requires the following to be completed :

  • [ ] https://github.com/stellar/go/issues/4593
  • [x] https://github.com/stellar/go/issues/4594
  • [x] https://github.com/stellar/go/issues/4595

paulbellamy avatar Aug 29 '22 15:08 paulbellamy

Depends on https://github.com/stellar/go/issues/4558

paulbellamy avatar Aug 29 '22 16:08 paulbellamy

@paulbellamy , can you confirm detail on expected outcome, for estimation, is this requesting a new web server to be created at new path of /exp/soroban-rpc and it will publish just the 3 soroban API endpoints mentioned?

[edit] i see, expectation here is that new skeleton web service is created in /exp/soroban-rpc via #4558 first, so effort here is plugging in new endpoints into an existing web service.

sreuland avatar Sep 01 '22 02:09 sreuland

Using the existing web service from #4558. The interesting part here is this is the first one using a DB (for tracking transactionStatus), so that will need to be added.

[EDIT] or maybe in-memory is good enough for meridian?

paulbellamy avatar Sep 01 '22 11:09 paulbellamy

Assumption: For Meridian, this is to support a single session, local service (not remotely hosted, shared instance)

jcx120 avatar Sep 01 '22 16:09 jcx120