https://github.com/makevoid/web3-proxy
JSON RPC Proxy to evade cors (meant to proxy web3 requests)
https://github.com/makevoid/web3-proxy
Last synced: 11 months ago
JSON representation
JSON RPC Proxy to evade cors (meant to proxy web3 requests)
- Host: GitHub
- URL: https://github.com/makevoid/web3-proxy
- Owner: makevoid
- Created: 2019-07-09T06:38:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-30T23:24:30.000Z (almost 4 years ago)
- Last Synced: 2025-03-05T13:48:31.889Z (11 months ago)
- Language: Ruby
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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