Skip to content

Commit 5264657

Browse files
committed
Update documentation
1 parent 1cce55b commit 5264657

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/getSignerAccount.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { getWalletMnemonic } from './getWalletMnemonic.ts'
77
let signerAccount: AccountInstance | undefined
88

99
/**
10-
* Retrieves the signer account derived from the provided mnemonic.
10+
* Retrieves the signer account derived from the configured mnemonic.
1111
* @returns The derived account
1212
*/
1313
export const getSignerAccount = async () => {

src/getTransportFactory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { getRpcUrl } from './getRpcUrl.ts'
77
let transportFactory: TransportFactory | undefined
88

99
/**
10-
* Retrieves a transport factory for the given RPC URL.
11-
* @returns A transport factory for the given RPC URL
10+
* Retrieves a transport factory for the configured RPC URL.
11+
* @returns A transport factory for the configured RPC URL
1212
*/
1313
export const getTransportFactory = () => {
1414
// If existing transport factory, return it

src/getWalletMnemonic.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ config({ quiet: true })
88
const mnemonic = process.env.XYO_WALLET_MNEMONIC ?? HDWallet.generateMnemonic()
99

1010
/**
11-
* Gets the mnemonic to use for the signer
12-
* @returns The mnemonic to use for the signer
11+
* Gets the mnemonic to use for the wallet
12+
* @returns The mnemonic to use for the wallet
1313
*/
1414
export const getWalletMnemonic = (): string => mnemonic

0 commit comments

Comments
 (0)