Skip to content

Commit

Permalink
add enableKey documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushBherwani1998 committed Apr 9, 2024
1 parent 760d277 commit 4576991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ dependencies: [
```

## Getting Started
Initialize the `TorusUtils` class by passing `TorusNetwork`, and your `clientId`. The package supports both legacy and sapphire networks.
Initialize the `TorusUtils` class by passing `TorusNetwork`, `enableKey`, and your `clientId`. `enableKey` if true, adds the nonce value to the key, to make it compaitible with v2 users. The package supports both legacy and sapphire networks.

```swift
let torus = TorusUtils(
enableOneKey: enableOneKey,
enableOneKey: true,
network: .sapphire(.SAPPHIRE_DEVNET),
clientId: "YOUR_CLIENT_ID"
)
Expand Down

0 comments on commit 4576991

Please sign in to comment.