Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alloy-transport-window

Alloy transport and signer implementations for browser-based Ethereum wallets via window.ethereum (EIP-1193).

This crate provides a bridge between Alloy and browser wallet extensions like MetaMask, Rabby, and Coinbase Wallet that implement the EIP-1193 standard.

Installation

Add this to your Cargo.toml:

[dependencies]
alloy-transport-window = "0.1"
alloy = { version = "1.4", default-features = false, features = ["contract", "signers", "rpc-types"] }

Since this is a WASM-only crate, you'll need to target wasm32-unknown-unknown:

rustup target add wasm32-unknown-unknown

Complete Examples

See the example/ directory for a full Dioxus web app demonstrating:

License

Licensed under either of:

at your option.

About

A transport for alloy which forwards request to a web wallet like metamask. To be used in conjunction with dioxus.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages