77} from "./wallets/BaseWallet"
88import { CoinbaseSpecificActionType , CoinbaseWallet } from "./wallets/Coinbase"
99import { MetaMask , MetaMaskSpecificActionType } from "./wallets/MetaMask"
10- import { PhantomSpecificActionType , PhantomWallet } from "./wallets/Phantom"
10+ import { PhantomWallet } from "./wallets/Phantom"
1111/**
1212 * Configuration builder for E2E testing with different wallet types.
1313 * Provides a fluent interface for configuring wallet behavior and setup.
@@ -127,7 +127,11 @@ abstract class BaseWalletBuilder<T extends WalletType> {
127127 seedPhrase,
128128 password,
129129 username,
130- } : { seedPhrase : string ; password ?: string ; username ?: string } ) {
130+ } : {
131+ seedPhrase : string
132+ password ?: string
133+ username ?: string
134+ } ) {
131135 this . config . password = password
132136 this . chainSetup ( async wallet => {
133137 await wallet . handleAction ( BaseActionType . IMPORT_WALLET_FROM_SEED , {
@@ -151,7 +155,12 @@ abstract class BaseWalletBuilder<T extends WalletType> {
151155 password,
152156 chain,
153157 name,
154- } : { privateKey : string ; password ?: string ; chain ?: string ; name ?: string } ) {
158+ } : {
159+ privateKey : string
160+ password ?: string
161+ chain ?: string
162+ name ?: string
163+ } ) {
155164 this . config . password = password
156165 this . chainSetup ( async wallet => {
157166 await wallet . handleAction ( BaseActionType . IMPORT_WALLET_FROM_PRIVATE_KEY , {
@@ -256,7 +265,7 @@ class CoinbaseConfigBuilder extends BaseWalletBuilder<CoinbaseWallet> {
256265class PhantomConfigBuilder extends BaseWalletBuilder < PhantomWallet > {
257266 // Add Phantom-specific methods here
258267 withNetwork ( network : NetworkConfig ) {
259- this . chainSetup ( async ( wallet , context ) => {
268+ this . chainSetup ( async ( _wallet , context ) => {
260269 if ( context ?. localNodePort ) {
261270 // if the context has a localNodePort, use it to connect to the local node
262271 network . rpcUrl = `http://localhost:${ context . localNodePort } `
0 commit comments