| Crates.io | eth-stealth-gas-tickets |
| lib.rs | eth-stealth-gas-tickets |
| version | 0.3.0 |
| created_at | 2025-01-01 10:49:50.117126+00 |
| updated_at | 2025-01-06 11:34:00.140704+00 |
| description | stealth gas tickets library for ethereum using blind RSA signatures in rust |
| homepage | https://github.com/kassandraoftroy/eth-stealth-gas-tickets |
| repository | https://github.com/kassandraoftroy/eth-stealth-gas-tickets |
| max_upload_size | |
| id | 1500716 |
| size | 15,957 |
rust library implementing blind RSA signatures for gas tickets on ethereum to enable private gas sponsorship.
private gas sponsorship is a tool that supports robust and user-friendly stealth addresses on ethereum. see related eth-stealth-addresses lib here
let's make privacy on evm chains a reality!
NOT AUDITED - HOMEROLLED CRYPTO - USE AT YOUR OWN RISK
Add this library to your rust project with:
cargo add eth-stealth-gas-tickets
Use it:
use eth_stealth_gas_tickets::CoordinatorPubKey;
use rand::Rng;
fn main() {
let pk_hex = "0xCoordinatorPubKeyFetchedFromChain";
let pk = CoordinatorPubKey::from_hex_string(pk_hex).unwrap();
let mut rng = rand::thread_rng();
let blind_tickets = pk.new_blind_tickets(&mut rng, 5);
println!("blind tickets: {:?}", blind_tickets);
}
cli is forthcoming!
cargo test
to test the core functionality of library