Skip to content

Commit

Permalink
Remove some draft code
Browse files Browse the repository at this point in the history
  • Loading branch information
yagopv committed May 9, 2024
1 parent 16b26f9 commit 8e32572
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions packages/protocol-kit/src/SafeProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,6 @@ import {
SocketTransport
} from '@safe-global/protocol-kit/types'

export function http(transportUrl: string): Provider {
return new JsonRpcProvider(transportUrl)
}

export function socket(transportUrl: string): Provider {
return new JsonRpcProvider(transportUrl)
}

export function eip1193(provider: Eip1193Provider): Provider {
return new BrowserProvider(provider)
}

export function privateKey(privateKey: string): string {
return privateKey
}

export function providerAddress(address: string): string {
return address
}

class SafeProvider {
#externalProvider: BrowserProvider | JsonRpcProvider
signer?: string
Expand Down

0 comments on commit 8e32572

Please sign in to comment.