Skip to content

Commit

Permalink
Update snippets/react-native/getting_started.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Ross Savage <[email protected]>
  • Loading branch information
ok300 and dangeross authored Jul 6, 2024
1 parent 6f084d5 commit 2693b0a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions snippets/react-native/getting_started.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ const exampleGettingStarted = async () => {
LiquidNetwork.MAINNET
)

// Customize the config object according to your needs
config.workingDir = 'path to an existing directory'
// By default in React Native the workingDir is set to:
// `/<APPLICATION_SANDBOX_DIRECTORY>/breezLiquidSdk`
// You can change this to another writable directory or a
// subdirectory of the workingDir if managing multiple nodes.
console.log(`Working directory: ${config.workingDir}`)
// config.workingDir = "path to writable directory"

const sdk = await connect({ mnemonic, config })
// ANCHOR_END: init-sdk
Expand Down

0 comments on commit 2693b0a

Please sign in to comment.