Skip to content

Walkthrough and starter applications to demonstrate Vega Protocol decentralized derivatives platform with GraphQL.

License

Notifications You must be signed in to change notification settings

ben-razor/vega-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vega Guide

This repository explores Vega Protocol as part of the Gitcoin GR11 Hackathon.

Vega Protocol is a decentralized platform for trading derivatives.

This project creates applications and associated documentation to guide a new user in using the Vega Protocol with GraphQL. The submission includes:

About This Document

This document is the how and why for creating the guides. The documentation for the guides themselves can be found in the Vega GraphQL Guides.

Requirements

Detailed requirements are given in the Gitcoin Bounty. Important requirements used in this application are summarised here:

  • Design and create a great showcase or walk-through application
  • Bonus points for a set of supporting markdown files that describe how the application works, primarily the queries made to Vega
  • The GraphQL playground should be referenced and described in the guides
  • Code examples should link directly to an appropriate section in the reference docs (https://docs.testnet.vega.xyz/api/graphql/)

Essential Vega features to implement:

  • Listing markets and market data (including market status)
  • Streaming of orders and trades
  • Party (trader) information for a given public key, including account balances and positions.
  • Prepare and place an order on a market
  • Streaming of events
  • Governance proposals

Signing Transactions

Reads against the Vega apis do not require authentication. Writes / Updates must be signed using the Vega Wallet.

There is an official guide for setting up a Vega Wallet.

Vega Documentation

These guides extend the official Vega Documentation. Key to this is the API Documentation which provides how to guides focussing on gRPC and Rest APIs.

Vega Fairground

At the time of the hackathon, the network is running on testnet and there is a web based playground app.

Vega GraphQL

A handy tool for exploring the GraphQL API is the Vega GraphQL Playground

GR11 Hackathon

The GraphQL guides are created for the GraphQL Reference Applications bounties of the GR11 Hackathon

About

Walkthrough and starter applications to demonstrate Vega Protocol decentralized derivatives platform with GraphQL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published