Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add eth_ operations to the Lotus Gateway #1214

Closed
mur-me opened this issue Dec 7, 2022 · 1 comment
Closed

Add eth_ operations to the Lotus Gateway #1214

mur-me opened this issue Dec 7, 2022 · 1 comment

Comments

@mur-me
Copy link

mur-me commented Dec 7, 2022

Hello devs,

Glif nodes provider is here.
Right now we have a doubt how to give users access to the wss endpoint. The main pain is eth_subscribe operation - it is require write permissions.
For now we have 2 models of access to the wss:

  1. Lotus Gateway, but it is limited only for Filecoin operations
  2. Access with JWT token with read, write permissions - but this isn't weapon of choice - write permissions are too wide.

I believe the easiest way will be to add eth operations to the Lotus Gateway.

The place where the Lotus Gateway code is placed: https://github.com/filecoin-project/lotus/blob/release/fevm-wallaby/api/api_gateway.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants