From: Ardis Lu Date: Thu, 15 Feb 2024 06:51:34 +0000 (-0800) Subject: Note new EIP-6963 integration X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=84cf8b925da2d01e3cc0749f7ab5c9353cd7de8e;p=alu.bz Note new EIP-6963 integration --- diff --git a/index.html b/index.html index e0be2de..10c1cb6 100644 --- a/index.html +++ b/index.html @@ -83,8 +83,10 @@

How does it work?

Many web3 projects use a frontend framework like ethers.js or web3.js to integrate with Ethereum.

To demonstrate the minimum required code, this project's frontend is implemented entirely in vanilla HTML, CSS, and JavaScript with no framework. - The only integration is with the standard Ethereum Provider JavaScript API (EIP-1193) used by all common wallets - (e.g., MetaMask and Coinbase Wallet) to get user signatures for authorization.

+ The only integrations are with the standard Ethereum Provider JavaScript API (EIP-1193) used by all common wallets + (e.g., MetaMask and Coinbase Wallet) to get user signatures for authorization, and + with EIP-6963 ("Multi Injected Provider Discovery") to support multiple wallets installed simultaneously. +

The backend is a serverless Cloudflare Worker, also written in vanilla JavaScript. The code to verify signatures on the backend uses Paul Miller's noble-crypto project.

Source code

Click here to view this project's source code on GitHub.