Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions src/utils/getWeb3Provider.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
import { getSignerFromPrivateKey } from 'iexec/utils';
import { Web3SignerProvider } from '../web3mail/types.js';

/**
* Build an ethers signer for Node.js from a private key and an explicit chain.
*
* `host` must be provided (chain id or iExec chain host string). There is no default
* chain: omitting it used to fall back to Arbitrum Sepolia and could migrate users
* silently when defaults change.
*
* @see https://github.com/iExecBlockchainComputing/dataprotector-sdk/blob/dataprotector-v2.0.0-beta.27/packages/sdk/src/utils/getWeb3Provider.ts
*/
export const getWeb3Provider = (
privateKey: string,
host: number | string,
Expand Down
Loading