Comments (2)
I believe that you can sapphire.wrap(window.ethereum)
before wagmi loads and that will generally work.
I have a PR that adds explicit Viem support, but you could also sapphire.wrap
your Viem instance because it supports the one EIP about request
.
from sapphire-paratime.
sapphire.wrap(window.ethereum)
This won't work for Wallet Connect and others.
Viem instance
You mean Public Client or Wallet Client?
I would also note, that in reality it's more crucial to have wrapper around wagmi:Connector's methods getProvider and getWalletClient because many connectors provide custom ones.
from sapphire-paratime.
Related Issues (20)
- Fix hardhat integration publish
- Highlight VRF in documentation HOT 1
- Tutorial on how to encrypt events
- Deterministic deployment proxy HOT 1
- Ensure support for Tenderly HOT 2
- Update React tutorial
- Deploy CreateX on Oasis Sapphire
- Publish packages on https://jsr.io/new
- Add sourcify support to Hardhat verify HOT 1
- Wrong gas estimates for sending ether during contract create
- Why is this function returns a `bind.ContractBackend` instead of `WrappedBackend`? Transactor is not available this way. HOT 2
- Feature: EIP1559Signer library
- `_parseCBORUint` failing in `_decodeReceiptUndelegateStart` HOT 3
- Test `provider.getSigner` is wrapped with `sapphire-ethers-v6` in MetaMask
- sapphire-contracts: Add SIWE parser
- ci: Add e2e tests for Sapphire Go client using sapphire-localnet
- docs: Better document the usage/behavior of `contextOrHash` for .sign() and .verify()
- go-client: Properly implement WrappedBackend
- sapphire-contracts: Flaky Gas padding test HOT 1
- docs: Add SIWE login for authentication to Guide/Quickstart
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sapphire-paratime.