Crates.io | eth-stealth-gas-tickets |
lib.rs | eth-stealth-gas-tickets |
version | |
source | src |
created_at | 2025-01-01 10:49:50.117126 |
updated_at | 2025-01-06 11:34:00.140704 |
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 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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