question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gRPC implementation in server-node and router

See original GitHub issue

About Connext

At Connext, our goal is to build the cross-chain routing and micropayment layer of the decentralized web. Vector sits on top of Ethereum, evm-compatible L2 blockchains, and other turing-complete chains, and enables instant, near free transfers that can be routed across chains and over liquidity in any asset.

Task

The overall goal of this task is to create a gRPC-based communication layer on top of Vector server-nodes. Currently, the server nodes have an HTTP REST interface for communication. This is okay for user-node actions, but in a high-throughput microservice architecture, we need something more performant and flexible.

The Vector router is a microservice that is designed to run in a stack with a server node. The router currently interacts with the server node through HTTP requests. We would like to enable bidirectional communication between the server node and the router, which will be easily enabled through gRPC.

Requirements

  • Create gRPC server in server-node that implements the API that is defined by the endpoints here: https://github.com/connext/vector/blob/main/modules/server-node/src/index.ts
  • Create a gRPC client in router that can communicate with the server-node.
  • Create gRPC server in router which can push events back to the server-node.
  • Make sure protobuf specs have corresponding Typescript types (even better if they are automatically generated!).
  • Follow the code style of Vector repo.

Bounty

A total of $200 DAI is allocated to this bounty.

Links:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:36 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
januscommented, Dec 25, 2020

@gitcoinbot Update coming soon

0reactions
januscommented, Jan 21, 2021

Please @janus, Submit you work on gitcoin then i can proceed to pay you out for the bounty. Also let me know if ETH works for you?

@sanchaymittal I have submitted. I am okay with ETH .

Thanks … I would be hanging with you team on discord

Read more comments on GitHub >

github_iconTop Results From Across the Web

gRPC implementation in server-node and router - Gitcoin
The overall goal of this task is to create a gRPC-based communication layer on top of Vector server-node s. Currently, the server nodes...
Read more >
Basics tutorial | Node - gRPC
This tutorial provides a basic Node.js programmer's introduction to working with gRPC. By walking through this example you'll learn how to:.
Read more >
Documentation Class: Server - gRPC on GitHub
Add a service to the server, with a corresponding implementation. Parameters: Name, Type, Description. service, grpc~ServiceDefinition. The service ...
Read more >
[Solved]-grpc Trying to connect an http1.x server-node.js
[Solved]-grpc Trying to connect an http1.x server-node.js ... connect to server code: 'ECONNRESET' · Port forwarding a Node http server through Asus router....
Read more >
node-red-contrib-grpc (node)
Provides server and client side implementation of gRPC. ... It will start a gRPC server according to the server configuration (grpc-server node) and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found