oasisprotocol / sapphire-paratime

The Sapphire ParaTime monorepo.
https://oasisprotocol.org/sapphire
Apache License 2.0
34 stars 24 forks source link

Test `provider.getSigner` is wrapped with `sapphire-ethers-v6` in MetaMask #324

Open CedarMist opened 1 month ago

CedarMist commented 1 month ago

Using the getSigner method of a wrapped provider, need to verify that the signer will encrypt transactions, view calls and gas estimates.

e.g.

const p = wrapEthereumProvider(window.ethereum);
const s = p.getSigner();
// TODO: test tx submission, view calls & gas estimates are encrypted