Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.
/ web3-proxy Public archive

JSON RPC Proxy to evade cors (meant to proxy web3 requests) - note: not useful anymore as tools like anvil exist

Notifications You must be signed in to change notification settings

makevoid/web3-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web3-proxy

JSON RPC Proxy to bypass cross-origin policies (CORS - Cross-origin resource sharing - http header and browsers security measure)

Sometimes (in dev envs especially) you want to escape CORS as you don't want to or when you can't touch the server

prereqs

  • ruby
  • web3 running

config

TODO: add config doc

config: https://github.com/makevoid/web3-proxy/tree/master/config

install

bundle install

running

bundle exec rake

This will start a proxy on http://localhost:3000.

project status

the project needs to be tested and documented, but the main code is done (the code is pretty small, start from: https://github.com/makevoid/web3-proxy/blob/master/web3_proxy.rb#L3 )!


Enjoy,

@makevoid

About

JSON RPC Proxy to evade cors (meant to proxy web3 requests) - note: not useful anymore as tools like anvil exist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages