vegaprotocol / frontend-monorepo

Toolkit for building apps that interact with Vega
https://vega.xyz
MIT License
25 stars 17 forks source link

Really simple example API integration examples #2222

Closed ckpringle closed 1 year ago

ckpringle commented 1 year ago

The Chore

As a market maker / trader / liquidity provider looking to implement a strategy via API I want to see examples of API integrations in use So that I can check that I've set my environment up successfully

Acceptance Criteria

There is a code sample of an API integration demonstrating how to connect to data node and read part of the APIs - get Vega time or see a list of current markets for example, and another example that sends an order for a given wallet and reads it back, in prioritised languages e.g.

Tasks

Additional details / background info

Had previously talked about other candidates... specifically including how you might stream the order book, sign and submit transactions and read the result, and submit a query to get your position

ckpringle commented 1 year ago

Do we include the wallet API tutorials in this bucket too?

dexturr commented 1 year ago

@ckpringle This doesn't seem like an FE ticket, probably should be tracked in x-func planning rather than here?

pennyandrews commented 1 year ago

I caught up with @ckpringle and I think we are hoping that one of you guys @dexturr @mattrussell36 @edd would be able to do this for us. It's not exactly a development task, but you guys are probably best placed to help pull something together for this. So we need to plan when to do it and we can work it through together

pennyandrews commented 1 year ago

Scratch that, @edd says Lewis, Tom, Charlie or Witold have been working on API stuff for market makers and LPs, more along the lines of writing libraries to make their lives easier so would be more familiar with those APIs

JonRay15 commented 1 year ago

I just dont think this is going to happen ,...... I'm closing it