A Provider (read-only) or ethers.Signer to use with the contract.
The typed contract instance for interacting with the precompile contract.
import { getConfidentialTransfersPrecompileEthersV6Contract } from '@sei-js/evm/ethers';
import { ethers } from 'ethers';
const provider = new ethers.BrowserProvider(window.ethereum); // or any other provider
const signer = await provider.getSigner();
const accounts = await provider.send('eth_requestAccounts', []);
const confidentialTransfersPrecompileContract = getConfidentialTransfersPrecompileEthersV6Contract(signer);
const seiAddr = await confidentialTransfersPrecompileContract.initializeAccount(props);
Creates and returns a typed Ethers v6 contract instance for the Confidential Transfers precompile contract. This contract is used for interacting with the Confidential Transfers module while using the EVM.