eth-stealth-gas-tickets

Crates.ioeth-stealth-gas-tickets
lib.rseth-stealth-gas-tickets
version
sourcesrc
created_at2025-01-01 10:49:50.117126
updated_at2025-01-06 11:34:00.140704
descriptionstealth gas tickets library for ethereum using blind RSA signatures in rust
homepagehttps://github.com/kassandraoftroy/eth-stealth-gas-tickets
repositoryhttps://github.com/kassandraoftroy/eth-stealth-gas-tickets
max_upload_size
id1500716
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`
size0
κασσάνδρα.eth (kassandraoftroy)

documentation

README

eth-stealth-gas-tickets

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

Usage

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!

Test

cargo test

to test the core functionality of library

Commit count: 9

cargo fmt