Skip to content

A simple proxy on top of your private RPC to block any interaction with fraudulent accounts.

Notifications You must be signed in to change notification settings

hsouf/shield_rpc_rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHIELD RPC

A simple proxy on top of your RPC node to block any interaction with fraudulent contracts/wallets before they are forwarded to your original RPC.

How does it work?

It's easy! Just add your preferred RPC URL as a query parameter, kickstart your server, and you're good to go. Any transactions that is sending or calling a flagged suspicious address will be immediately blocked. Right now for the POC I'm using the alert list genereously put together here by Certik, AegisWeb3, Peckshield, Blocksec...

Example:

http://localhost:3030/shield?rpc=https://rpc-goerli.flashbots.net/hint=hash

shield_rpc drawio

Running locally

Build the Rust Project:

Cargo build

Run project

cargo run

Upcoming

  • Address poisoning scams protection (block any interaction with a vanity address that looks like yours)
  • Add a wait time for txs before they get forwarded in case you changed your mind at the last minute (just like emails but better)
  • Real-time update of the alert list

About

A simple proxy on top of your private RPC to block any interaction with fraudulent accounts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages