File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { getWalletMnemonic } from './getWalletMnemonic.ts'
77let 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 */
1313export const getSignerAccount = async ( ) => {
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ import { getRpcUrl } from './getRpcUrl.ts'
77let 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 */
1313export const getTransportFactory = ( ) => {
1414 // If existing transport factory, return it
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ config({ quiet: true })
88const 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 */
1414export const getWalletMnemonic = ( ) : string => mnemonic
You can’t perform that action at this time.
0 commit comments